Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011035Dwarf FortressTechnical -- Saving/Loadingpublic2019-02-20 06:312019-02-24 11:50
0011035: Crashes every time during save
The only thing weird I know of is that I sent off a raiding party on 16th malachite 260, and haven't heard from them in a while, and I'm wondering what happened to them.
Load the game, save, watch it crash. Has successfully crashed for me my last 5 tries. Last time was the only time I did nothing but save. No unpausing.

Save file: http://dffd.bay12games.com/file.php?id=14262 [^]
df_44_12_linux.tar.bz2, no mods or utilities. World also generated with this version.

$ md5sum df
0d39ef03565df4fa13f9fec3bf1493b0 df

errorlog.txt always contains exactly "removed erroneous unit occupancy flag" 6 times.

Memory usage while saving (these lines repeated identically a bunch of times):

$ while : ; do ps auxww | grep "sh \./df"; sleep 2 ; done
darxus 24933 0.0 0.0 4628 796 pts/4 S+ 16:26 0:00 /bin/sh ./df

$ while : ; do ps auxww | grep "sh \./df"; sleep 2 ; done
darxus 25193 0.0 0.0 4628 772 pts/4 S+ 16:37 0:00 /bin/sh ./df

This is my first time playing dwarf fortress.
No tags attached.
related to 0010939resolved Loci segfault on "Saving fortress information" when trying to save, reproducible via savestate 
Issue History
2019-02-20 06:31DarxusNew Issue
2019-02-20 06:33DarxusNote Added: 0039226
2019-02-20 06:35DarxusNote Added: 0039227
2019-02-20 12:16GregameshNote Added: 0039228
2019-02-20 20:47risusinfNote Added: 0039230
2019-02-24 11:50LociRelationship addedchild of 0010939
2020-01-29 00:38Toady OneRelationship replacedrelated to 0010939

2019-02-20 06:33   
Oh, I also have over 360 animals. And it's running at 17fps. I had just queued up lots of slaughtering to try to fix this when it crashed for the first time (this way).
2019-02-20 06:35   
I have 4 1.3 gigabyte dump files, if you want them.
2019-02-20 12:16   
Running on MacOS, no crash was experienced by 7-12.

However, looking at the save shows evidence of armor list corruption as per 0011014. The offending item is SodelKudust, an electrum slab and the first entry in scrolls, codices, etc in Legends mode. No other armor list corruption is present.
2019-02-20 20:47   
0011014 crashes on play, this one crashes on save in the same manner as 0011030 and two saves from 0010939 (gdb backtrack is the same for these four saves). However still can be related, who knows in how many ways those vicious corruptions might bite your ass off.