View Issue Details

IDProjectCategoryView StatusLast Update
0011218Dwarf FortressWorld Generation -- Generalpublic2020-01-30 06:46
Reportereniteris Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04.03
Product Version0.47.01 
Summary0011218: Advanced World Generation crashes on second generation attempt
DescriptionI have an advanced world generation parameter set that works the first time you run it in an instance of Dwarf Fortress, but the second time you run generation the game crashes with "free(): invalid next size (normal)" or "corrupted size vs. prev_size".

It might be due to the non-square nature of the generated region? But that didn't work with a non-square pocket region.

I can confirm it works for any 129x65 region.
Steps To Reproduce1. Run df.
2. Start advanced world generation and generate EVIL REGION.
3. Abort generation after history begins to run.
4. Generate another EVIL REGION.
5. Crash should happen.
Additional Information[WORLD_GEN]
        [TITLE:EVIL REGION]
        [DIM:129:65]
        [EMBARK_POINTS:1504]
        [END_YEAR:1050]
        [BEAST_END_YEAR:200:80]
        [REVEAL_ALL_HISTORY:1]
        [CULL_HISTORICAL_FIGURES:0]
        [ELEVATION:1:400:401:202]
        [RAINFALL:0:100:200:101]
        [TEMPERATURE:25:75:200:101]
        [DRAINAGE:0:100:200:101]
        [VOLCANISM:0:100:200:101]
        [SAVAGERY:0:100:200:101]
        [ELEVATION_FREQUENCY:1:1:1:1:1: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]
        [POLE:NORTH_AND_OR_SOUTH]
        [MINERAL_SCARCITY:2500]
        [MEGABEAST_CAP:18]
        [SEMIMEGABEAST_CAP:19]
        [TITAN_NUMBER:5]
        [TITAN_ATTACK_TRIGGER:80:0:100000]
        [DEMON_NUMBER:24]
        [NIGHT_TROLL_NUMBER:12]
        [BOGEYMAN_NUMBER:12]
        [NIGHTMARE_NUMBER:12]
        [VAMPIRE_NUMBER:12]
        [WEREBEAST_NUMBER:12]
        [WEREBEAST_ATTACK_TRIGGER:20:0:25000]
        [SECRET_NUMBER:24]
        [REGIONAL_INTERACTION_NUMBER:24]
        [DISTURBANCE_INTERACTION_NUMBER:24]
        [EVIL_CLOUD_NUMBER:12]
        [EVIL_RAIN_NUMBER:12]
        [GENERATE_DIVINE_MATERIALS:1] [ALLOW_DIVINATION:1] [ALLOW_DEMONIC_EXPERIMENTS:1] [ALLOW_NECROMANCER_EXPERIMENTS:1] [ALLOW_NECROMANCER_LIEUTENANTS:1] [ALLOW_NECROMANCER_GHOULS:1] [ALLOW_NECROMANCER_SUMMONS:1]
        [GOOD_SQ_COUNTS:12:126:253]
        [EVIL_SQ_COUNTS:255:126:253]
        [PEAK_NUMBER_MIN:6]
        [PARTIAL_OCEAN_EDGE_MIN:1]
        [COMPLETE_OCEAN_EDGE_MIN:0]
        [VOLCANO_MIN:1]
        [REGION_COUNTS:SWAMP:131:0:0]
        [REGION_COUNTS:DESERT:131:0:0]
        [REGION_COUNTS:FOREST:524:1:1]
        [REGION_COUNTS:MOUNTAINS:1048:1:1]
        [REGION_COUNTS:OCEAN:1048:0:0]
        [REGION_COUNTS:GLACIER:0:0:0]
        [REGION_COUNTS:TUNDRA:0:0:0]
        [REGION_COUNTS:GRASSLAND:1048:1:1]
        [REGION_COUNTS:HILLS:1048:1:1]
        [EROSION_CYCLE_COUNT:250]
        [RIVER_MINS:50:50]
        [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:12]
        [NON_MOUNTAIN_CAVE_MIN:25]
        [ALL_CAVES_VISIBLE:0]
        [SHOW_EMBARK_TUNNEL:2]
        [TOTAL_CIV_NUMBER:40]
        [TOTAL_CIV_POPULATION:15000]
        [SITE_CAP:524]
        [PLAYABLE_CIVILIZATION_REQUIRED:1]
        [ELEVATION_RANGES:1048:2096:1048]
        [RAIN_RANGES:1048:2096:1048]
        [DRAINAGE_RANGES:1048:2096:1048]
        [SAVAGERY_RANGES:1048:2096:1048]
        [VOLCANISM_RANGES:1048:2096:1048]
TagsNo tags attached.

Activities

risusinf

2020-01-29 01:23

reporter   ~0039689

0011135, discussion in the comments section

alex-wev

2020-01-30 06:46

reporter   ~0039719

Here are seeds, with which the vanilla 0.47.01 crashes consistently at 60th year - so it should be easier to wait for crash when testing:
Generating world using parameter set LARGE REGION
 Seed: R9icKscYxmcBKRtCCKZJ
 History Seed: hBfG6Elyz8LjyWsrdvla
 Name Seed: qaNwdLLoVokwx80c5tDr
 Creature Seed: 5D3t5tHiFMe444lmE1ej

Add Note

Note

Issue History

Date Modified Username Field Change
2020-01-29 01:04 eniteris New Issue
2020-01-29 01:23 risusinf Note Added: 0039689
2020-01-30 06:46 alex-wev Note Added: 0039719