Several of maps with [END_YEAR:5000] and [BEAST_END_YEAR:5000:80] or later freeze for hours when exporting details.
Legends work, dwarf mode works, but if you try to export map and gen info (p) either in legends or directly after generation, it exports map, world_gen_param.txt, but then freezes for hours trying to export world_history.txt, never getting to world_sites_and_pops.txt.
Happens only to worlds that have long histories.
Example:
Created in DF v0.28.181.39a.
[WORLD_GEN]
[TITLE:SMALL]
[SEED:1168790217]
[HISTORY_SEED:3021363905]
[NAME_SEED:648047528]
[DIM:65:65]
[END_YEAR:5000]
[BEAST_END_YEAR:5000:80]
[END_YEAR:5000]
[REVEAL_ALL_HISTORY:1]
[CULL_HISTORICAL_FIGURES:0]
[ELEVATION:1:400:202:202]
[RAINFALL:0:100:101:101]
[TEMPERATURE:25:75:101:101]
[DRAINAGE:0:100:101:101]
[VOLCANISM:0:100:101:101]
[SAVAGERY:0:100:101: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]
[GOOD_SQ_COUNTS:6:63:127]
[EVIL_SQ_COUNTS:6:63:127]
[PEAK_NUMBER_MIN:3]
[OCEAN_EDGE_MIN:1]
[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:0:0:0]
[REGION_COUNTS:TUNDRA:0: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]
[CAVE_MAX_SIZE:25]
[MOUNTAIN_CAVE_MIN:6]
[NON_MOUNTAIN_CAVE_MIN:12]
[ALL_CAVES_VISIBLE:0]
[TOTAL_CIV_NUMBER:10]
[TOTAL_CIV_POPULATION:20000]
[PLAYABLE_CIVILIZATION_REQUIRED:1]
[ELEVATION_RANGES:528:1056:528]
[RAIN_RANGES:528:1056:528]
[DRAINAGE_RANGES:528:1056:528]
[SAVAGERY_RANGES:528:1056:528]
[VOLCANISM_RANGES:528:1056:528]
edit: whoops, mentioned the wrong txt file, edited for the right one. And it gives incomplete world_history.txt for me too if shut down the hard way.