Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011192Dwarf FortressAdventure Mode -- Generalpublic2019-12-14 23:582020-02-03 21:04
Toady One 
Windows 10 64-bit
0011192: Adventurers trying to view their own description frequently crash game
Out of the creatures I've tested, when controlled by the player and attempting to view their own description these crash the game

‼️Seemingly always‼️ - Bronze Colossi, Fire Men

When both wounded and an Outsider - Humans, Damselfly Men

When wounded, an Outsider, and not in the legacy or 32-bit versions(???) - Dwarves

When wounded, an Outsider, and only(???) in the legacy or 32-bit versions - Elves

Seemingly never - Kobolds, Aardvarks, Dragons, Fire Imps
Create an Outsider adventurer or take control of an Arena creature and attempt to view your own description before and after being wounded.
No tags attached.
related to 0010831resolved Toady One Mod Testing Arena - Crash On Viewing Own Description 
related to 0011214resolved Toady One Inorganic creatures crash game on viewing their description if they do not have a recent thought 
Issue History
2019-12-14 23:58AlcerisNew Issue
2019-12-17 19:27Shonai_DwellerNote Added: 0039621
2019-12-17 19:38LociAssigned To => Loci
2019-12-17 19:38LociStatusnew => needs feedback
2019-12-18 01:46AlcerisNote Added: 0039624
2019-12-18 01:46AlcerisStatusneeds feedback => assigned
2019-12-18 03:37Shonai_DwellerNote Added: 0039625
2019-12-18 04:17Shonai_DwellerNote Edited: 0039625bug_revision_view_page.php?bugnote_id=0039625#r16142
2019-12-18 08:39AlcerisNote Added: 0039627
2019-12-18 12:50LociNote Added: 0039628
2019-12-18 12:50LociStatusassigned => acknowledged
2019-12-18 21:55Shonai_DwellerNote Added: 0039629
2019-12-18 23:14AlcerisNote Added: 0039630
2019-12-18 23:39AlcerisIssue Monitored: Alceris
2019-12-19 00:40risusinfNote Added: 0039631
2019-12-19 00:43risusinfNote Edited: 0039631bug_revision_view_page.php?bugnote_id=0039631#r16145
2019-12-19 02:22Shonai_DwellerNote Added: 0039632
2019-12-19 02:24Shonai_DwellerNote Edited: 0039632bug_revision_view_page.php?bugnote_id=0039632#r16147
2019-12-19 02:25Shonai_DwellerNote Edited: 0039632bug_revision_view_page.php?bugnote_id=0039632#r16148
2020-01-03 04:06risusinfNote Added: 0039650
2020-01-03 20:09lethosorNote Added: 0039652
2020-01-03 20:09lethosorRelationship addedrelated to 0010831
2020-01-26 10:32LociRelationship addedrelated to 0011214
2020-02-03 21:04Toady OneNote Added: 0039849
2020-02-03 21:04Toady OneStatusacknowledged => resolved
2020-02-03 21:04Toady OneFixed in Version => Next Version
2020-02-03 21:04Toady OneResolutionopen => fixed
2020-02-03 21:04Toady OneAssigned ToLoci => Toady One

2019-12-17 19:27   
Testing now in arena (assume control, z, d). Bronze Colossus is Ok, fire man is Ok. Injured Bronze Colossus is OK. Are you using any mods? TWBT will crash Adventurer, seems likely that such a crash would happen on switching screens.
2019-12-18 01:46   
I tested this on freshly extracted installations of all 4 Windows versions of 0.44.12, as well as on SDL 64-bit 0.44.11. Completely unmodified.
2019-12-18 03:37   
(edited on: 2019-12-18 04:17)
And you're unable to bring up your description when controlling the bronze colossus and fire man in any of the versions?

Also tested outsider human in Adventurer. Can view my description before and after being injured.

2019-12-18 08:39   
Correct, they crash the game. And in the case of the 64-bit versions I actually get an error message with the Bronze Colossus and Fire Man, talking about the instruction at 0x00007FF7B8EF8B85 referencing memory that could not be read.
2019-12-18 12:50   
Both a fire man and a colossus crashed for me as well.
2019-12-18 21:55   
What are the exact steps?

I'm creating a colossus in the arena in 44.12. I'm choosing "assume control", I'm pushing z then d for description. Then beating him up and trying again.

Result, no crash, amusing description of a bronze colossus, missing a toe, feeling nothing in conflict.

Full-screen, taffer tileset, no Dfhack/TWBT.
2019-12-18 23:14   
You know, I never tried it in full-screen, and for some reason it doesn't crash in full-screen.
2019-12-19 00:40   
(edited on: 2019-12-19 00:43)
44.12@linux 32bit in text mode terminates with std::length_error (on attempt to resize a string apparently) after a->z->d bronze colossus in arena.

2019-12-19 02:22   
(edited on: 2019-12-19 02:25)
Tested again in brand new vanilla download. Crashed on Fire man description.
Switched vanilla to full-screen. No crash.

Retried my own copy only switched to Windowed mode. Crashed on Fire Man description.

So, it's a Windowed mode thing. Huh.

Couldn't get Bronze Colossus to crash though. Still, basically the same thing.

2020-01-03 04:06   
2020-01-03 20:09   
It could be the same issue, but they could also be different, since arena mode isn't exactly the same as adventurer mode. Marking them as related.
Toady One   
2020-02-03 21:04   
Gonna go ahead and mark this off with the fix of 0010831, which probably covers it. Feel free to re-report similar issues once 47.02 is out.