Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010778Dwarf FortressDwarf Mode -- Interface, Unit Profilespublic2018-05-31 18:322018-06-01 07:28
Assigned Tolethosor 
PlatformWindows + MacOSOS Version
Product Version0.44.10 
Target VersionFixed in Version 
Summary0010778: Random crash when viewing thoughts/preferences of certain units
Descriptionhittemvvvhard 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: [^]
Steps To Reproduce- Download [^]
- 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.
Additional Information- 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
hittemvvvhard (reporter)
2018-06-01 07:28
edited on: 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

- Issue History
Date Modified Username Field Change
2018-05-31 18:32 lethosor New Issue
2018-05-31 18:32 lethosor Product Version => 0.44.10
2018-05-31 18:32 lethosor Assigned To => lethosor
2018-05-31 18:32 lethosor Status new => confirmed
2018-05-31 18:33 lethosor Steps to Reproduce Updated View Revisions
2018-06-01 07:28 hittemvvvhard Note Added: 0038421
2018-06-01 07:28 hittemvvvhard Note Edited: 0038421 View Revisions
2018-06-01 08:38 hittemvvvhard Issue Monitored: hittemvvvhard

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker