Crash caused by city starvation (ex Crash at 20 october 1097)

Fixed
manuel-burato [github] · 4 years ago

Describe the issue
At 20 october 1097 game freezes.
Log files of the event weights from 100MB up to 1GB and are FUUUUUULL of
E 17:18:35,626 S7897002 ~Sim: Overflow while creating Fix32 from int 22096952. Returning 2097152.
Like for a loop that never ends.

Expected behavior
uhm... don't crash, i guess :-)

To Reproduce
Steps to reproduce the behavior:
Load one of the attached saves. They are snapshot at different timestamp of the same game preceding the crash.
To reproduce the anomaly is simply necessary to wait until 20 oct 1097 then the game freeze and head-shooted by Windows.
TLDR; the file that ends with _precrash.save is saved a few days before 20 oct. Other saves are month to years before

Additional context

  • Game version: EA 0.4.3 using Steam

Attachments
22-06-12_18-19-52_3276-autosave.save
22-06-12_19-16-16_0748-autosave.save
kero T2 - meglio - precrash.save
kero T2 - meglio.save
log-truncated.log

At your disposal for furter info,
Good Work ;-)

Files not imported: 22-06-12_18-19-52_3276-autosave.save, 22-06-12_19-16-16_0748-autosave.save, kero T2 - meglio - precrash.save, kero T2 - meglio.save

1 attachment only for registered users
manuel-burato [github] · 4 years ago

Uhm I think it could be related to the imminent starvation. Loading a save 1yr before and changin something in food distribution system the crash doesn't occur at 20 oct 1097 but months to years later if people continue starving

Captain Filip Captain Filip · 4 years ago

Thank you for your detailed report. We have found the issue and it will be fixed in the next patch! :)

manuel-burato [github] · 4 years ago

uhm, tryng with EA0.4.4 but the crash is still there!

22-06-14_09-48-42_6903.zip

kero T2 - meglio - precrash.save

Files not imported: kero T2 - meglio - precrash.save

1 attachment only for registered users
Captain Filip Captain Filip · 4 years ago

This is triggered by settlement starvation and once the overflow happened there is no way back. You probably loaded a save file that already has this overflow. Can you load earlier save file before the starvation started? From that point the issue shouldn't happen again.

manuel-burato [github] · 4 years ago

Oh I'm sorry :-) that was exactly the case! I can confirm, the issue is solved for ea0.4.4! I loaded an older save and now my people lovely starve without crash!

Closed as ✅ Fixed

9 Showing 1–7 of 7