Page 1 of 1

[Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Mon Nov 23, 2020 11:25 pm
by Anders142536
Our save file crashes on load after the 1.1 patch.

This seems to only happen on old saves that use the Krastorio 2 mod. My guess is that the longer underground belts cause an issue, based on the log file:
log

Error EntityWithHealth.cpp:145: express-underground-belt ({-512.5, 267.5}): true != false (-)

It is written in the log file, but here are my rough specs:
Win10 64 bit
Amd Ryzen 7 2700X
NVidia GeForce RTX 2080

Re: [1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Mon Nov 23, 2020 11:40 pm
by Anders142536
Here are verbose crash logs, should have made them verbose from the start.

Again just opened factorio, opened the save and it instantly crashed.

Tried both clicking the continue button as well as loading it "manually" from the saves list with no visual difference.

Re: [1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Wed Nov 25, 2020 10:22 am
by Anders142536
Still crashes under 1.1.1, but as the patchnotes didn't really mention this issue that is no surprise.

This time I tested under Manjaro Linux and received the same error message.

EDIT 25.11.2020: Added 1.1.1 win10 64 bit.log

Re: [1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Thu Nov 26, 2020 6:29 am
by colderduck
I am experiencing this bug as well. When loading (either through continue or manually selecting the file) the save in V1.1, my game crashes. Mine seems to differ slightly from above but I believe may be the same issue.

256.833 Error EntityWithHealth.cpp:145: fast-inserter ({1209.5, -784.5}): true != false (-)

I am running no mods and my save file loads properly in V1.0. I don't know if it matters, but the save file was initially created in V0.17 or V0.18.

Edit: Fixed attachments
file 1 - 125 1.1b.zip
(56.22 MiB) Downloaded 217 times
factorio-current.log
(7.46 KiB) Downloaded 162 times

Re: [Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Thu Nov 26, 2020 4:27 pm
by Twinsen
If anyone has more saves that crash on this bug, they would be appreciated. I'm looking for saves started after 0.18.42.

(This bug seems to be related to this bug 87473)

Re: [Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Thu Nov 26, 2020 5:49 pm
by Twinsen
To the best of my knowledge, the issue should be fixed in Version: 1.1.2.

It might re-appear as there might still be issues related to marking entities to be upgraded, but the saves above will work correctly.

Re: [Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Thu Nov 26, 2020 9:07 pm
by colderduck
Hi Twinsen, thanks for getting it fixed!
Twinsen wrote: Thu Nov 26, 2020 5:49 pm ... issues related to marking entities to be upgraded, but the saves above will work correctly.
If I loaded my file in V1.0 and cancelled all my upgrade requests (I don't recall setting any), could that fix my file in V1.1? I may not have a chance to test it out myself until tonight.

Re: [Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Thu Nov 26, 2020 10:01 pm
by Twinsen
colderduck wrote: Thu Nov 26, 2020 9:07 pm If I loaded my file in V1.0 and cancelled all my upgrade requests (I don't recall setting any), could that fix my file in V1.1? I may not have a chance to test it out myself until tonight.
yes. Afaik in your save there are 2 inserters at around {1209.5, -784.5}

Re: [Twinsen][1.1.0] Crash on load (EntityWithOwner::checkConsistency)

Posted: Sat Nov 28, 2020 9:16 pm
by Anders142536
Just tested. It is fixed for my save. thanks a lot for your hard work, even releasing on saturday! You guys are the best!