View Issue Details

IDProjectCategoryView StatusLast Update
0010880Dwarf FortressTechnical -- Generalpublic2020-11-24 08:56
Reporterbraiam Assigned ToLoci  
PrioritynormalSeveritycrashReproducibilityalways
Status confirmedResolutionopen 
OSDebianOS Versiontesting 
Product Version0.44.12 
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.

Relationships

child of 0011014 confirmedLoci Reproducible crash from corrupted military equipment lists 

Activities

Loci

2018-08-26 11:10

viewer   ~0038748

Provided save consistently crashes vanilla v0.44.12 on windows too.

PatrikLundell

2018-08-27 01:19

reporter   ~0038752

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.

risusinf

2018-08-27 07:57

reporter   ~0038755

Last edited: 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.

PatrikLundell

2018-08-28 01:38

reporter   ~0038756

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.

salajander

2018-10-21 13:16

reporter   ~0038886

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.

salajander

2018-10-21 14:44

reporter   ~0038892

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.

risusinf

2018-11-12 05:53

reporter   ~0038940

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.

lethosor

2020-11-24 08:56

manager   ~0040800

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

Add Note

Note

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
2018-08-28 01:38 PatrikLundell Note Added: 0038756
2018-10-21 13:16 salajander Note Added: 0038886
2018-10-21 14:44 salajander Note Added: 0038892
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