View Issue Details

IDProjectCategoryView StatusLast Update
0005729Dwarf FortressWorld Generation -- Generalpublic2014-07-20 09:11
Reportergreycat Assigned Touser6 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionwon't fix 
PlatformLinuxOSLinuxOS VersionDebian 6.0 i386
Product Version0.34.07 
Summary0005729: Crash during world gen
DescriptionNo mods, default interface, short history, all other settings at default.

~/df_linux$ cat gamelog.txt
*** STARTING NEW GAME ***
Generating world using parameter set CREATE WORLD NOW = 4233333
 Seed: Ybe61NSDbw70bVTyyOG7
 History Seed: omMpW3AqLxziJOaAZq7w
 Name Seed: a4fxLyi2AkxjK9OcvKE6
 Creature Seed: 00a5Aw3Xa0E0shiwVEoR
Additional Information(gdb) bt
#0 0x0862ef80 in ?? ()
0000001 0x0896e80a in ?? ()
0000002 0x08970b2a in ?? ()
0000003 0x084adf27 in ?? ()
0000004 0xb72ee221 in interfacest::loop() ()
   from /home/wooledg/df_linux/libs/libgraphics.so
0000005 0x084ae8bf in mainloop() ()
0000006 0xb72ca1b4 in enablerst::async_loop() ()
   from /home/wooledg/df_linux/libs/libgraphics.so
0000007 0xb72ca59d in call_loop(void*) ()
   from /home/wooledg/df_linux/libs/libgraphics.so
0000008 0xb76b885e in ?? () from /usr/lib/libSDL-1.2.so.0
0000009 0xb77050bd in ?? () from /usr/lib/libSDL-1.2.so.0
0000010 0xb701a955 in start_thread () from /lib/i686/cmov/libpthread.so.0
0000011 0xb70fa58e in clone () from /lib/i686/cmov/libc.so.6
TagsNo tags attached.

Relationships

related to 0005053 resolveduser6 Crash at the end of worldgen 

Activities

user6

2012-03-30 11:45

  ~0021918

Reminder sent to: greycat

You need to try to reproduce these crashes before reporting them. Does it reproduce from the seeds?

pdunning

2012-04-03 14:56

reporter   ~0022057

I am also running linux (Arch Linux) and the world generation crashes when I press Enter to accept the generated world. This happens for a variety of starting conditions including the defaults.
The following error is produced in the terminal:
terminate called after throwing an instance of 'std::length_error'
  what(): vector::_M_fill_insert

xenophon

2012-04-04 16:13

reporter   ~0022088

Seeing the same crash as greycat (but not pdunning) on Ubuntu 11.10:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf3e8fb70 (LWP 19077)]
0x0861f317 in ?? ()
(gdb) bt
#0 0x0861f317 in ?? ()
0000001 0x086202bd in ?? ()
0000002 0x089152ca in ?? ()
0000003 0x0896fa8c in ?? ()
0000004 0x08970b2a in ?? ()
0000005 0x084adf27 in ?? ()
0000006 0xf7b64221 in interfacest::loop() ()
   from /home/drake/Downloads/df_34_07_linux/libs/libgraphics.so
0000007 0x084ae8bf in mainloop() ()
0000008 0xf7b401b4 in enablerst::async_loop() ()
   from /home/drake/Downloads/df_34_07_linux/libs/libgraphics.so
0000009 0xf7b4059d in call_loop(void*) ()
   from /home/drake/Downloads/df_34_07_linux/libs/libgraphics.so
0000010 0xf7f2cdb1 in ?? () from /usr/lib32/libSDL-1.2.so.0
0000011 0xf7f7701b in ?? () from /usr/lib32/libSDL-1.2.so.0
0000012 0xf7858d1a in start_thread () from /lib32/libpthread.so.0
0000013 0xf793fe4e in clone () from /lib32/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

This crash is always reproducible, but not always in the same year of world gen- usually around year 100-120. Attached is the world_gen.txt (the parameter set in question is "SPOLCANO," but all of them crash given enough time).

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

pdunning

2012-04-05 02:58

reporter   ~0022107

I have reported a separate bug for my crash as they seem to be different (I wasn't sure initially)

greycat

2012-04-06 07:12

reporter   ~0022120

I reproduced it using the advanced world gen interface.

./df: line 6: 22292 Segmentation fault (core dumped) ./libs/Dwarf_Fortress $*

[WORLD_GEN]
    [TITLE:CREATE WORLD NOW = 4233333]
    [SEED:Ybe61NSDbw70bVTyyOG7]
    [HISTORY_SEED:omMpW3AqLxziJOaAZq7w]
    [NAME_SEED:a4fxLyi2AkxjK9OcvKE6]
    [CREATURE_SEED:00a5Aw3Xa0E0shiwVEoR]
    [DIM:129:129]
    [EMBARK_POINTS:1274]
    [END_YEAR:125]
    [BEAST_END_YEAR:125:-1]
    [REVEAL_ALL_HISTORY:1]
    [CULL_HISTORICAL_FIGURES:0]
    [ELEVATION:1:400:1600:1600]
    [RAINFALL:0:100:200:200]
    [TEMPERATURE:25:75:200:200]
    [DRAINAGE:0:100:200:200]
    [VOLCANISM:0:100:200:200]
    [SAVAGERY:0:100:200:200]
    [ELEVATION_FREQUENCY:4:2:0:1:0:1]
    [RAIN_FREQUENCY:1:1:1:1:1:1]
    [DRAINAGE_FREQUENCY:1:1:1:1:1:1]
    [TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
    [SAVAGERY_FREQUENCY:1:1:1:1:1:1]
    [VOLCANISM_FREQUENCY:1:1:1:1:1:1]
    [MINERAL_SCARCITY:2500]
    [MEGABEAST_CAP:18]
    [SEMIMEGABEAST_CAP:37]
    [TITAN_NUMBER:9]
    [TITAN_ATTACK_TRIGGER:80:0:100000]
    [DEMON_NUMBER:28]
    [NIGHT_TROLL_NUMBER:14]
    [BOGEYMAN_NUMBER:14]
    [VAMPIRE_NUMBER:14]
    [WEREBEAST_NUMBER:14]
    [SECRET_NUMBER:28]
    [REGIONAL_INTERACTION_NUMBER:28]
    [DISTURBANCE_INTERACTION_NUMBER:28]
    [EVIL_CLOUD_NUMBER:14]
    [EVIL_RAIN_NUMBER:14]
    [GOOD_SQ_COUNTS:6:63:0]
    [EVIL_SQ_COUNTS:6:63:0]
    [PEAK_NUMBER_MIN:3]
    [PARTIAL_OCEAN_EDGE_MIN:0]
    [COMPLETE_OCEAN_EDGE_MIN:4]
    [VOLCANO_MIN:1]
    [REGION_COUNTS:SWAMP:66:0:0]
    [REGION_COUNTS:DESERT:66:0:0]
    [REGION_COUNTS:FOREST:264:0:0]
    [REGION_COUNTS:MOUNTAINS:528:0:0]
    [REGION_COUNTS:OCEAN:528:0:0]
    [REGION_COUNTS:GLACIER:16:0:0]
    [REGION_COUNTS:TUNDRA:33:0:0]
    [REGION_COUNTS:GRASSLAND:528:0:0]
    [REGION_COUNTS:HILLS:528:0:0]
    [EROSION_CYCLE_COUNT:250]
    [RIVER_MINS:25:25]
    [PERIODICALLY_ERODE_EXTREMES:1]
    [OROGRAPHIC_PRECIPITATION:1]
    [SUBREGION_MAX:2750]
    [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:100]
    [CAVERN_LAYER_WATER_MIN:0]
    [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_MAX_SIZE:25]
    [MOUNTAIN_CAVE_MIN:10]
    [NON_MOUNTAIN_CAVE_MIN:15]
    [ALL_CAVES_VISIBLE:0]
    [SHOW_EMBARK_TUNNEL:2]
    [TOTAL_CIV_NUMBER:40]
    [TOTAL_CIV_POPULATION:15000]
    [SITE_CAP:1040]
    [PLAYABLE_CIVILIZATION_REQUIRED:1]
    [ELEVATION_RANGES:8000:1056:528]
    [RAIN_RANGES:528:1056:528]
    [DRAINAGE_RANGES:528:1056:528]
    [SAVAGERY_RANGES:528:1056:528]
    [VOLCANISM_RANGES:528:1056:528]

user6

2014-07-20 09:11

  ~0027021

Probably not fixable at this point.

Issue History

Date Modified Username Field Change
2012-03-30 11:28 greycat New Issue
2012-03-30 11:45 user6 Note Added: 0021918
2012-03-30 11:46 user6 Tag Attached: AWAITING UPDATE
2012-04-03 14:56 pdunning Note Added: 0022057
2012-04-04 16:13 xenophon Note Added: 0022088
2012-04-05 02:58 pdunning Note Added: 0022107
2012-04-06 07:12 greycat Note Added: 0022120
2014-01-20 19:39 user6 Tag Detached: AWAITING UPDATE
2014-01-21 19:51 user6 Relationship added related to 0005053
2014-07-20 09:11 user6 Note Added: 0027021
2014-07-20 09:11 user6 Status new => resolved
2014-07-20 09:11 user6 Resolution open => won't fix
2014-07-20 09:11 user6 Assigned To => user6