Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011852Dwarf FortressGeneralpublic2022-01-16 11:272022-01-21 04:11
Assigned To 
PlatformPCOSWindowsOS VersionWindows 10 64bit
Product Version0.47.05 
Target VersionFixed in Version 
Summary0011852: Extremely consistent hard crash at around !:30 in game play time
DescriptionOn this save I have a crash that sends me to desktop with no real clues as to what happened. It will happen every single time without fail around a minute and thirty seconds in. The application closes immediately when it crashes.
Steps To ReproduceLoad save, play for about 15 seconds, a random megabeast will spawn in on the surface, do whatever with it, doesn't seem to matter, and let a total of around a minute and thirty seconds pass in real time, or let date pass to or beyond 107-05-27. On my end it crashes without fail and this is extremely frustrating.
Additional InformationI have DF hack installed, dwarfvet enabled, popcap at 115, temperature disabled.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
bigboyseason (reporter)
2022-01-16 11:53 [^]
link to the region and save file
Quietust (reporter)
2022-01-19 08:30

The preferred way of attaching files to a report is to upload them to the Dwarf Fortress File Depot ( [^]).
bigboyseason (reporter)
2022-01-19 10:46
edited on: 2022-01-19 16:30 [^]

bigboyseason (reporter)
2022-01-19 13:11
edited on: 2022-01-19 19:11

I just ran this save on a fresh install of DF 47.05 and the issue is unchanged. I also had my friend install the game onto his pc and sent him my save file and his game crashed at around the same time.

Quietust (reporter)
2022-01-20 11:49
edited on: 2022-01-20 11:54

The crash appears to be happening in response to Ducim ïngizoltar the insane Herbalist having a miscarriage due to becoming Dehydrated.

For some reason, her historical figure "wounds" pointer is NULL, but the miscarriage code expects it to be non-null and tries to write into it anyways (to clear out the year+time at which she was expected to give birth).

If you have DFHack installed, running the following command should prevent the game from crashing:
lua "df.unit.find(450).pregnancy_timer = 0"

(the histfig class contains a sub-structure containing a list of pointers to extended attributes, known to DFHack as "spheres" + "skills" + "pets" + "personality" + "masterpieces" + "whereabouts" + "kills" + "wounds" + "known_info" + "curse" + "books" + "reputation" + "relationship")

bigboyseason (reporter)
2022-01-20 12:50
edited on: 2022-01-20 12:50

that is strange considering no one should be able to have any more children at my fort with its strict pop cap, unless they still can get pregnant and it always results in miscarriage. im not too sure how this works.

Is this command a permanent fix to this issue in my game, or do I need to run this command every time I load my save?

thank you for the help i've been totally lost and this is not what i expected at all to be the issue.

also, is there a command to 'cure' a dwarf of insanity?

bigboyseason (reporter)
2022-01-20 12:52

After running this command my game still crashes at the same point
Quietust (reporter)
2022-01-20 15:49
edited on: 2022-01-20 15:51

Are you sure you ran the command correctly? After I ran it, the game ran all the way through the end of Summer without incident (which took over 15 minutes on my machine).

You only need to run the command once, provided you save the game afterwards - obviously, if you kill the game and revert to a save backup, you'll need to run it again.

bigboyseason (reporter)
2022-01-21 01:51

You are correct, I fixed a typo I made in that command and now everything proceeds as normal, my bad. Thank you for the continued help

I guess this issue would be considered solved now, as I have ran the game for two more years with no more crashes.
Quietust (reporter)
2022-01-21 04:11

The issue is solved for you, but there's still the question of how it happened in the first place.

- Issue History
Date Modified Username Field Change
2022-01-16 11:27 bigboyseason New Issue
2022-01-16 11:28 bigboyseason Issue Monitored: bigboyseason
2022-01-16 11:28 bigboyseason Note Added: 0041209
2022-01-16 11:33 bigboyseason Note Edited: 0041209 View Revisions
2022-01-16 11:44 bigboyseason Issue End Monitor: bigboyseason
2022-01-16 11:53 bigboyseason Note Added: 0041210
2022-01-19 08:30 Quietust Note Added: 0041211
2022-01-19 10:46 bigboyseason Note Added: 0041212
2022-01-19 13:11 bigboyseason Note Added: 0041213
2022-01-19 13:40 bigboyseason Note Deleted: 0041209
2022-01-19 16:30 bigboyseason Note Edited: 0041212 View Revisions
2022-01-19 19:11 bigboyseason Note Edited: 0041213 View Revisions
2022-01-20 11:49 Quietust Note Added: 0041214
2022-01-20 11:49 Quietust Note Edited: 0041214 View Revisions
2022-01-20 11:49 Quietust Note Edited: 0041214 View Revisions
2022-01-20 11:54 Quietust Note Edited: 0041214 View Revisions
2022-01-20 12:50 bigboyseason Note Added: 0041215
2022-01-20 12:50 bigboyseason Note Edited: 0041215 View Revisions
2022-01-20 12:52 bigboyseason Note Added: 0041216
2022-01-20 15:49 Quietust Note Added: 0041217
2022-01-20 15:51 Quietust Note Edited: 0041217 View Revisions
2022-01-21 01:51 bigboyseason Note Added: 0041218
2022-01-21 04:11 Quietust Note Added: 0041219

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker