Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011852Dwarf FortressGeneralpublic2022-01-16 11:272022-01-21 04:11
bigboyseason 
 
highcrashalways
newopen 
PCWindowsWindows 10 64bit
0.47.05 
 
0011852: Extremely consistent hard crash at around !:30 in game play time
On 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.
Load 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.
I have DF hack installed, dwarfvet enabled, popcap at 115, temperature disabled.
No tags attached.
Issue History
2022-01-16 11:27bigboyseasonNew Issue
2022-01-16 11:28bigboyseasonIssue Monitored: bigboyseason
2022-01-16 11:28bigboyseasonNote Added: 0041209
2022-01-16 11:33bigboyseasonNote Edited: 0041209bug_revision_view_page.php?bugnote_id=0041209#r16768
2022-01-16 11:44bigboyseasonIssue End Monitor: bigboyseason
2022-01-16 11:53bigboyseasonNote Added: 0041210
2022-01-19 08:30QuietustNote Added: 0041211
2022-01-19 10:46bigboyseasonNote Added: 0041212
2022-01-19 13:11bigboyseasonNote Added: 0041213
2022-01-19 13:40bigboyseasonNote Deleted: 0041209
2022-01-19 16:30bigboyseasonNote Edited: 0041212bug_revision_view_page.php?bugnote_id=0041212#r16770
2022-01-19 19:11bigboyseasonNote Edited: 0041213bug_revision_view_page.php?bugnote_id=0041213#r16772
2022-01-20 11:49QuietustNote Added: 0041214
2022-01-20 11:49QuietustNote Edited: 0041214bug_revision_view_page.php?bugnote_id=0041214#r16774
2022-01-20 11:49QuietustNote Edited: 0041214bug_revision_view_page.php?bugnote_id=0041214#r16775
2022-01-20 11:54QuietustNote Edited: 0041214bug_revision_view_page.php?bugnote_id=0041214#r16776
2022-01-20 12:50bigboyseasonNote Added: 0041215
2022-01-20 12:50bigboyseasonNote Edited: 0041215bug_revision_view_page.php?bugnote_id=0041215#r16778
2022-01-20 12:52bigboyseasonNote Added: 0041216
2022-01-20 15:49QuietustNote Added: 0041217
2022-01-20 15:51QuietustNote Edited: 0041217bug_revision_view_page.php?bugnote_id=0041217#r16780
2022-01-21 01:51bigboyseasonNote Added: 0041218
2022-01-21 04:11QuietustNote Added: 0041219

Notes
(0041210)
bigboyseason   
2022-01-16 11:53   
https://mega.nz/folder/2EhR0a5L#vkREuF-IS64BcKnsW1UvYQ [^]
link to the region and save file
(0041211)
Quietust   
2022-01-19 08:30   
The preferred way of attaching files to a report is to upload them to the Dwarf Fortress File Depot (https://dffd.bay12games.com/ [^]).
(0041212)
bigboyseason   
2022-01-19 10:46   
(edited on: 2022-01-19 16:30)
https://dffd.bay12games.com/file.php?id=15824 [^]

(0041213)
bigboyseason   
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.

(0041214)
Quietust   
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")

(0041215)
bigboyseason   
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?

(0041216)
bigboyseason   
2022-01-20 12:52   
After running this command my game still crashes at the same point
(0041217)
Quietust   
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.

(0041218)
bigboyseason   
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.
(0041219)
Quietust   
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.