Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005077Dwarf FortressDwarf Mode -- Embark/Setuppublic2012-02-14 15:112013-06-07 18:02
Toady One 
0005077: Browsing world gen map causes corrupted feature files
I'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 [^]
Load 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.
No tags attached.
related to 0003229resolved Footkerchief Crash when navigating over a particular region of the world in preparation for embarking (TrueType) 
related to 0005114resolved Toady One Segfault/crash when trying to save game in both Fortress and Adventure modes 
has duplicate 0002463resolved Footkerchief Reproducible crash on worldgen 
has duplicate 0002432resolved Footkerchief Worldgen crash while Placing Civilizations: Impoverished Word Selector 
has duplicate 0002713resolved Footkerchief Massive aboveground adamantine spire, dwarves ignore designations, sometimes crashes 
has duplicate 0005343resolved Footkerchief 3/4 of the map is a big hole going straight to hell. 
has duplicate 0005367resolved Footkerchief cavern cavein on world gen/starting as an adventurer. 
has duplicate 0005136resolved Footkerchief Adventure mode crashes immediately after starting 
has duplicate 0005187resolved Footkerchief Embarking in a specific area causes a non recoverable lock up 
has duplicate 0005401resolved Footkerchief Crash on attempt to enter Dwarf Mode 
has duplicate 0005043resolved Footkerchief Human city inside of sand cavern 
has duplicate 0004375resolved Footkerchief Dwarven Town is in Hell. Huge lag makes game unplayable. 
has duplicate 0005423resolved Footkerchief Immediate crash upon selecting world and going to the site finder screen 
has duplicate 0005425resolved Footkerchief regions beyond region 1 not selectable and other worldgen weirdness 
has duplicate 0005430resolved Footkerchief two more necromancy bugs 
has duplicate 0003831resolved Footkerchief Start a new fort, dwarves all idle. No work at all. 
has duplicate 0005306resolved Footkerchief A new embark site has lava in the sky, cavern collapsed, game hangs up 
has duplicate 0004163resolved Footkerchief World gen doing crazy things with cavern placement. 
has duplicate 0002268resolved Footkerchief Cavern Lake Placement Error - Crossed Layers 
has duplicate 0000051resolved Footkerchief Cavern collapse at embark 
has duplicate 0004833resolved Footkerchief When embarking, crashes when memory use reaches 2GB. 
has duplicate 0003356resolved Footkerchief Embarked on a mountain of Slade, with Eerie Pits immediately revealed. 
has duplicate 0003775resolved Footkerchief World gen problems 
has duplicate 0003101resolved Footkerchief Square pit all the way down 
has duplicate 0004840resolved Knight Otu giant square hole on embark to hfs 
has duplicate 0005268resolved Footkerchief Crash on Embark 
has duplicate 0005323resolved Footkerchief Entering Fast Travel Causes Crash 
has duplicate 0003884resolved Footkerchief Consistent adventurer travel mode crash 
has duplicate 0004385resolved Footkerchief The Underworld has Collapsed. 
has duplicate 0004940resolved Footkerchief Crash on embark 
has duplicate 0001721resolved Footkerchief Straight, rectilinear cliff edges 
has duplicate 0000594resolved Footkerchief Embarked on a crazy volcano tile, have found no raw gems 
has duplicate 0003072resolved Footkerchief Reproducible segmentation fault when choosing fortress location 
has duplicate 0003179resolved Footkerchief Generating worlds in sequence causes game crash 
has duplicate 0005978resolved Footkerchief Giant silt pillars taken from ground at embark. 
has duplicate 0004674resolved Footkerchief Immediate, massive lag on embark 
has duplicate 0004214resolved Footkerchief Underwater Volcano Crashes 
has duplicate 0000520resolved Footkerchief Wagon ended up in cave on embarkation 
has duplicate 0003406resolved Footkerchief Game crashes when selecting an embark location 
has duplicate 0004684resolved Footkerchief Bugged area appeared in cavern while playing. 
has duplicate 0003310resolved Footkerchief areas of semimolten rock and magma sea intersect with higher geological features in a very rectilinear manner. 
has duplicate 0002411resolved Footkerchief Volcano that pierces water cavern layer will drain into magma sea plus cave-ins. 
has duplicate 0003972resolved Footkerchief Crash at embark across a wide swath of the world (savage embark?) 
has duplicate 0003754resolved Footkerchief Crashes on embark screen when choosing place 
has duplicate 0003313resolved Footkerchief crash when starting game in dwarf mode. may relate to 0003229 
has duplicate 0004480resolved Footkerchief Crash or hang when embark has 3+ biomes 
has duplicate 0003435resolved Footkerchief generated world segfaults every time when starting dwarf mode, before reaching embark map 
has duplicate 0004762resolved Footkerchief Magma draining from volcano 
has duplicate 0001610resolved Footkerchief Buggy volcano - warm stone flag not properly placed on tiles around volcano 
has duplicate 0003545resolved Footkerchief River and lake water levels uneven, fps death ensues. 
has duplicate 0003317resolved Footkerchief Generated world causes segfault when you try and play it 
related to 0008190new  Embark Location has 2000+ Z Levels. Crashes on initial unpause 
Issue History
2012-02-14 15:11Lightning4New Issue
2012-02-14 16:59FootkerchiefRelationship addedchild of 0003229
2012-02-14 17:00FootkerchiefNote Added: 0019568
2012-02-14 17:00FootkerchiefTag Attached: AWAITING UPDATE
2012-02-14 21:08Lightning4Note Added: 0019594
2012-02-14 21:19FootkerchiefRelationship replacedrelated to 0003229
2012-02-14 21:20FootkerchiefNote Added: 0019596
2012-02-14 21:20FootkerchiefTag Detached: AWAITING UPDATE
2012-02-15 12:22Lightning4Note Added: 0019666
2012-02-17 01:14Toady OneNote Added: 0019912
2012-02-17 01:14Toady OneAssigned To => Toady One
2012-02-17 01:14Toady OneStatusnew => acknowledged
2012-02-18 22:56Lightning4Note Added: 0020093
2012-02-18 22:57Lightning4Note Edited: 0020093bug_revision_view_page.php?bugnote_id=0020093#r7505
2012-02-18 23:10Lightning4Note Edited: 0020093bug_revision_view_page.php?bugnote_id=0020093#r7506
2012-02-18 23:28Lightning4Note Edited: 0020093bug_revision_view_page.php?bugnote_id=0020093#r7507
2012-02-19 00:13Lightning4Note Edited: 0020093bug_revision_view_page.php?bugnote_id=0020093#r7508
2012-02-19 00:14Lightning4Note Deleted: 0020093
2012-02-19 00:14Lightning4Note Added: 0020097
2012-02-19 00:15Lightning4Note Edited: 0020097bug_revision_view_page.php?bugnote_id=0020097#r7510
2012-02-19 08:04FootkerchiefRelationship addedrelated to 0005114
2012-02-19 08:05FootkerchiefNote Added: 0020122
2012-02-19 12:14Lightning4Note Added: 0020152
2012-02-19 13:56Lightning4Note Added: 0020165
2012-02-19 13:57Lightning4Note Edited: 0020165bug_revision_view_page.php?bugnote_id=0020165#r7542
2012-02-19 15:44QuietustNote Added: 0020178
2012-02-19 15:49Toady OneNote Added: 0020179
2012-02-19 15:49Toady OneStatusacknowledged => resolved
2012-02-19 15:49Toady OneFixed in Version => Next Version
2012-02-19 15:49Toady OneResolutionopen => fixed
2012-02-20 14:41FootkerchiefSummarySpecific Embark Map Crash => Aborted world generation causes corrupted feature files
2012-02-20 14:43FootkerchiefRelationship addedhas duplicate 0002463
2012-02-20 14:44FootkerchiefSummaryAborted world generation causes corrupted feature files => Aborting world generation causes corrupted feature files
2012-02-20 14:44FootkerchiefRelationship addedrelated to 0002432
2012-02-20 14:44FootkerchiefRelationship addedrelated to 0002713
2012-02-20 15:52FootkerchiefRelationship addedhas duplicate 0005343
2012-02-20 15:53FootkerchiefRelationship replacedhas duplicate 0002432
2012-02-20 15:53FootkerchiefIssue Monitored: Lac
2012-02-21 08:47FootkerchiefRelationship addedhas duplicate 0005367
2012-02-21 13:50FootkerchiefRelationship addedhas duplicate 0005136
2012-02-22 15:10FootkerchiefRelationship addedrelated to 0005187
2012-02-22 17:38FootkerchiefRelationship addedhas duplicate 0005401
2012-02-23 05:52FootkerchiefRelationship addedhas duplicate 0005043
2012-02-23 05:52FootkerchiefRelationship addedhas duplicate 0004375
2012-02-23 05:52FootkerchiefIssue Monitored: Aescula
2012-02-23 05:52FootkerchiefIssue Monitored: DarthCloakedDwarf
2012-02-23 18:57FootkerchiefRelationship addedhas duplicate 0005423
2012-02-23 19:28FootkerchiefSummaryAborting world generation causes corrupted feature files => Browsing world gen map causes corrupted feature files
2012-02-23 19:30FootkerchiefRelationship addedhas duplicate 0005425
2012-02-24 07:18FootkerchiefRelationship addedhas duplicate 0005430
2012-02-25 13:23FootkerchiefRelationship addedhas duplicate 0003831
2012-02-26 16:26FootkerchiefRelationship addedhas duplicate 0005306
2012-02-26 16:26FootkerchiefIssue Monitored: Toady One
2012-02-28 09:27FootkerchiefRelationship addedhas duplicate 0004163
2012-03-06 08:13FootkerchiefRelationship addedhas duplicate 0002268
2012-03-06 09:01FootkerchiefRelationship addedhas duplicate 0000051
2012-03-06 09:01FootkerchiefIssue Monitored: Logical2u
2012-03-06 09:01FootkerchiefIssue Monitored: Avenger
2012-03-06 09:01FootkerchiefIssue Monitored: Khym Chanur
2012-03-06 09:01FootkerchiefIssue Monitored: ItEndsWithTens
2012-03-06 09:01FootkerchiefIssue Monitored: cyclotis04
2012-03-06 09:01FootkerchiefIssue Monitored: lord_chaos22000
2012-03-06 09:01FootkerchiefIssue Monitored: pollo2019
2012-03-06 09:01FootkerchiefIssue Monitored: vasiln
2012-03-06 09:01FootkerchiefIssue Monitored: JZE
2012-03-06 09:11FootkerchiefRelationship addedhas duplicate 0004833
2012-03-06 09:11FootkerchiefIssue Monitored: Buglist
2012-03-06 09:12FootkerchiefRelationship addedhas duplicate 0003356
2012-03-06 09:12FootkerchiefIssue Monitored: watchfulmantis
2012-03-06 09:12FootkerchiefRelationship addedhas duplicate 0003775
2012-03-06 09:20FootkerchiefRelationship addedhas duplicate 0003101
2012-03-06 09:20FootkerchiefIssue Monitored: asagi
2012-03-06 09:21FootkerchiefRelationship addedhas duplicate 0004840
2012-03-06 09:24FootkerchiefRelationship replacedhas duplicate 0002713
2012-03-06 09:24FootkerchiefIssue Monitored: InsanityPrelude
2012-03-06 09:24FootkerchiefIssue Monitored: Animagus
2012-03-06 09:24FootkerchiefIssue Monitored: devek
2012-03-06 09:24FootkerchiefIssue Monitored: Malibu Stacey
2012-03-06 09:24FootkerchiefIssue Monitored: Andrakon
2012-03-06 12:44FootkerchiefRelationship replacedhas duplicate 0005187
2012-03-06 13:07FootkerchiefRelationship addedhas duplicate 0005268
2012-03-06 20:13FootkerchiefRelationship addedhas duplicate 0005323
2012-03-06 20:13FootkerchiefIssue Monitored: kingpeonidas
2012-03-06 20:32FootkerchiefRelationship addedhas duplicate 0003884
2012-03-06 20:43FootkerchiefRelationship addedhas duplicate 0004385
2012-03-07 08:48BuglistIssue End Monitor: Buglist
2012-03-28 08:19FootkerchiefRelationship addedhas duplicate 0004940
2012-03-29 16:27FootkerchiefRelationship addedhas duplicate 0001721
2012-03-30 06:51FootkerchiefRelationship addedhas duplicate 0000594
2012-03-30 06:51FootkerchiefIssue Monitored: Footkerchief
2012-04-01 09:23FootkerchiefRelationship addedhas duplicate 0003072
2012-04-01 09:23FootkerchiefIssue Monitored: dree12
2012-04-01 09:23FootkerchiefIssue Monitored: vyznev
2012-04-01 17:52dree12Issue End Monitor: dree12
2012-05-31 10:26FootkerchiefRelationship addedhas duplicate 0003179
2012-05-31 10:26FootkerchiefIssue Monitored: RossM
2012-06-03 21:15FootkerchiefRelationship addedrelated to 0005978
2012-07-05 06:50Malibu StaceyIssue End Monitor: Malibu Stacey
2013-06-07 18:02InsanityPreludeIssue End Monitor: InsanityPrelude
2014-01-20 19:24FootkerchiefRelationship addedhas duplicate 0004674
2014-01-20 19:41FootkerchiefRelationship replacedhas duplicate 0005978
2014-01-20 19:41FootkerchiefIssue Monitored: Pufferfish
2014-01-21 19:54FootkerchiefRelationship addedhas duplicate 0004214
2014-01-22 12:18FootkerchiefRelationship addedhas duplicate 0000520
2014-01-24 06:57FootkerchiefRelationship addedhas duplicate 0003406
2014-01-26 10:31FootkerchiefRelationship addedhas duplicate 0004684
2014-01-26 10:34FootkerchiefRelationship addedhas duplicate 0003310
2014-01-26 10:35FootkerchiefRelationship addedhas duplicate 0002411
2014-01-26 10:35FootkerchiefIssue Monitored: twilighdusk
2014-01-27 10:55FootkerchiefRelationship addedhas duplicate 0003972
2014-01-27 21:40FootkerchiefRelationship addedhas duplicate 0003754
2014-01-27 22:29FootkerchiefRelationship addedhas duplicate 0003313
2014-01-28 05:57FootkerchiefRelationship addedhas duplicate 0004480
2014-01-28 05:57FootkerchiefIssue Monitored: thermite
2014-01-28 06:18FootkerchiefRelationship addedhas duplicate 0003435
2014-02-17 11:24FootkerchiefRelationship addedhas duplicate 0004762
2014-02-17 11:24FootkerchiefIssue Monitored: Zara
2014-02-17 11:31FootkerchiefRelationship addedhas duplicate 0001610
2014-07-27 12:53FootkerchiefRelationship addedhas duplicate 0003545
2014-08-04 09:55FootkerchiefRelationship addedhas duplicate 0003317
2014-08-31 09:53lethosorRelationship addedrelated to 0008190

2012-02-14 17:00   
Reminder sent to: Lightning4

Are you using TrueType? If so, does it still crash with TrueType disabled?
2012-02-14 21:08   
Tested both with it on and off, and at it's default value. Crashes no matter what it is set to.
2012-02-14 21:20   
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.
2012-02-15 12:22   
Done. http://dffd.wimbli.com/file.php?id=5516 [^]
Toady One   
2012-02-17 01:14   
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.
2012-02-19 00:14   
(edited on: 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.

2012-02-19 08:05   
Can you reproduce this problem in 0.34.02? A save corruption error was fixed in this release: 0005114
2012-02-19 12:14   
Yeah, I'm able to reproduce it in 34.02.
2012-02-19 13:56   
(edited on: 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.

2012-02-19 15:44   
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   
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.