Crash when loading certain saves

Summary:
When i start the game, and i’m in the menu, everything seems to work fine, but when i click “Continue” or try to load my newest saved game, the game will crash after the blue loading bar is partially done, and a small box pops up saying: “Assertion Failed: id(C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\dm\store.cpp:41)” and it only give me the option to press “OK” which will also shut down the game.

Stonehearth.log:
2016-10-05 18:15:31.963640 | server | 1 | app | Stonehearth Version 0.18.0.663 (x64)
2016-10-05 18:15:31.979267 | server | 1 | core.config | user id is b6578ba6-111c-11e6-ac82-0000779a3040
2016-10-05 18:15:31.979267 | server | 1 | core.config | session id is f05e5db2-8b16-11e6-b829-14dda9518a88
2016-10-05 18:15:31.979267 | server | 0 | core.system | Initializing crash reporter
2016-10-05 18:15:32.496263 | server | 0 | lua.data | lua jit is disabled
2016-10-05 18:15:32.504965 | server | 1 | resources | Module rayyas_children_ui version 3 is deferred load)
2016-10-05 18:15:34.121200 | server | 1 | resources | Modules are verified pristine.
2016-10-05 18:15:34.143336 | server | 1 | app | Running Stonehearth server on port 44308
2016-10-05 18:15:34.143336 | client | 1 | renderer.renderer | Initializing OpenGL
2016-10-05 18:15:34.143336 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2016-10-05 18:15:34.158964 | client | 1 | renderer.renderer | Determining window placement
2016-10-05 18:15:34.158964 | client | 1 | renderer.renderer | Selecting fullscreen monitor at 16, 62
2016-10-05 18:15:34.158964 | client | 1 | renderer.renderer | Creating OpenGL Window
2016-10-05 18:15:34.158964 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-10-05 18:15:34.174590 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | lua shared heap size: 8.094 MB.
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | o: outstanding allocs
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | 64 bytes (o: 13122) : ########################################
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | 40 bytes (o: 9830) : #############################
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | 48 bytes (o: 5560) : ################
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | 72 bytes (o: 3036) : #########
2016-10-05 18:15:34.274858 | server | 1 | lua.memory | … remaining allocs are each < 5% of the count
2016-10-05 18:15:35.536732 | client | 1 | renderer.renderer | Creating OpenGL Context
2016-10-05 18:15:35.537232 | client | 1 | renderer.renderer | Finished OpenGL Initialization
2016-10-05 18:15:35.537232 | client | 1 | horde.general | Initializing GL2 backend using OpenGL driver ‘4.5.0 NVIDIA 372.90’ by ‘NVIDIA Corporation’ on 'GeForce GTX 960/PCIe/SSE2’
2016-10-05 18:15:35.601735 | client | 1 | browser | cef started.
2016-10-05 18:15:35.601735 | client | 2 | browser | Navigate called without an existing browser!
2016-10-05 18:15:35.601735 | thread2120 | 2 | browser | Doing a buffered navigation…
2016-10-05 18:15:35.647003 | client | 0 | physics.navgrid | subspace pathfinder is enabled
2016-10-05 18:15:35.662633 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:35.662633 | client | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-10-05 18:15:35.662633 | client | 2 | network | client allocating new send buffer (total: 0)
2016-10-05 18:15:35.693885 | client | 1 | client.core | user feedback is on
2016-10-05 18:15:35.725137 | server | 1 | simulation.remote_client | started buffering client updates. (seq:24 ack:0)
2016-10-05 18:15:35.881290 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:24 ack:24)
2016-10-05 18:15:37.457303 | server | 2 | simulation.core | game loop exhausted before any jobs processed!
2016-10-05 18:15:50.491311 | client | 0 | client.core | loading save “auto_save”:
2016-10-05 18:15:50.491311 | client | 0 | client.core | {
2016-10-05 18:15:50.491311 | client | 0 | client.core | “name” : "Auto save: ",
2016-10-05 18:15:50.491311 | client | 0 | client.core | “town_name” : “Ayetskaya”,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “game_date” : {
2016-10-05 18:15:50.491311 | client | 0 | client.core | “day” : 5,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “month” : 4,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “year” : 1000,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “hour” : 14,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “minute” : 22
2016-10-05 18:15:50.491311 | client | 0 | client.core | },
2016-10-05 18:15:50.491311 | client | 0 | client.core | “timestamp” : 1475429006580,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “time” : “10/2/2016, 7:23:26 PM”,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “jobs” : {
2016-10-05 18:15:50.491311 | client | 0 | client.core | “crafters” : 7,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “workers” : 9,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “soldiers” : 6
2016-10-05 18:15:50.491311 | client | 0 | client.core | },
2016-10-05 18:15:50.491311 | client | 0 | client.core | “version” : “0.18.0.663”,
2016-10-05 18:15:50.491311 | client | 0 | client.core | “save_version” : 10
2016-10-05 18:15:50.491311 | client | 0 | client.core | }
2016-10-05 18:15:50.527346 | client | 1 | lua.code | Shutting down script host.
2016-10-05 18:15:50.532851 | client | 1 | lua.code | Script host destroyed.
2016-10-05 18:15:50.536855 | client | 0 | physics.navgrid | subspace pathfinder is enabled
2016-10-05 18:15:50.616431 | server | 0 | simulation.core | Restarting game.
2016-10-05 18:15:50.620435 | server | 0 | om.entity | Reference still exists to (1) after destroy_entity was called
2016-10-05 18:15:50.620936 | server | 1 | simulation.core | All entities have been destroyed.
2016-10-05 18:15:50.620936 | server | 1 | simulation.core | Shutting down traces.
2016-10-05 18:15:50.620936 | server | 1 | simulation.core | Shutting down game objects.
2016-10-05 18:15:50.620936 | server | 1 | simulation.core | All entities and datastores have been destroyed.
2016-10-05 18:15:50.620936 | server | 1 | lua.code | Shutting down script host.
2016-10-05 18:15:50.633448 | server | 1 | lua.code | Script host destroyed.
2016-10-05 18:15:50.633948 | server | 1 | simulation.core | Shutting down data objects.
2016-10-05 18:15:50.634949 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2016-10-05 18:15:50.639954 | server | 0 | simulation.core | Loading save
2016-10-05 18:15:52.000260 | server | 1 | dm.store | load progress 61%…
2016-10-05 18:15:52.000760 | client | 1 | client.core | server reported load progress of 61%
2016-10-05 18:15:52.676409 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:52.676409 | server | 1 | dm.store | load progress 99%…
2016-10-05 18:15:52.676909 | client | 1 | client.core | server reported load progress of 99%
2016-10-05 18:15:52.699931 | server | 1 | dm.store | load objects finished!

2016-10-05 18:15:52.717449 | server | 0 | dm.store | took 2.078 seconds to load
2016-10-05 18:15:52.717449 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:52.718449 | client | 0 | client.core | server load save file finished. loading client state.
2016-10-05 18:15:52.718449 | client | 0 | client.core | starting loading… "D:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games\auto_save"
2016-10-05 18:15:53.093308 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-10-05 18:15:53.388091 | client | 1 | dm.store | load progress 99%…
2016-10-05 18:15:53.390594 | client | 1 | dm.store | load objects finished!

2016-10-05 18:15:53.391595 | client | 0 | dm.store | took 0.673 seconds to load
2016-10-05 18:15:53.391595 | client | 1 | client.core | restoring datastores…
2016-10-05 18:15:53.399603 | client | 1 | client.core | recreating data objects…
2016-10-05 18:15:53.399603 | client | 1 | client.core | creating error browser…
2016-10-05 18:15:53.399603 | client | 1 | client.core | initializing data object traces…
2016-10-05 18:15:53.399603 | client | 1 | client.core | requiring radiant.client…
2016-10-05 18:15:53.402605 | client | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2016-10-05 18:15:53.405608 | client | 1 | client.core | loading script host…
2016-10-05 18:15:53.967147 | server | 0 | mod stonehearth | ai slow start is enabled
2016-10-05 18:15:53.967147 | server | 0 | mod ai | cpp ai is enabled.
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Memory Stats: Finished Loading Client
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Total System Memory: 7.944 GB (8529276928 bytes)
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Current Memory Usage: 1021.711 MB (1071341568 bytes)
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Total Address Space: 128.000 TB (140737488224256 bytes)
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Available Address Space: 127.998 TB (140735405998080 bytes)
2016-10-05 18:15:54.081757 | client | 0 | sysinfo | Used Address Space: 1.939 GB (2082226176 bytes)
2016-10-05 18:15:55.385008 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2016-10-05 18:15:55.390012 | server | 0 | mod stonehearth.terrain | [] goblins explored region contains 127 rects
2016-10-05 18:15:55.390012 | server | 0 | mod stonehearth.terrain | [] rabbit explored region contains 0 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] player_1 explored region contains 165 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] animals explored region contains 0 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] undead explored region contains 117 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] orcs explored region contains 21 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] human_npcs explored region contains 0 rects
2016-10-05 18:15:55.390513 | server | 0 | mod stonehearth.terrain | [] forest explored region contains 123 rects
2016-10-05 18:15:57.974994 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:58.428929 | server | 2 | network | server allocating new send buffer (total: 1)
2016-10-05 18:15:59.024501 | server | 2 | network | server allocating new send buffer (total: 2)
2016-10-05 18:15:59.359822 | server | 0 | simulation.core | took 1385 ms to flush streamer
2016-10-05 18:15:59.394472 | server | 1 | simulation.core | finished loading game
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Memory Stats: Finished Loading Simulation
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Total System Memory: 7.944 GB (8529276928 bytes)
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Current Memory Usage: 1.297 GB (1392640000 bytes)
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Total Address Space: 128.000 TB (140737488224256 bytes)
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Available Address Space: 127.998 TB (140735083933696 bytes)
2016-10-05 18:15:59.394472 | server | 0 | sysinfo | Used Address Space: 2.239 GB (2404290560 bytes)
2016-10-05 18:15:59.412489 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.533605 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.595665 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.657724 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.719784 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.780842 | server | 2 | network | server allocating new send buffer (total: 0)
2016-10-05 18:15:59.801863 | client | 0 | client.core | reporting client load progress 77.750%…
2016-10-05 18:15:59.842902 | server | 1 | simulation.remote_client | started buffering client updates. (seq:301 ack:291)
2016-10-05 18:15:59.936992 | client | 0 | client.core | reporting client load progress 80.500%…
2016-10-05 18:16:00.073623 | client | 0 | client.core | reporting client load progress 83.250%…
2016-10-05 18:16:00.291332 | client | 0 | client.core | reporting client load progress 86.000%…
2016-10-05 18:16:00.493527 | client | 0 | client.core | reporting client load progress 88.750%…
2016-10-05 18:16:00.660687 | client | 0 | client.core | reporting client load progress 91.500%…
2016-10-05 18:16:00.811832 | client | 0 | client.core | reporting client load progress 94.250%…
2016-10-05 18:16:00.981996 | client | 0 | client.core | reporting client load progress 97.000%…
2016-10-05 18:16:01.251754 | client | 0 | client.core | reporting client load progress 99.750%…
2016-10-05 18:16:01.309810 | client | 0 | client.core | SetCurrentUIScreen to restart
2016-10-05 18:16:04.272153 | client | 0 | client.core | Changed UI Screen after load
2016-10-05 18:16:07.294053 | server | 0 | ai.execution_frame | (5340456 stonehearth:rabbit) [stonehearth:top] ai slow start is 0
2016-10-05 18:16:07.416170 | server | 0 | simulation.pathfinder.bfs | using fast tile iterator!
2016-10-05 18:16:08.434148 | server | 0 | simulation.core | took 1789 ms to update game state
2016-10-05 18:16:08.434148 | server | 2 | simulation.core | game loop exhausted before any jobs processed!
2016-10-05 18:16:08.515726 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:301 ack:301)
2016-10-05 18:16:08.702405 | server | 0 | simulation.core | took 158 ms to process job list
2016-10-05 18:16:08.702405 | server | 1 | simulation.remote_client | started buffering client updates. (seq:408 ack:301)
2016-10-05 18:16:08.809007 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:408 ack:408)

Attachments:
I am a new user and thus cannot upload my crash.dmp

Versions and Mods:
I am running 0.18.0 release: 663 without mods (64 bit)

System Information:
Windows 10 GTX 960 (with latest version: 972.90) i’m on a laptop and have an external 1920x1080 Acer monitor with an (i believe) 144 refresh tick rate

Have you attempted basic troubleshooting steps here: http://discourse.stonehearth.net/t/crashing-on-start-read-this-updated-october-28/13297:
Yes i have, none of them worked

Notes:
I have had problems with loading games before, but those times, the save seemed corrupt and the save image was missing, i fixed this by just saving twice and if the file was corrupt, i would delete it and use the other one, however now this file doesn’t work either, meaning i have two save files from the same time, that don’t work because of two seemingly different problems, some other saves before it do work though, so do i just have to save 5 times each time i exit the game? hope you can fix this issue, almost everytime i try to load a game, something is wrong with the newest save. Also when i launch the game as an admin and it crashes, it also crashes my pc (Alt+Tabs usually also crash my pc, in other words, my pc seems to be very susceptible to crash because of this game, when it happens, the screen becomes gray/black (you can see the screen is still lit) and it basically just freezes then and i have to restart it manually)

Welcome to the forum, @Mikkel_Juul_Ostberg :slight_smile:

You should be able to upload files now, so if you still have the crash.dmp and the savefile, those will be useful fro the devs.

Discourse’s limit is 10MB, so if your files are larger (even compressed) you’ll have to use a hosting site like Google Drive, Dropbox or Filedropper and share the download link here.

Crash.dmp:
crash.dmp (191.5 KB)

Savefile:

Notes:
the save files were obviously taken copied from the 1475429036079 folder and pasted into a ZIP compressed folder of the same name (i thought that maybe, just maybe, in some cases the name might influence some things so i kept the original name). Just wanted to clarify that the save game was not in a ZIP compressed folder, i know that probably would cause some things to bug out.

Thanks for taking your time helping(^-^)

Hi,
So it looks like that save file is corrupt. :frowning: In which case there’s nothing we can do to restore it T_T

I am curious which save file you loaded when you got that stonehearth.log that you posted because that log does not mention the assertion and the failure. Are there multiple saves involved? If so, can you upload the other saves?
Thanks
-Yang

I tried loading an autosave after the hard save didn’t work, that might be what is in the log, it autosaved the game like 30 sec before i did the hard save.
auto_save.zip (9.6 MB)

Ah I see.
The auto_save seems to be loadable for me. Does it work for you too? If so, the easiest thing to do might be to just replay from the auto save. Sorry! T_T
Thanks
-Yang

Yea the autosave works fine, just thought you guys would want to know about it, and no problem (like literally, as it was saved 30 sec before the other save:p) This game is a great example of an alpha game^^

1 Like

Thanks for letting us know! I’ve seen a few reports now of these corrupted saves so I will keep an eye on it. Sadly, it’s hard to figure out what caused the corruption after the fact. I will keep a look out
Thanks
-Yang

1 Like