Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004989Dwarf FortressTechnical -- Saving/Loadingpublic2011-12-20 11:252011-12-24 09:49
LinuxLinuxSlackware 13.0
0004989: Segfault on Reclaim (or "My savefile is corrupted, and I loved it")
Can anyone resurrect this thing?

http://ansistego.sf.net/dibesherib_crazygorge_save.tar.gz [^]

If it doesn't crash after five to ten minutes unpaused, especially after half an hour to an hour, I'll be very very interested in what you did, and I'll want it back (brilanon@gmail.com)

Marvel at my underground bee colony (I used channels to make it Light/Outdoors down there). I really want this save back! I couldn't get it to stop segfaulting so I abandoned, and now when I try to reclaim, I get a segfault. That's another thing to try: if it does crash on you, can you abandon it, then reclaim it, or do you get the crash then, too?
Load up my game, unpause, run it for half an hour or somewhat less. Or, abandon it and try to reclaim. IF you -cannot- reproduce the bug I'd like to know what you did and to try your copy of the save
Sorry this is sort of a personal problem
No tags attached.
duplicate of 0001271resolved Toady One Modding in SHELL body part after world generation results in crash 
has duplicate 0004998resolved Dwarfu Fortress can be abandoned but not reclaimed 
Issue History
2011-12-20 11:25flamootNew Issue
2011-12-20 12:55FootkerchiefNote Added: 0019213
2011-12-20 12:55FootkerchiefTag Attached: AWAITING UPDATE
2011-12-20 21:38flamootNote Added: 0019215
2011-12-20 21:46flamootNote Added: 0019216
2011-12-21 09:46flamootNote Added: 0019218
2011-12-21 10:28flamootNote Added: 0019219
2011-12-21 11:07kwielandNote Added: 0019220
2011-12-21 11:38FootkerchiefNote Added: 0019221
2011-12-22 08:57flamootNote Added: 0019231
2011-12-22 08:58flamootNote Added: 0019232
2011-12-22 08:58flamootNote Added: 0019233
2011-12-22 08:59flamootNote Added: 0019234
2011-12-22 09:12flamootNote Added: 0019235
2011-12-22 09:47FootkerchiefNote Added: 0019236
2011-12-22 09:49FootkerchiefRelationship addedduplicate of 0001271
2011-12-23 05:19flamootNote Added: 0019248
2011-12-23 06:59FootkerchiefNote Added: 0019249
2011-12-23 06:59FootkerchiefStatusnew => resolved
2011-12-23 06:59FootkerchiefResolutionopen => duplicate
2011-12-23 06:59FootkerchiefAssigned To => Footkerchief
2011-12-23 07:04DwarfuTag Detached: AWAITING UPDATE
2011-12-23 07:14flamootTag Attached: please still fix this
2011-12-23 08:06DwarfuTag Detached: please still fix this
2011-12-24 02:44flamootTag Attached: it wasnt the raws
2011-12-24 09:42DwarfuTag Detached: it wasnt the raws
2011-12-26 13:57DwarfuRelationship addedhas duplicate 0004998

2011-12-20 12:55   
Reminder sent to: flamoot

Please upload your save to http://dffd.wimbli.com/ [^] and post the link here.
2011-12-20 21:38   
I'm having trouble getting it uploaded there. It's not saying why it doesn't work it just drops the upload meter after some minutes. Can't you download it from sourceforge?
2011-12-20 21:46   
Here are my notes from dffd where I can't upload the file and finish the submission. Please do get the file from ansistego.sf.net that's the only place I can seem to get it to. I tried all night


If you load this game and unpause it you'll get a crash after a few minutes go by. I don't know what's responsible except running Dwarf Therapist 64-bit which got me wrong headcounts and seemed to write back spurious legendary statuses to several dwarves (I shouldn't have any Legendary Swordsmen). If this save is loaded in DT you should get a wrong headcount. And if it's abandoned and reclaimed you should get a crash. And if you let it run half an hour it should crash.

If none of those three things happens or one of those three things doesn't happen I want to know and I want your copy of the save (whatever you did to keep it from crashing)

I'd be happiest if I could load and play this again. Next best would be getting it to abandon and reclaim without crashing. This was my first fort, it lasted over 20 years through multiple sieges and I'd love to pick it up again, I had plans for it

Thanks so much
2011-12-21 09:46   
Maximum file size allowed: 100MB

Indeed, I can't upload 16MB whatever I do. It got up to over 70% one time.

The link I put in the body of the bug report to ansistego.sf.net is the save file. What is the problem with retrieving it from there?
2011-12-21 10:28   
I tried and tried. It times out. I even Googled about HTTP uploads timing out all the time and stuff and tried two different things I swear. Please download it from sourceforge, imagine how broken hearted I am right now
2011-12-21 11:07   
flamoot - I uploaded your save here:

http://dffd.wimbli.com/file.php?id=5285 [^]

Don't know why it didn't work for you. In general, though, reclaims are messed up. And, introducing DF Therapist introduces another cause for concern.
2011-12-21 11:38   
Yeah, if DT has written bad data, this could be permanently corrupted. I'm reluctantly leaving this report open -- if it's DT's fault, looking at this save would be a waste of time for Toady.

Do you have older saves you can revert to?
2011-12-22 08:57   
I'm afraid not
2011-12-22 08:58   
What I'm really thinking is possible is if you had a version with debugging symbols running in gdb it would tell you just where it broke. I'd be happy just knowing that. But maybe it'll turn out if I kill half my dwarves or something it stops because it's one of them but only when he's alive. That's my guess
2011-12-22 08:58   
I guess I can try that myself but someone with wizard mode could do it instantly. All the dfhack trainers are for windows...
2011-12-22 08:59   
If you could totally change out the living dwarves like go to population 0 without losing the game then trigger a migrant wave, the savegame might be cured.
2011-12-22 09:12   
By the way I made a small hack to the temperate large creatures raw and added wool to grizzly bears and black bears, iirc that file should be in the save, in case you need that to make it work. i think it shouldn't be necessary. the existing bears gained wool without any problems and it worked for a long time before i started using dwarf therapist and really messed it up. i think if their wool disappears it won't be a problem. uhh,

I've got other segfaults using dwarf therapist carelessly (without restarting it when I save my game, in particular) but not from RAW editing
2011-12-22 09:47   
Reminder sent to: flamoot

In the future, please edit existing notes instead of posting 5 separate notes in 15 minutes.

Did you add that material to your raws after world gen?
2011-12-23 05:19   
Yes. I've heard that's bad
2011-12-23 06:59   
Yeah, it's kind of the DF equivalent of voiding your warranty -- see 0001271.