View Issue Details

IDProjectCategoryView StatusLast Update
0005077Dwarf FortressDwarf Mode -- Embark/Setuppublic2013-06-07 18:02
ReporterLightning4 Assigned ToToady One  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.34.01 
Fixed in Version0.34.03 
Summary0005077: Browsing world gen map causes corrupted feature files
DescriptionI'm getting an oddly specific crash bug on this map, in the ocean just south of the default embark location. Shift=down a few times and you'll land in it, and DF will immediately crash.

If default embark somehow happens to not be near it, it's the Indigo Seas, located on the left side of the map. Middle.

Save file: http://l4.selb.us/region2.7z
Steps To ReproduceLoad it up, go to the middle of the Indigo Seas, located on the left side of middle-map. Crash will not occur on edges, only when you go deeper inside.
TagsNo tags attached.

Relationships

related to 0003229 resolveduser6 Crash when navigating over a particular region of the world in preparation for embarking (TrueType) 
related to 0005114 resolvedToady One Segfault/crash when trying to save game in both Fortress and Adventure modes 
has duplicate 0002463 resolveduser6 Reproducible crash on worldgen 
has duplicate 0002432 resolveduser6 Worldgen crash while Placing Civilizations: Impoverished Word Selector 
has duplicate 0002713 resolveduser6 Massive aboveground adamantine spire, dwarves ignore designations, sometimes crashes 
has duplicate 0005343 resolveduser6 3/4 of the map is a big hole going straight to hell. 
has duplicate 0005367 resolveduser6 cavern cavein on world gen/starting as an adventurer. 
has duplicate 0005136 resolveduser6 Adventure mode crashes immediately after starting 
has duplicate 0005187 resolveduser6 Embarking in a specific area causes a non recoverable lock up 
has duplicate 0005401 resolveduser6 Crash on attempt to enter Dwarf Mode 
has duplicate 0005043 resolveduser6 Human city inside of sand cavern 
has duplicate 0004375 resolveduser6 Dwarven Town is in Hell. Huge lag makes game unplayable. 
has duplicate 0005423 resolveduser6 Immediate crash upon selecting world and going to the site finder screen 
has duplicate 0005425 resolveduser6 regions beyond region 1 not selectable and other worldgen weirdness 
has duplicate 0005430 resolveduser6 two more necromancy bugs 
has duplicate 0003831 resolveduser6 Start a new fort, dwarves all idle. No work at all. 
has duplicate 0005306 resolveduser6 A new embark site has lava in the sky, cavern collapsed, game hangs up 
has duplicate 0004163 resolveduser6 World gen doing crazy things with cavern placement. 
has duplicate 0002268 resolveduser6 Cavern Lake Placement Error - Crossed Layers 
has duplicate 0000051 resolveduser6 Cavern collapse at embark 
has duplicate 0004833 resolveduser6 When embarking, crashes when memory use reaches 2GB. 
has duplicate 0003356 resolveduser6 Embarked on a mountain of Slade, with Eerie Pits immediately revealed. 
has duplicate 0003775 resolveduser6 World gen problems 
has duplicate 0003101 resolveduser6 Square pit all the way down 
has duplicate 0004840 resolveduser1294 giant square hole on embark to hfs 
has duplicate 0005268 resolveduser6 Crash on Embark 
has duplicate 0005323 resolveduser6 Entering Fast Travel Causes Crash 
has duplicate 0003884 resolveduser6 Consistent adventurer travel mode crash 
has duplicate 0004385 resolveduser6 The Underworld has Collapsed. 
has duplicate 0004940 resolveduser6 Crash on embark 
has duplicate 0001721 resolveduser6 Straight, rectilinear cliff edges 
has duplicate 0000594 resolveduser6 Embarked on a crazy volcano tile, have found no raw gems 
has duplicate 0003072 resolveduser6 Reproducible segmentation fault when choosing fortress location 
has duplicate 0003179 resolveduser6 Generating worlds in sequence causes game crash 
has duplicate 0005978 resolveduser6 Giant silt pillars taken from ground at embark. 
has duplicate 0004674 resolveduser6 Immediate, massive lag on embark 
has duplicate 0004214 resolveduser6 Underwater Volcano Crashes 
has duplicate 0000520 resolveduser6 Wagon ended up in cave on embarkation 
has duplicate 0003406 resolveduser6 Game crashes when selecting an embark location 
has duplicate 0004684 resolveduser6 Bugged area appeared in cavern while playing. 
has duplicate 0003310 resolveduser6 areas of semimolten rock and magma sea intersect with higher geological features in a very rectilinear manner. 
has duplicate 0002411 resolveduser6 Volcano that pierces water cavern layer will drain into magma sea plus cave-ins. 
has duplicate 0003972 resolveduser6 Crash at embark across a wide swath of the world (savage embark?) 
has duplicate 0003754 resolveduser6 Crashes on embark screen when choosing place 
has duplicate 0003313 resolveduser6 crash when starting game in dwarf mode. may relate to 0003229 
has duplicate 0004480 resolveduser6 Crash or hang when embark has 3+ biomes 
has duplicate 0003435 resolveduser6 generated world segfaults every time when starting dwarf mode, before reaching embark map 
has duplicate 0004762 resolveduser6 Magma draining from volcano 
has duplicate 0001610 resolveduser6 Buggy volcano - warm stone flag not properly placed on tiles around volcano 
has duplicate 0003545 resolveduser6 River and lake water levels uneven, fps death ensues. 
has duplicate 0003317 resolveduser6 Generated world causes segfault when you try and play it 
related to 0008190 new Embark Location has 2000+ Z Levels. Crashes on initial unpause 

Activities

user6

2012-02-14 17:00

  ~0019568

Reminder sent to: Lightning4

Are you using TrueType? If so, does it still crash with TrueType disabled?

Lightning4

2012-02-14 21:08

reporter   ~0019594

Tested both with it on and off, and at it's default value. Crashes no matter what it is set to.

user6

2012-02-14 21:20

  ~0019596

Reminder sent to: Lightning4

Thanks. Please reupload your save to http://dffd.wimbli.com/ -- sometimes personal hosting goes down for whatever reason and then we can't get the save.

Lightning4

2012-02-15 12:22

reporter   ~0019666

Done. http://dffd.wimbli.com/file.php?id=5516

Toady One

2012-02-17 01:14

administrator   ~0019912

Had this world been played? If so, what modes and for how long? The feature files are corrupted. Theoretically you can delete all the feature* files from the data/save/region folder to fix it, though that could have side effects. It'll be difficult to track the source of the corruption without more information.

Lightning4

2012-02-19 00:14

reporter   ~0020097

Last edited: 2012-02-19 00:15

Nah, this was a newly generated world. I only looked around in legends mode and looked at the world map a bit.

Found the issue though. Data from exploring the world map isn't being cleared from /current/. Worldgen doesn't clear the folder, so it takes the existing files along with the newly generated world files.

user6

2012-02-19 08:05

  ~0020122

Can you reproduce this problem in 0.34.02? A save corruption error was fixed in this release: 0005114

Lightning4

2012-02-19 12:14

reporter   ~0020152

Yeah, I'm able to reproduce it in 34.02.

Lightning4

2012-02-19 13:56

reporter   ~0020165

Last edited: 2012-02-19 13:57

Going to double post, sorry, but my findings are... interesting.
I've discovered this bug exists as long as feature files have gone into the /current/ folder while browsing the map. This seems to occur early in to the 31.## series.
This seems to have caused varying responses through the series. I reproduced 0002432 exactly in 31.08, so this may very well be the cause of that. Does not seem to occur anymore. However, extensive feature file corruption can cause a crash immediately on worldgen in 34.02 and 34.01.
Aborted worldgens also seem to leave their region files behind, but I'm not sure if this has any impact on the next generated world.

And as a bit of a buzzkill, I believe this is, in fact, the cause of the strange worldgen glitches such as the adamantine spire. I went through a few saves to see if I can see the same problem.

0005279 - Contains feature files created at the same time as worldgen files. Testing a neighboring embark with and without feature files confirms that they are the culprit.
0004163 - Contains a LOT of feature files created at the same time as worldgen files.

I can't confirm a link with the older adamantine spire save though, as every feature file for that has been modified and has different dates from the rest of the worldgen files.
But other adamantine spire saves found on the file depot do contain these files.

Quietust

2012-02-19 15:44

reporter   ~0020178

Corrupted feature files would certainly explain adamantine spires, since adamantine tubes are map features (along with rivers, caves, deep pits, magma pools, volcanoes, underworld portals, and the caverns/magma sea/underworld themselves).

Toady One

2012-02-19 15:49

administrator   ~0020179

Ah, awesome. I've been trying to figure out the corrupted feature files for a long time now, and I think that'll do it. I never abort out of embarks (if that's the main way to get it), so it hasn't happened for me during regular testing. The game'll now clear the current folder at various opportune moments.

Issue History

Date Modified Username Field Change
2012-02-14 15:11 Lightning4 New Issue
2012-02-14 16:59 user6 Relationship added child of 0003229
2012-02-14 17:00 user6 Note Added: 0019568
2012-02-14 17:00 user6 Tag Attached: AWAITING UPDATE
2012-02-14 21:08 Lightning4 Note Added: 0019594
2012-02-14 21:19 user6 Relationship replaced related to 0003229
2012-02-14 21:20 user6 Note Added: 0019596
2012-02-14 21:20 user6 Tag Detached: AWAITING UPDATE
2012-02-15 12:22 Lightning4 Note Added: 0019666
2012-02-17 01:14 Toady One Note Added: 0019912
2012-02-17 01:14 Toady One Assigned To => Toady One
2012-02-17 01:14 Toady One Status new => acknowledged
2012-02-19 00:14 Lightning4 Note Added: 0020097
2012-02-19 00:15 Lightning4 Note Edited: 0020097
2012-02-19 08:04 user6 Relationship added related to 0005114
2012-02-19 08:05 user6 Note Added: 0020122
2012-02-19 12:14 Lightning4 Note Added: 0020152
2012-02-19 13:56 Lightning4 Note Added: 0020165
2012-02-19 13:57 Lightning4 Note Edited: 0020165
2012-02-19 15:44 Quietust Note Added: 0020178
2012-02-19 15:49 Toady One Note Added: 0020179
2012-02-19 15:49 Toady One Status acknowledged => resolved
2012-02-19 15:49 Toady One Fixed in Version => Next Version
2012-02-19 15:49 Toady One Resolution open => fixed
2012-02-20 14:41 user6 Summary Specific Embark Map Crash => Aborted world generation causes corrupted feature files
2012-02-20 14:43 user6 Relationship added has duplicate 0002463
2012-02-20 14:44 user6 Summary Aborted world generation causes corrupted feature files => Aborting world generation causes corrupted feature files
2012-02-20 14:44 user6 Relationship added related to 0002432
2012-02-20 14:44 user6 Relationship added related to 0002713
2012-02-20 15:52 user6 Relationship added has duplicate 0005343
2012-02-20 15:53 user6 Relationship replaced has duplicate 0002432
2012-02-21 08:47 user6 Relationship added has duplicate 0005367
2012-02-21 13:50 user6 Relationship added has duplicate 0005136
2012-02-22 15:10 user6 Relationship added related to 0005187
2012-02-22 17:38 user6 Relationship added has duplicate 0005401
2012-02-23 05:52 user6 Relationship added has duplicate 0005043
2012-02-23 05:52 user6 Relationship added has duplicate 0004375
2012-02-23 18:57 user6 Relationship added has duplicate 0005423
2012-02-23 19:28 user6 Summary Aborting world generation causes corrupted feature files => Browsing world gen map causes corrupted feature files
2012-02-23 19:30 user6 Relationship added has duplicate 0005425
2012-02-24 07:18 user6 Relationship added has duplicate 0005430
2012-02-25 13:23 user6 Relationship added has duplicate 0003831
2012-02-26 16:26 user6 Relationship added has duplicate 0005306
2012-02-28 09:27 user6 Relationship added has duplicate 0004163
2012-03-06 08:13 user6 Relationship added has duplicate 0002268
2012-03-06 09:01 user6 Relationship added has duplicate 0000051
2012-03-06 09:11 user6 Relationship added has duplicate 0004833
2012-03-06 09:12 user6 Relationship added has duplicate 0003356
2012-03-06 09:12 user6 Relationship added has duplicate 0003775
2012-03-06 09:20 user6 Relationship added has duplicate 0003101
2012-03-06 09:21 user6 Relationship added has duplicate 0004840
2012-03-06 09:24 user6 Relationship replaced has duplicate 0002713
2012-03-06 12:44 user6 Relationship replaced has duplicate 0005187
2012-03-06 13:07 user6 Relationship added has duplicate 0005268
2012-03-06 20:13 user6 Relationship added has duplicate 0005323
2012-03-06 20:32 user6 Relationship added has duplicate 0003884
2012-03-06 20:43 user6 Relationship added has duplicate 0004385
2012-03-28 08:19 user6 Relationship added has duplicate 0004940
2012-03-29 16:27 user6 Relationship added has duplicate 0001721
2012-03-30 06:51 user6 Relationship added has duplicate 0000594
2012-04-01 09:23 user6 Relationship added has duplicate 0003072
2012-05-31 10:26 user6 Relationship added has duplicate 0003179
2012-06-03 21:15 user6 Relationship added related to 0005978
2014-01-20 19:24 user6 Relationship added has duplicate 0004674
2014-01-20 19:41 user6 Relationship replaced has duplicate 0005978
2014-01-21 19:54 user6 Relationship added has duplicate 0004214
2014-01-22 12:18 user6 Relationship added has duplicate 0000520
2014-01-24 06:57 user6 Relationship added has duplicate 0003406
2014-01-26 10:31 user6 Relationship added has duplicate 0004684
2014-01-26 10:34 user6 Relationship added has duplicate 0003310
2014-01-26 10:35 user6 Relationship added has duplicate 0002411
2014-01-27 10:55 user6 Relationship added has duplicate 0003972
2014-01-27 21:40 user6 Relationship added has duplicate 0003754
2014-01-27 22:29 user6 Relationship added has duplicate 0003313
2014-01-28 05:57 user6 Relationship added has duplicate 0004480
2014-01-28 06:18 user6 Relationship added has duplicate 0003435
2014-02-17 11:24 user6 Relationship added has duplicate 0004762
2014-02-17 11:31 user6 Relationship added has duplicate 0001610
2014-07-27 12:53 user6 Relationship added has duplicate 0003545
2014-08-04 09:55 user6 Relationship added has duplicate 0003317
2014-08-31 09:53 lethosor Relationship added related to 0008190