Page 1 of 1

[0.14.22] Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 6:53 am
by Atraxi
About 1/3rd through the autosave progress bar the game errors and crashes to desktop, this has started happening consistently many hours into the save. There are a LOT of mods, and I have recently updated them which is likely related in some way.

I opened the game in VS2015 debugging, in which it looks at first glance that there is a recursion stack overflow, however the entity pointer location is updated for every call so it's probably not an endless loop at least.

If the world save and mods list is needed, or if it would help for me to dig through local state in VS let me know.

Re: Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 7:18 am
by posila
Hi, did you by any chance build long diagonal rail?

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 7:19 am
by Atraxi
I have a short unused diagonal rail that has been around for a while without causing issues.

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 7:26 am
by Atraxi
Oh an additional detail that might change things, manually saving the game works normally (although it takes ages, looking forward to next patch speeding up mod save/load times)

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 7:28 am
by posila
Can you upload your save?

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Sun Apr 02, 2017 8:00 am
by Atraxi
Here it is. I'm uploading the mods folder to a file sharing site too, 400MB though so that will take a bit.

*edit Mods folder download link: https://mega.nz/#!uIxVGR5Q!BpNH3_p2bQyJ ... P1Tf7-Ewf4

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Mon Apr 03, 2017 8:42 am
by Atraxi
Have you had any luck reproducing this on your end? If not is there any other information I could provide that might help?

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Mon Apr 03, 2017 10:05 am
by posila
I have started to work on it just this morning. On coordinates -250, -783 there is some modded outpost entity, which is under furious attack from large group of modded spitters, which create lot of explosion remnant particles and scorchmarks at the same spot, to the point where recursion on saving runs out of stack. We'll remove recursion from saving for 0.15

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Mon Apr 03, 2017 10:49 am
by Atraxi
Wow that is hilarious, I had no idea that was going on in the map. Especially to the extent it causes a stack overflow. Thanks for letting me know the cause, I guess the temporary fix for me is to go on a killing spree lol.

Re: [0.14.22] Hard crash during autosave. Modded

Posted: Mon Apr 03, 2017 2:22 pm
by posila
Thanks for the report.
Fixed for 0.15.