Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010778Dwarf FortressDwarf Mode -- Interface, Unit Profilespublic2018-05-31 18:322018-06-01 07:28
lethosor 
lethosor 
normalcrashsometimes
confirmedopen 
Windows + Mac
0.44.10 
 
0010778: Random crash when viewing thoughts/preferences of certain units
hittemvvvhard originally reported this on IRC (#dfhack on freenode), but I'm seeing this with the same save in vanilla. Either u-v-enter or v-z-enter crash on affected dwarves, but only sometimes.

Save: http://dffd.bay12games.com/file.php?id=13796 [^]
- Download http://dffd.bay12games.com/file.php?id=13796 [^]
- enter the relations of Rimtar Morulnoleth (9th on unit screen, blinking/legendary) and view the thoughts of fath teshkadosem (at the bottom of his relations) [taken from reproduce.txt in that download]

This can also be reproduced with another recruit near the bottom of Fath's relationships.

Note that I had to initialize memory to non-zero values (with "MallocScribble=1 ./df" on OS X) for the crash to happen consistently. A debugger or other memory analyzer might be necessary to catch this.

Also, apparently in a future migrant wave, only female migrants are affected by this crash. I only managed to reproduce that once (with DFHack, which isn't necessarily reliable), but hittemvvvhard claims to have seen this consistently with multiple migrant waves.
- Save was originally produced in 0.44.10, so it's not an issue with migrating to a new version
- The crash consistently happens at 0x100314bfc in the 64-bit OS X build of 0.44.10 (cmpl $0x4, (%rcx,%rax,4)). I haven't investigated further, but it might be dereferencing an uninitialized pointer.
No tags attached.
Issue History
2018-05-31 18:32lethosorNew Issue
2018-05-31 18:32lethosorProduct Version => 0.44.10
2018-05-31 18:32lethosorAssigned To => lethosor
2018-05-31 18:32lethosorStatusnew => confirmed
2018-05-31 18:33lethosorSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15635#r15635
2018-06-01 07:28hittemvvvhardNote Added: 0038421
2018-06-01 07:28hittemvvvhardNote Edited: 0038421bug_revision_view_page.php?bugnote_id=0038421#r15637
2018-06-01 08:38hittemvvvhardIssue Monitored: hittemvvvhard

Notes
(0038421)
hittemvvvhard   
2018-06-01 07:28   
some more information that might be relevant: the crash happens for female visitors too (so far only dwarf monster slayers arrived)

the fort in the save is actually the third fort in its world. the first fort did not have any such issues, the second was abandoned before any migrants or visitors arrived