View Issue Details

IDProjectCategoryView StatusLast Update
0010778Dwarf FortressDwarf Mode -- Interface, Unit Profilespublic2018-06-01 07:28
Reporterlethosor Assigned Tolethosor  
PrioritynormalSeveritycrashReproducibilitysometimes
Status confirmedResolutionopen 
PlatformWindows + Mac 
Product Version0.44.10 
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: http://dffd.bay12games.com/file.php?id=13796
Steps To Reproduce- 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.
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.

Activities

hittemvvvhard

2018-06-01 07:28

reporter   ~0038421

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

Add Note

Note

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
2018-06-01 07:28 hittemvvvhard Note Added: 0038421
2018-06-01 07:28 hittemvvvhard Note Edited: 0038421