[2.0.24] Crash saving, ItemRequestProxy check fails (ItemRequestProxy::save)
[2.0.24] Crash saving, ItemRequestProxy check fails (ItemRequestProxy::save)
I have a 2.0.24 vanilla game with four mods (bp100-2.1.1, helmod-2.0.12, RateCalculator-3.3.2, flib-0.15.0) that crashed while saving my game. I have several artifacts from this: The savegame, the partial savegame from the crash (eg the .tmp.zip), the factorio-dump-current.dmp file, the game log, and a Twitch.tv clip. If the dump and .tmp.zip file are of use to looking into this, I can make them available to devs.
- Attachments
-
- 100 pct planning.zip
- Last save before the crash.
- (29.43 MiB) Downloaded 5 times
-
- factorio-current-sanitized.log
- Sanitized log file
- (16.88 KiB) Downloaded 13 times
Re: [2.0.24 Vanilla] Game crash while saving the game
This seems to be fairly reproduceable. The save from which the reproduction is made is attached. Video, including user inputs, are also available on YouTube.
Note: This savegame is from bp100-2.1.2 whereas the original savegame is bp100-2.1.1.
Note: This savegame is from bp100-2.1.2 whereas the original savegame is bp100-2.1.1.
- Attachments
-
- 100 pct planning-staged3.zip
- (86.18 MiB) Downloaded 10 times
-
- Inserter
- Posts: 40
- Joined: Fri Jun 11, 2021 5:20 pm
- Contact:
Re: [2.0.24] Crash saving, ItemRequestProxy check fails (ItemRequestProxy::save)
I've narrowed it down a bit more:
- Load the save without mods
- .destroy() train shown in the youtube video
/c game.player.selected.destroy()
- Try to save game -- crash
Removing the item request before destroying the train avoids the crash (as suggested by the logs saying stuff with item request proxies)
I'm guessing deleting that train causes an item request proxy in a bad state. Not sure how it got like that in the first place.
- Load the save without mods
- .destroy() train shown in the youtube video
/c game.player.selected.destroy()
- Try to save game -- crash
Removing the item request before destroying the train avoids the crash (as suggested by the logs saying stuff with item request proxies)
I'm guessing deleting that train causes an item request proxy in a bad state. Not sure how it got like that in the first place.
Re: [2.0.24] Crash saving, ItemRequestProxy check fails (ItemRequestProxy::save)
Thanks for the report. This is due to the mod you're using which has set the item request proxy as active = false which is an invalid state for item request proxies to be in. I've fixed it for the next release so if a mod tries to do that, it simply does nothing.
If you want to get ahold of me I'm almost always on Discord.