Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006802Dwarf FortressTechnical -- Generalpublic2014-07-09 02:372014-07-11 10:48
0006802: Crash occurrs 10 seconds after loading save
I was fortunate enough (or unfortunate enough) to save my game shortly before a crash was about to occur. This is still early on in the save, no more than two seasons. I've tried adjusting my dwarves current tasks but nothing seems to affect the crash so I can only conclude it's related to an uncontrollable event like a season change or a migrant wave.

Save file: https://www.dropbox.com/s/dmy32xdp27xov3e/Crash%20Save.zip [^]
Load included save. Wait roughly 10 seconds.
0.40.01, crash
duplicate of 0006681resolved Toady One Autosave causes save corruption and crashes on load 
Issue History
2014-07-09 02:37LemundeNew Issue
2014-07-09 02:40LemundeIssue Monitored: Lemunde
2014-07-09 02:40LemundeIssue End Monitor: Lemunde
2014-07-09 03:30rhoramaNote Added: 0025271
2014-07-09 03:33rhoramaNote Edited: 0025271bug_revision_view_page.php?bugnote_id=0025271#r9435
2014-07-09 06:09df_linuxNote Added: 0025285
2014-07-09 15:21FootkerchiefRelationship addedrelated to 0006681
2014-07-09 15:21alexis06Tag Attached: 0.40.01
2014-07-09 15:21alexis06Tag Attached: crash
2014-07-11 10:48FootkerchiefRelationship replacedduplicate of 0006681
2014-07-11 10:48FootkerchiefStatusnew => resolved
2014-07-11 10:48FootkerchiefResolutionopen => duplicate
2014-07-11 10:48FootkerchiefAssigned To => Footkerchief

2014-07-09 03:30   
(edited on: 2014-07-09 03:33)
Downloaded and reproduced crash.
Exception code:c0000094

Google-fu tells me this is a DIVIDE_BY_ZERO exception.

Lemunde: Next time please upload the save file to http://dffd.wimbli.com/ [^]

Other hosting is seen as unreliable

2014-07-09 06:09   
Reproduced with a different save. Hyperlink: http://dffd.wimbli.com/file.php?id=8790 [^]

region1 - 27th of Malachite (mid-summer). Exhibits bug.
Will crash about 10 seconds after loading, with terminal message:
    "./df: line 6: 26566 Floating point exception./libs/Dwarf_Fortress $*"

region1-sum-5 - Seasonal autosave made before region1. Can be played all the way until Autumn, no crashes.
region1-sum-5-aut-5 - The autumn seasonal autosave, made by loading region1-sum-5. No crashes.

In the bugged save, more work was done: more stockpiles, pastured the yaks, built some workshops. Not sure if its relevant.