Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003225Dwarf FortressWorld Generation -- Generalpublic2010-09-15 02:472014-11-25 13:08
bumblepuppy 
Footkerchief 
normalcrashsometimes
resolvedunable to reproduce 
LinuxUbuntu10.04
0.31.12 
 
0003225: Worldgen crash after creating lakes/minerals on a rectangular map
Ocassionally DF will crash when I attempt to create a world with the following parameters:

[WORLD_GEN]
    [TITLE:GLACIER3]
    [DIM:257:17]
    [EMBARK_POINTS:1274]
    [END_YEAR:1000]
    [BEAST_END_YEAR:200:80]
    [REVEAL_ALL_HISTORY:1]
    [CULL_HISTORICAL_FIGURES:0]
    [ELEVATION:1:400:300:50]
    [RAINFALL:0:100:300:26]
    [TEMPERATURE:-100:0:2000:3000]
    [DRAINAGE:0:100:400:298]
    [VOLCANISM:0:100:500:100]
    [SAVAGERY:0:100:400:100]
    [ELEVATION_FREQUENCY:2:2:1:5:4:2]
    [RAIN_FREQUENCY:2:10:1:1:1:10]
    [DRAINAGE_FREQUENCY:3:10:1:1:1:10]
    [TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
    [SAVAGERY_FREQUENCY:1:1:1:1:1:1]
    [VOLCANISM_FREQUENCY:2:1:1:1:1:5]
    [TITAN_NUMBER:3]
    [TITAN_ATTACK_TRIGGER:80:0:100000]
    [DEMON_NUMBER:22]
    [GOOD_SQ_COUNTS:40:22:0]
    [EVIL_SQ_COUNTS:40:22:0]
    [PEAK_NUMBER_MIN:0]
    [PARTIAL_OCEAN_EDGE_MIN:0]
    [COMPLETE_OCEAN_EDGE_MIN:0]
    [VOLCANO_MIN:50]
    [REGION_COUNTS:SWAMP:0:0:0]
    [REGION_COUNTS:DESERT:0:0:0]
    [REGION_COUNTS:FOREST:0:0:0]
    [REGION_COUNTS:MOUNTAINS:0:0:0]
    [REGION_COUNTS:OCEAN:0:0:0]
    [REGION_COUNTS:GLACIER:0:0:0]
    [REGION_COUNTS:TUNDRA:0:0:0]
    [REGION_COUNTS:GRASSLAND:0:0:0]
    [REGION_COUNTS:HILLS:0:0:0]
    [EROSION_CYCLE_COUNT:250]
    [RIVER_MINS:26:26]
    [PERIODICALLY_ERODE_EXTREMES:1]
    [OROGRAPHIC_PRECIPITATION:1]
    [SUBREGION_MAX:2000]
    [CAVERN_LAYER_COUNT:3]
    [CAVERN_LAYER_OPENNESS_MIN:0]
    [CAVERN_LAYER_OPENNESS_MAX:100]
    [CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
    [CAVERN_LAYER_PASSAGE_DENSITY_MAX:50]
    [CAVERN_LAYER_WATER_MIN:30]
    [CAVERN_LAYER_WATER_MAX:100]
    [HAVE_BOTTOM_LAYER_1:1]
    [HAVE_BOTTOM_LAYER_2:1]
    [LEVELS_ABOVE_GROUND:15]
    [LEVELS_ABOVE_LAYER_1:5]
    [LEVELS_ABOVE_LAYER_2:1]
    [LEVELS_ABOVE_LAYER_3:1]
    [LEVELS_ABOVE_LAYER_4:1]
    [LEVELS_ABOVE_LAYER_5:2]
    [LEVELS_AT_BOTTOM:1]
    [CAVE_MIN_SIZE:5]
    [CAVE_MIN_SIZE:5]
    [CAVE_MAX_SIZE:25]
    [MOUNTAIN_CAVE_MIN:10]
    [NON_MOUNTAIN_CAVE_MIN:20]
    [ALL_CAVES_VISIBLE:0]
    [SHOW_EMBARK_TUNNEL:2]
    [TOTAL_CIV_NUMBER:7]
    [TOTAL_CIV_POPULATION:15000]
    [PLAYABLE_CIVILIZATION_REQUIRED:1]
    [ELEVATION_RANGES:0:0:0]
    [RAIN_RANGES:0:0:0]
    [DRAINAGE_RANGES:0:0:0]
    [SAVAGERY_RANGES:0:0:0]
    [VOLCANISM_RANGES:0:0:0]


It appears (I can not confirm this is absolutely true) to more likely crash when elevation variance is increased. And the crash always occurs when it finishes creating lakes and minerals.
Create a world with the provided parameters.
I started DF through the terminal and got this when it crashed. The game also crashed when I attempted to run a windows version of DF through wine. I am using the graphics set from http://dffd.wimbli.com/file.php?id=2533 [^]


*** glibc detected *** ./libs/Dwarf_Fortress: double free or corruption (!prev): 0xb2a61270 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x1a1591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0x1a2de8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x1a5ecd]
/home/colin/Documents/df_linux/libs/libstdc++.so.6(_ZdlPv+0x21)[0xafd0b1]
/home/colin/Documents/df_linux/libs/libstdc++.so.6(_ZdaPv+0x1d)[0xafd10d]
./libs/Dwarf_Fortress[0x875bb49]
======= Memory map: ========
00110000-00134000 r-xp 00000000 08:01 2753563 /lib/tls/i686/cmov/libm-2.11.1.so
00134000-00135000 r--p 00023000 08:01 2753563 /lib/tls/i686/cmov/libm-2.11.1.so
00135000-00136000 rw-p 00024000 08:01 2753563 /lib/tls/i686/cmov/libm-2.11.1.so
00136000-00289000 r-xp 00000000 08:01 2753555 /lib/tls/i686/cmov/libc-2.11.1.so
00289000-0028a000 ---p 00153000 08:01 2753555 /lib/tls/i686/cmov/libc-2.11.1.so
0028a000-0028c000 r--p 00153000 08:01 2753555 /lib/tls/i686/cmov/libc-2.11.1.so
0028c000-0028d000 rw-p 00155000 08:01 2753555 /lib/tls/i686/cmov/libc-2.11.1.so
0028d000-00290000 rw-p 00000000 00:00 0
00290000-00293000 r-xp 00000000 08:01 2362970 /usr/lib/libpulse-simple.so.0.0.3
00293000-00294000 r--p 00002000 08:01 2362970 /usr/lib/libpulse-simple.so.0.0.3
00294000-00295000 rw-p 00003000 08:01 2362970 /usr/lib/libpulse-simple.so.0.0.3
00295000-002d5000 r-xp 00000000 08:01 2362972 /usr/lib/libpulse.so.0.12.2
002d5000-002d6000 r--p 00040000 08:01 2362972 /usr/lib/libpulse.so.0.12.2
002d6000-002d7000 rw-p 00041000 08:01 2362972 /usr/lib/libpulse.so.0.12.2
002d7000-0034a000 r-xp 00000000 08:01 2362383 /usr/lib/libdirectfb-1.2.so.0.8.0
0034a000-0034b000 ---p 00073000 08:01 2362383 /usr/lib/libdirectfb-1.2.so.0.8.0
0034b000-0034c000 r--p 00073000 08:01 2362383 /usr/lib/libdirectfb-1.2.so.0.8.0
0034c000-0034d000 rw-p 00074000 08:01 2362383 /usr/lib/libdirectfb-1.2.so.0.8.0
0034d000-0034e000 rw-p 00000000 00:00 0
0034e000-00356000 r-xp 00000000 08:01 2362458 /usr/lib/libfusion-1.2.so.0.8.0
00356000-00357000 r--p 00007000 08:01 2362458 /usr/lib/libfusion-1.2.so.0.8.0
00357000-00358000 rw-p 00008000 08:01 2362458 /usr/lib/libfusion-1.2.so.0.8.0
00358000-00395000 r-xp 00000000 08:01 2362561 /usr/lib/libgobject-2.0.so.0.2400.1
00395000-00396000 r--p 0003c000 08:01 2362561 /usr/lib/libgobject-2.0.so.0.2400.1
00396000-00397000 rw-p 0003d000 08:01 2362561 /usr/lib/libgobject-2.0.so.0.2400.1
00397000-003a2000 r-xp 00000000 08:01 2359580 /usr/lib/libSDL_image-1.2.so.0.8.2
003a2000-003a3000 r--p 0000a000 08:01 2359580 /usr/lib/libSDL_image-1.2.so.0.8.2
003a3000-003a4000 rw-p 0000b000 08:01 2359580 /usr/lib/libSDL_image-1.2.so.0.8.2
003a4000-003b4000 rw-p 00000000 00:00 0
003b4000-0050c000 r-xp 00000000 08:01 10486679 /home/colin/Documents/df_linux/libs/libgraphics.so
0050c000-0050f000 r--p 00157000 08:01 10486679 /home/colin/Documents/df_linux/libs/libgraphics.so
0050f000-00510000 rw-p 0015a000 08:01 10486679 /home/colin/Documents/df_linux/libs/libgraphics.so
00510000-007ef000 rw-p 00000000 00:00 0
007ef000-007f6000 r-xp 00000000 08:01 2753585 /lib/tls/i686/cmov/librt-2.11.1.so
007f6000-007f7000 r--p 00006000 08:01 2753585 /lib/tls/i686/cmov/librt-2.11.1.so
007f7000-007f8000 rw-p 00007000 08:01 2753585 /lib/tls/i686/cmov/librt-2.11.1.so
007f8000-007ff000 r-xp 00000000 08:01 2362148 /usr/lib/libSM.so.6.0.1
007ff000-00800000 r--p 00006000 08:01 2362148 /usr/lib/libSM.so.6.0.1
00800000-00801000 rw-p 00007000 08:01 2362148 /usr/lib/libSM.so.6.0.1
00801000-00805000 r-xp 00000000 08:01 2362195 /usr/lib/libXtst.so.6.1.0
00805000-00806000 r--p 00003000 08:01 2362195 /usr/lib/libXtst.so.6.1.0
00806000-00807000 rw-p 00004000 08:01 2362195 /usr/lib/libXtst.so.6.1.0
00807000-00809000 r-xp 00000000 08:01 2362159 /usr/lib/libXcomposite.so.1.0.0
00809000-0080a000 r--p 00001000 08:01 2362159 /usr/lib/libXcomposite.so.1.0.0
0080a000-0080b000 rw-p 00002000 08:01 2362159 /usr/lib/libXcomposite.so.1.0.0
0080c000-00819000 r-xp 00000000 08:01 10486681 /home/colin/Documents/df_linux/libs/libgcc_s.so.1
00819000-0081a000 r--p 0000c000 08:01 10486681 /home/colin/Documents/df_linux/libs/libgcc_s.so.1
0081a000-0081b000 rw-p 0000d000 08:01 10486681 /home/colin/Documents/df_linux/libs/libgcc_s.so.1
0081b000-00830000 r-xp 00000000 08:01 2362119 /usr/lib/libICE.so.6.3.0
00830000-00831000 r--p 00014000 08:01 2362119 /usr/lib/libICE.so.6.3.0
00831000-00832000 rw-p 00015000 08:01 2362119 /usr/lib/libICE.so.6.3.0
00832000-00834000 rw-p 00000000 00:00 0
00834000-00842000 r-xp 00000000 08:01 2362167 /usr/lib/libXext.so.6.4.0
00842000-00843000 r--p 0000d000 08:01 2362167 /usr/lib/libXext.so.6.4.0
00843000-00844000 rw-p 0000e000 08:01 2362167 /usr/lib/libXext.so.6.4.0
00844000-0084c000 r-xp 00000000 08:01 2362189 /usr/lib/libXrender.so.1.3.0
0084c000-0084d000 r--p 00007000 08:01 2362189 /usr/lib/libXrender.so.1.3.0
0084d000-0084e000 rw-p 00008000 08:01 2362189 /usr/lib/libXrender.so.1.3.0
0084e000-0085a000 r-xp 00000000 08:01 2362175 /usr/lib/libXi.so.6.1.0
0085a000-0085b000 r--p 0000c000 08:01 2362175 /usr/lib/libXi.so.6.1.0
0085b000-0085c000 rw-p 0000d000 08:01 2362175 /usr/lib/libXi.so.6.1.0
0085c000-00862000 r-xp 00000000 08:01 2362187 /usr/lib/libXrandr.so.2.2.0
00862000-00863000 r--p 00005000 08:01 2362187 /usr/lib/libXrandr.so.2.2.0
00863000-00864000 rw-p 00006000 08:01 2362187 /usr/lib/libXrandr.so.2.2.0
00864000-0086c000 r-xp 00000000 08:01 2362161 /usr/lib/libXcursor.so.1.0.2
0086c000-0086d000 r--p 00007000 08:01 2362161 /usr/lib/libXcursor.so.1.0.2
0086d000-0086e000 rw-p 00008000 08:01 2362161 /usr/lib/libXcursor.so.1.0.2
0086e000-00870000 r-xp 00000000 08:01 2362163 /usr/lib/libXdamage.so.1.1.0
00870000-00871000 r--p 00001000 08:01 2362163 /usr/lib/libXdamage.so.1.1.0
00871000-00872000 rw-p 00002000 08:01 2362163 /usr/lib/libXdamage.so.1.1.0
00873000-00875000 r-xp 00000000 08:01 2362177 /usr/lib/libXinerama.so.1.0.0
00875000-00876000 r--p 00001000 08:01 2362177 /usr/lib/libXinerama.so.1.0.0
00876000-00877000 rw-p 00002000 08:01 2362177 /usr/lib/libXinerama.so.1.0.0
00877000-0087b000 r-xp 00000000 08:01 2362169 /usr/lib/libXfixes.so.3.1.0
0087b000-0087c000 r--p 00003000 08:01 2362169 /usr/lib/libXfixes.so.3.1.0
0087c000-0087d000 rw-p 00004000 08:01 2362169 /usr/lib/libXfixes.so.3.1.0
0087f000-00880000 r-xp 00000000 00:00 0 [vdso]
00880000-008ef000 r-xp 00000000 08:01 2362108 /usr/lib/libGLU.so.1.3.070701
008ef000-008f0000 r--p 0006e000 08:01 2362108 /usr/lib/libGLU.so.1.3.070701
008f0000-008f1000 rw-p 0006f000 08:01 2362108 /usr/lib/libGLU.so.1.3.070701
008f1000-00984000 r-xp 00000000 08:01 2362492 /usr/lib/libgdk-x11-2.0.so.0.2000.1
00984000-00986000 r--p 00093000 08:01 2362492 /usr/lib/libgdk-x11-2.0.so.0.2000.1
00986000-00987000 rw-p 00095000 08:01 2362492 /usr/lib/libgdk-x11-2.0.so.0.2000.1
00987000-0099f000 r-xp 00000000 08:01 2362494 /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1
0099f000-009a0000 r--p 00017000 08:01 2362494 /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1
009a0000-009a1000 rw-p 00018000 08:01 2362494 /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1
009a1000-009c6000 r-xp 00000000 08:01 2362899 /usr/lib/libpangoft2-1.0.so.0.2800.0
009c6000-009c7000 r--p 00024000 08:01 2362899 /usr/lib/libpangoft2-1.0.so.0.2800.0
009c7000-009c8000 rw-p 00025000 08:01 2362899 /usr/lib/libpangoft2-1.0.so.0.2800.0
009c8000-009db000 r-xp 00000000 08:01 2621638 /lib/libz.so.1.2.3.3
009db000-009dc000 r--p 00012000 08:01 2621638 /lib/libz.so.1.2.3.3
009dc000-009dd000 rw-p 00013000 08:01 2621638 /lib/libz.so.1.2.3.3
009dd000-009f8000 r-xp 00000000 08:01 2621465 /lib/ld-2.11.1.so
009f8000-009f9000 r--p 0001a000 08:01 2621465 /lib/ld-2.11.1.so
009f9000-009fa000 rw-p 0001b000 08:01 2621465 /lib/ld-2.11.1.so
009fa000-00a3a000 r-xp 00000000 08:01 2362895 /usr/lib/libpango-1.0.so.0.2800.0
00a3a000-00a3b000 ---p 00040000 08:01 2362895 /usr/lib/libpango-1.0.so.0.2800.0
00a3b000-00a3c000 r--p 00040000 08:01 2362895 /usr/lib/libpango-1.0.so.0.2800.0
00a3c000-00a3d000 rw-p 00041000 08:01 2362895 /usr/lib/libpango-1.0.so.0.2800.0
00a3d000-00a40000 r-xp 00000000 08:01 2362525 /usr/lib/libgmodule-2.0.so.0.2400.1
00a40000-00a41000 r--p 00002000 08:01 2362525 /usr/lib/libgmodule-2.0.so.0.2400.1
00a41000-00a42000 rw-p 00003000 08:01 2362525 /usr/lib/libgmodule-2.0.so.0.2400.1
00a44000-00b27000 r-xp 00000000 08:01 10486678 /home/colin/Documents/df_linux/libs/libstdc++.so.6
00b27000-00b2b000 r--p 000e3000 08:01 10486678 /home/colin/Documents/df_linux/libs/libstdc++.so.6
00b2b000-00b2c000 rw-p 000e7000 08:01 10486678 /home/colin/Documents/df_linux/libs/libstdc++.so.6
00b2c000-00b32000 rw-p 00000000 00:00 0
00b32000-00ba9000 r-xp 00000000 08:01 2362287 /usr/lib/libcairo.so.2.10800.10
00ba9000-00bab000 r--p 00076000 08:01 2362287 /usr/lib/libcairo.so.2.10800.10
00bab000-00bac000 rw-p 00078000 08:01 2362287 /usr/lib/libcairo.so.2.10800.10
00bac000-00bb0000 r-xp 00000000 08:01 2362645 /usr/lib/libgthread-2.0.so.0.2400.1
00bb0000-00bb1000 r--p 00003000 08:01 2362645 /usr/lib/libgthread-2.0.so.0.2400.1
00bb1000-00bb2000 rw-p 00004000 08:01 2362645 /usr/lib/libgthread-2.0.so.0.2400.1
00bb2000-00bb9000 r-xp 00000000 08:01 2621633 /lib/libwrap.so.0.7.6
00bb9000-00bba000 r--p 00006000 08:01 2621633 /lib/libwrap.so.0.7.6
00bba000-00bbb000 rw-p 00007000 08:01 2621633 /lib/libwrap.so.0.7.6
00bbb000-00bbe000 r-xp 00000000 08:01 2621631 /lib/libuuid.so.1.3.0
00bbe000-00bbf000 r--p 00002000 08:01 2621631 /lib/libuuid.so.1.3.0
00bbf000-00bc0000 rw-p 00003000 08:01 2621631 /lib/libuuid.so.1.3.0
00bc0000-00bc3000 r-xp 00000000 08:01 2363157 /usr/lib/libxcb-render-util.so.0.0.0
00bc3000-00bc4000 r--p 00002000 08:01 2363157 /usr/lib/libxcb-render-util.so.0.0.0
00bc4000-00bc5000 rw-p 00003000 08:01 2363157 /usr/lib/libxcb-render-util.so.0.0.0
00bc5000-00bc9000 r-xp 00000000 08:01 2362207 /usr/lib/libXxf86vm.so.1.0.0
00bc9000-00bca000 r--p 00003000 08:01 2362207 /usr/lib/libXxf86vm.so.1.0.0
00bca000-00bcb000 rw-p 00004000 08:01 2362207 /usr/lib/libXxf86vm.so.1.0.0
00bcc000-00bd6000 r-xp 00000000 08:01 2362897 /usr/lib/libpangocairo-1.0.so.0.2800.0
00bd6000-00bd7000 r--p 00009000 08:01 2362897 /usr/lib/libpangocairo-1.0.so.0.2800.0Aborted
No tags attached.
related to 0005700resolved Toady One 33x17 Worldgen Crash Many Minerals 
Issue History
2010-09-15 02:47bumblepuppyNew Issue
2010-09-15 02:53bumblepuppyNote Added: 0012646
2012-05-31 10:28FootkerchiefRelationship addedrelated to 0005700
2014-11-25 13:08FootkerchiefNote Added: 0031180
2014-11-25 13:08FootkerchiefStatusnew => resolved
2014-11-25 13:08FootkerchiefResolutionopen => unable to reproduce
2014-11-25 13:08FootkerchiefAssigned To => Footkerchief

Notes
(0012646)
bumblepuppy   
2010-09-15 02:53   
Oh, and here are some seeds of failed worlds I gathered from gamelog.txt:

Generating world using parameter set GLACIER3
 Seed: 1222815698
 History Seed: 1749821828
 Name Seed: 2421426700
 Creature Seed: 2289874892

Generating world using parameter set GLACIER3
 Seed: 4158615395
 History Seed: 3351645731
 Name Seed: 2237976040
 Creature Seed: 2190318486

Generating world using parameter set GLACIER3
 Seed: 1861045538
 History Seed: 3782018010
 Name Seed: 3696299330
 Creature Seed: 1220215760
(0031180)
Footkerchief   
2014-11-25 13:08   
If anyone has world generation seeds that reproduce this problem in the latest version, please upload them to http://pastebin.com/ [^] and reopen this report (or PM a manager on the forums).