Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010880Dwarf FortressTechnical -- Generalpublic2018-08-26 09:262020-11-24 08:56
Reporterbraiam 
Assigned ToLoci 
PrioritynormalSeveritycrashReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSDebianOS Versiontesting
Product Version0.44.12 
Target VersionFixed in Version 
Summary0010880: Segmentation fault, reproducible via save state
DescriptionKeeping 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?
Steps To Reproduce1. Load save
2. Wait for a while
3. ...
4. CRASH!
Additional Informationhttp://dffd.bay12games.com/file.php?id=13981 [^]
TagsNo tags attached.
Attached Files

- Relationships
child of 0011014confirmedLoci Reproducible crash from corrupted military equipment lists 

-  Notes
(0038748)
Loci (manager)
2018-08-26 11:10

Provided save consistently crashes vanilla v0.44.12 on windows too.
(0038752)
PatrikLundell (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
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 (reporter)
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 (manager)
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 [^]

- Issue History
Date Modified Username Field Change
2018-08-26 09:26 braiam New Issue
2018-08-26 11:10 Loci Note Added: 0038748
2018-08-26 11:10 Loci Assigned To => Loci
2018-08-26 11:10 Loci Status new => confirmed
2018-08-27 01:19 PatrikLundell Note Added: 0038752
2018-08-27 07:57 risusinf Note Added: 0038755
2018-08-27 23:07 risusinf Note Edited: 0038755 View Revisions
2018-08-28 01:38 PatrikLundell Note Added: 0038756
2018-10-21 13:16 salajander Note Added: 0038886
2018-10-21 13:17 salajander Issue Monitored: salajander
2018-10-21 14:44 salajander Note Added: 0038892
2018-10-31 00:29 risusinf Note Added: 0038905
2018-10-31 23:15 risusinf Note Edited: 0038905 View Revisions
2018-11-01 00:36 risusinf Note Added: 0038912
2018-11-01 05:55 risusinf Note Edited: 0038912 View Revisions
2018-11-01 08:17 risusinf Note Edited: 0038912 View Revisions
2018-11-01 08:56 risusinf Note Edited: 0038912 View Revisions
2018-11-04 05:32 risusinf Note Edited: 0038912 View Revisions
2018-11-06 02:05 risusinf Note Edited: 0038912 View Revisions
2018-11-06 02:05 risusinf Note Deleted: 0038905
2018-11-08 23:50 risusinf Note Edited: 0038912 View Revisions
2018-11-11 23:00 risusinf Note Edited: 0038912 View Revisions
2018-11-12 02:07 risusinf Note Edited: 0038912 View Revisions
2018-11-12 05:42 risusinf Note Deleted: 0038912
2018-11-12 05:53 risusinf Note Added: 0038940
2019-02-24 12:01 Loci Relationship added child of 0011014
2020-11-24 08:56 lethosor Note Added: 0040800


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker