1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

Bug/Issue Game save not loading after Lights went out.

Discussion in 'Mac / Linux Bug Reports' started by epicitous1, Sep 19, 2017.

  1. epicitous1

    epicitous1 Space Hobo

    So I was playing stardew when the lights went out, abruptly shutting off my computer. when I restarted the game, I had no save file. Turns out my save game and saved game info files were totally wiped out from the power outage. (why that happened, i have no clue.) Thankfully my old game saves were totally intact, so I switched them out, and my load game reappeared in the load game section. but when I go to load it my game is instantly crashes.

    Here is my error log:

    --------------------------------------------------------------------------------------------------------------------
    Message: The type initializer for 'StardewValley.SaveGame' threw an exception.
    InnerException: System.SystemException: Error running mcs: Out of memory
    at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) <0x4126a220 + 0x0054f> in <filename unknown>:0
    at Mono.CSharp.CSharpCodeCompiler.CompileFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) <0x41269000 + 0x001cf> in <filename unknown>:0
    at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) <0x4108eda0 + 0x00033> in <filename unknown>:0
    at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource (System.CodeDom.Compiler.CompilerParameters options, System.String[] sources) <0x41248e60 + 0x00049> in <filename unknown>:0
    at System.Xml.Serialization.Compiler.Compile (System.Reflection.Assembly parent, System.String ns, System.Xml.Serialization.XmlSerializerCompilerParameters xmlParameters, System.Security.Policy.Evidence evidence) <0x41267b10 + 0x004aa> in <filename unknown>:0
    at System.Xml.Serialization.TempAssembly.GenerateAssembly (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.Security.Policy.Evidence evidence, System.Xml.Serialization.XmlSerializerCompilerParameters parameters, System.Reflection.Assembly assembly, System.Collections.Hashtable assemblies) <0x4124d850 + 0x00fbb> in <filename unknown>:0
    at System.Xml.Serialization.TempAssembly..ctor (System.Xml.Serialization.XmlMapping[] xmlMappings, System.Type[] types, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) <0x41035ec0 + 0x00233> in <filename unknown>:0
    at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly (System.Xml.Serialization.XmlMapping xmlMapping, System.Type type, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) <0x41243b20 + 0x000a7> in <filename unknown>:0
    at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace, System.String location, System.Security.Policy.Evidence evidence) <0x4123c8d0 + 0x0024f> in <filename unknown>:0
    at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[] extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace, System.String location) <0x4123c870 + 0x0004f> in <filename unknown>:0
    at System.Xml.Serialization.XmlSerializer..ctor (System.Type type, System.Type[] extraTypes) <0x4123c820 + 0x00037> in <filename unknown>:0
    at StardewValley.SaveGame..cctor () <0x4123bd80 + 0x00a77> in <filename unknown>:0
    Stack Trace: at StardewValley.Menus.SaveGameMenu.update (Microsoft.Xna.Framework.GameTime time) <0x4123ba60 + 0x001f3> in <filename unknown>:0
    at StardewValley.Game1.updateActiveMenu (Microsoft.Xna.Framework.GameTime gameTime) <0x410a4300 + 0x00bc9> in <filename unknown>:0
    at StardewValley.Game1.Update (Microsoft.Xna.Framework.GameTime gameTime) <0x4109f000 + 0x0267f> in <filename unknown>:0
    at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) <0x4109c580 + 0x00043> in <filename unknown>:0
    at Microsoft.Xna.Framework.Game.Tick () <0x4109bff0 + 0x00343> in <filename unknown>:0
    at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () <0x41099650 + 0x0003f> in <filename unknown>:0
    at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior) <0x40f2cf60 + 0x001d0> in <filename unknown>:0
    at Microsoft.Xna.Framework.Game.Run () <0x40f2cf00 + 0x00027> in <filename unknown>:0
    at StardewValley.Program.Main (System.String[] args) <0x40eeff20 + 0x000ab> in <filename unknown>:0

    ----------------------------------------------------------------------------------------------------------------------

    It says there is a memory error. Over GUI, my disk says it has 200+ gigs free , but here is another memory test i ran:
    "grep -E 'Mem|Cache|Swap' /proc/meminfo"

    MemTotal: 3927912 kB
    MemFree: 696472 kB
    Cached: 1408920 kB
    SwapCached: 0 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB

    and:

    free -h
    total used free shared buffers cached
    Mem: 3.7G 3.1G 647M 364M 29M 1.3G
    -/+ buffers/cache: 1.7G 2.0G
    Swap: 0B 0B 0B

    Im confused why the game is having memory issues. my lack of linux experience also confuses my why these tests return different sizes of memory. any pointers on why this is happening and how to fix would be HUGELY appreciated. pappa needs his farm fix. Thanks!
     

    Share This Page