Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010880Dwarf FortressTechnical -- Generalpublic2018-08-26 09:262020-11-24 08:56
braiam 
Loci 
normalcrashalways
confirmedopen 
Debiantesting
0.44.12 
 
0010880: Segmentation fault, reproducible via save state
Keeping my fortress as is, DF segfaults after 5-10 minutes. I haven't been able to either, identify what action causes the crash or obtain a useful core dump.

Is there a version that includes debugging symbols?
1. Load save
2. Wait for a while
3. ...
4. CRASH!
http://dffd.bay12games.com/file.php?id=13981 [^]
No tags attached.
child of 0011014confirmed Loci Reproducible crash from corrupted military equipment lists 
Issue History
2018-08-26 09:26braiamNew Issue
2018-08-26 11:10LociNote Added: 0038748
2018-08-26 11:10LociAssigned To => Loci
2018-08-26 11:10LociStatusnew => confirmed
2018-08-27 01:19PatrikLundellNote Added: 0038752
2018-08-27 07:57risusinfNote Added: 0038755
2018-08-27 23:07risusinfNote Edited: 0038755bug_revision_view_page.php?bugnote_id=0038755#r15754
2018-08-28 01:38PatrikLundellNote Added: 0038756
2018-10-21 13:16salajanderNote Added: 0038886
2018-10-21 13:17salajanderIssue Monitored: salajander
2018-10-21 14:44salajanderNote Added: 0038892
2018-10-31 00:29risusinfNote Added: 0038905
2018-10-31 23:15risusinfNote Edited: 0038905bug_revision_view_page.php?bugnote_id=0038905#r15810
2018-11-01 00:36risusinfNote Added: 0038912
2018-11-01 05:55risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15812
2018-11-01 08:17risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15813
2018-11-01 08:56risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15814
2018-11-04 05:32risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15819
2018-11-06 02:05risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15820
2018-11-06 02:05risusinfNote Deleted: 0038905
2018-11-08 23:50risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15825
2018-11-11 23:00risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15828
2018-11-12 02:07risusinfNote Edited: 0038912bug_revision_view_page.php?bugnote_id=0038912#r15829
2018-11-12 05:42risusinfNote Deleted: 0038912
2018-11-12 05:53risusinfNote Added: 0038940
2019-02-24 12:01LociRelationship addedchild of 0011014
2020-11-24 08:56lethosorNote Added: 0040800

Notes
(0038748)
Loci   
2018-08-26 11:10   
Provided save consistently crashes vanilla v0.44.12 on windows too.
(0038752)
PatrikLundell   
2018-08-27 01:19   
And no, there isn't a version with debugging symbols, and Toady doesn't know how to get anything useful out of a crash dump. Thus, given Loci's confirmation of the save crashing, the next step will probably be Toady examining the save.
(0038755)
risusinf   
2018-08-27 07:57   
(edited on: 2018-08-27 23:07)
I've just ran into similar problem. Got a save that reliably crashes in a specific moment. Burrowing dwarves to stop all their activities seemingly prevents crashing, so it's jobs related. I'll try to research this.

Update: so i let the game run for a minute and then saved again to get it closer in time to the crash, but after reload it stopped crashing. Nevermind i guess.

(0038756)
PatrikLundell   
2018-08-28 01:38   
Copying a reliably crashing game before saving again would be a way to allow investigation without risking losing the crash condition. Anyway, thanks for trying to pin the issue down.
(0038886)
salajander   
2018-10-21 13:16   
I'm seeing what's possibly the same (or related) issue.

I have a save (uploaded to http://dffd.bay12games.com/file.php?id=14078 [^]) that crashes intermittently. No specific trigger, unfortunately, but it's crashed 12 times so far in the week or so since I've started it, and the crashes seem to be happening more frequently (3 today).

The uploaded zip has the save file as well as all the Diagnostic Reports generated by macOS for the crashes, in case they help.

All of the crashes are type EXC_BAD_ACCESS (SIGSEGV) with most being code KERN_INVALID_ADDRESS at some location.
(0038892)
salajander   
2018-10-21 14:44   
This save (http://dffd.bay12games.com/file.php?id=14079 [^]), of the same fort but a short time later, crashes after about 2 minutes. Launch DF, load fort, do nothing, crash. Repeated three times on my machine.
(0038940)
risusinf   
2018-11-12 05:53   
I removed previous messages to summarize my attempts in shorter one.

http://dffd.bay12games.com/file.php?id=14109 [^]
This save will crash with segfault. Steps to reproduce:

[m]ilitary -> [c]reate squad, no uniform, add any dwarf if squad is empty -> [e]quip, [G]loves, choose any option and let the game run. "Specific gloves" shows completely unrelated list of items any of which cannot be selected. There isn't a single handwear item in the fort, but it crashes regardless.
(0040800)
lethosor   
2020-11-24 08:56   
risusinf's save is an easy-to-reproduce case of 0011014 - I analyzed this a bit from the DFHack side in https://github.com/DFHack/dfhack/issues/1678#issuecomment-732669641 [^]