View Issue Details

IDProjectCategoryView StatusLast Update
0008497Dwarf FortressMiscellaneous Crashespublic2014-12-30 18:22
Reporterlatias1290 Assigned Tolethosor  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionduplicate 
PlatformPCOSLinux, ZorinOS Version8
Product Version0.40.14 
Summary0008497: Segmentation fault
DescriptionShortly after loading this save, say 1 or 2 minutes, the game crashes, and "Segmentation fault (core dumped)" is printed to the log. Since this log is not available on Windows I'm not sure if this will be that easy to narrow down.

I thought putting the core dump here would be helpful, but I couldn't find it. :/

The first time this crash occurred I looked at the gamelog.txt, and I saw a message that I didn't see in-game. It said that the outpost liaison and caravan from my parent civ arrived, so I think that the creation of the caravan and liaison might be related to the crash. Note that I tried to do this again a few times, but every other time I tried reproducing the crash, the message was not there. But since it was there the first time I still think it is related. Also, I did not get any visit from the elves in the previous season, and since it is the second year, I should be getting one.

Another possibly related thing is that during the last winter and spring, I did not get any migrants. I did get migrants during the first summer, the first autumn, and the last summer, but not during the winter or spring. I don't know if this could be related, but possibly. (Some people on the forums suggested that the migrants may have died from the cold on the way to the fort.)

I might want to put here that the save was generated in 40.13. I don't know if the crash also occurs in that version.
Steps To ReproduceLoad the save in 40.14, and wait a bit.
TagsNo tags attached.

Relationships

duplicate of 0008362 resolvedToady One Unretired fortress crashes after some game days 
related to 0006523 confirmeduser6 Crash after generating world and immediately reclaiming/unretiring a worldgen fortress 

Activities

latias1290

2014-11-01 02:25

reporter   ~0030820

Forgot to put link to save, derp: http://dffd.wimbli.com/file.php?id=10010

lethosor

2014-11-01 07:39

manager   ~0030823

It does not appear to be related to the caravan, but it seems to always occur on the 10th of Limestone.

ptb_ptb

2014-11-01 08:23

reporter   ~0030824

Last edited: 2014-11-01 08:31

There are some crashy saves here
http://www.bay12games.com/dwarves/mantisbt/view.php?id=8362
and here
http://www.bay12games.com/dwarves/mantisbt/view.php?id=8398

Do they look like the same thing? I use Windows 7 not Linux

Your save crashes on my computer too, btw.

http://imagr.eu/up/5454fcb46162f_crash.png

lethosor

2014-11-01 10:56

manager   ~0030826

It's difficult to tell what the cause is, so I'm not sure if they're related, but reproducible save-specific bugs are almost never platform-specific.

Quietust

2014-11-01 11:58

reporter   ~0030827

Latias1290: somehow, your world is heavily corrupted - the "discovered creatures/plants" lists for your fortress(1) are completely empty, and the ones for your civilization and local government(2) contain single bytes with nonsense values (for reference, they should contain one byte per valid creature/plant gloss). The actual crash is occurring when attempting to mark a plant as "discovered".

(1) DFHack Lua "df.global.ui.tasks.discovered_*"
(2) DFHack Lua "historical_entity.resources.discovered_*"

latias1290

2014-11-01 14:50

reporter   ~0030829

Last edited: 2014-11-02 02:22

@Quietust Does that mean that the save is irrevocably dead? Also, would disabling save compression prevent this kind of corruption in the future?

latias1290

2014-11-01 14:57

reporter   ~0030830

Last edited: 2014-11-02 02:19

@ptb_ptb Yes, they crash in the same way. The way windows handles it is way different though. Also, the first one you mentioned also says that they retired the fort earlier, which I did as well. That could narrow down the cause - maybe retiring forts is bugged.

Not sure if it could be one of the symptoms, but briefly after unretiring my Woodcutter went melancholy saying that he was "overthrown by the stresses of day-to-day living". To the best of my knowledge none of my dwarves was unhappy before I unretired. I retired the fort due to the lack of migrants, which only seemed to appear during summer and autumn. I thought that they didn't arrive because they died of the cold on the way to the fortress.

latias1290

2014-12-22 13:01

reporter   ~0031438

I believe that 0008362 is related to this, as I unretired the fort not long before the crash occurred on that save.

lethosor

2014-12-30 18:22

manager   ~0031568

Toady's comment at 0008362:0031563 makes this sound like it's a duplicate of 0008362. If you can reproduce this in 0.40.24+ with a fresh world (I'm not sure if existing worlds are fixable), please reopen this report or PM me on the forums.

Issue History

Date Modified Username Field Change
2014-11-01 02:24 latias1290 New Issue
2014-11-01 02:25 latias1290 Note Added: 0030820
2014-11-01 07:39 lethosor Note Added: 0030823
2014-11-01 07:39 lethosor Assigned To => lethosor
2014-11-01 07:39 lethosor Status new => acknowledged
2014-11-01 08:23 ptb_ptb Note Added: 0030824
2014-11-01 08:31 ptb_ptb Note Edited: 0030824
2014-11-01 10:56 lethosor Note Added: 0030826
2014-11-01 11:58 Quietust Note Added: 0030827
2014-11-01 14:50 latias1290 Note Added: 0030829
2014-11-01 14:57 latias1290 Note Added: 0030830
2014-11-02 02:19 latias1290 Note Edited: 0030830
2014-11-02 02:22 latias1290 Note Edited: 0030829
2014-12-22 13:01 latias1290 Note Added: 0031438
2014-12-23 07:50 user6 Relationship added related to 0006523
2014-12-30 18:22 lethosor Note Added: 0031568
2014-12-30 18:22 lethosor Relationship added duplicate of 0008362
2014-12-30 18:22 lethosor Status acknowledged => resolved
2014-12-30 18:22 lethosor Resolution open => duplicate