Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000565Dwarf FortressWorld Generation -- Parameterspublic2010-04-05 21:522020-08-16 18:31
0000565: Crashes when generating large world with "Complete Edge Oceans" set to anything besides 0 or 4
Every time I try to generate a region which has complete edge oceans set to anything besides 0 or 4, the game locks up immediately upon attempting world generation, with a light blue ocean as the only appearance. I've let it run for an hour with nothing changing.
Set [COMPLETE_OCEAN_EDGE_MIN:#] to something where # is not 0 or 4 and run a world generation using that parameter set.
ocean, worldgen
has duplicate 0000824closed Footkerchief Hang on Custom Worldgen 
has duplicate 0002461resolved Footkerchief COMPLETE_OCEAN_EDGE_MIN != 0 or 4 causes crash 
has duplicate 0005099resolved Footkerchief Worldgen hangs at 'Setting Temperature' with 2,3 set for Minimum Complete Edge Oceans 
has duplicate 0005659resolved lethosor Long application wait times, game is unresponsive for minutes during world gen with complete edge oceans set to 1. 
has duplicate 0006979resolved Footkerchief Game locks when generating medium/large worlds with 2 complete edge oceans 
has duplicate 0010705resolved Loci World Gen blocks in setting temperature phase if Complete edge oceans is set to 1 or 2 
has duplicate 0003046resolved lethosor DF becomes unresponsive at "setting temperature", only for one parameter set 
has duplicate 0011684resolved lethosor Certain parameter sets freeze game with naught but music upon attempting to use them for worldgen 
Issue History
2010-04-05 21:52OhtarNew Issue
2010-04-05 22:21DoctorZuberNote Added: 0001343
2010-04-08 15:23FootkerchiefRelationship addedhas duplicate 0000824
2010-04-08 15:48Logical2uNote Added: 0002182
2010-04-13 23:38CubittusNote Added: 0003416
2010-06-24 12:26FootkerchiefRelationship addedhas duplicate 0002461
2010-07-13 11:11Kaelem GaenNote Added: 0010156
2010-07-13 11:13Kaelem GaenTag Attached: ocean
2010-07-13 11:13Kaelem GaenTag Attached: worldgen
2010-11-25 19:30ethanbNote Added: 0014215
2010-11-26 07:28FootkerchiefNote Added: 0014225
2010-11-26 07:28FootkerchiefTag Attached: AWAITING UPDATE
2010-11-26 14:56OhtarNote Added: 0014231
2010-11-26 17:20FootkerchiefSummaryWorld Generation Crashes If Complete Edge Oceans Set to anything besides 0 or 4 => Crashes when generating large world with "Complete Edge Oceans" set to anything besides 0 or 4
2011-04-02 11:20Kaelem GaenNote Added: 0016986
2011-04-02 11:33FootkerchiefTag Detached: AWAITING UPDATE
2011-04-03 14:07wuphonsreachNote Added: 0017026
2011-04-03 14:08wuphonsreachNote Edited: 0017026bug_revision_view_page.php?bugnote_id=0017026#r6339
2011-04-03 14:11wuphonsreachNote Edited: 0017026bug_revision_view_page.php?bugnote_id=0017026#r6340
2012-03-17 06:29FootkerchiefRelationship addedhas duplicate 0005099
2012-03-17 06:30FootkerchiefRelationship addedrelated to 0005659
2012-03-17 11:10runlvlzeroNote Added: 0021536
2012-03-17 11:14runlvlzeroNote Edited: 0021536bug_revision_view_page.php?bugnote_id=0021536#r8040
2014-01-24 06:49FootkerchiefAssigned To => Footkerchief
2014-01-24 06:49FootkerchiefStatusnew => acknowledged
2014-07-10 15:59FootkerchiefRelationship addedhas duplicate 0006979
2015-01-08 09:00FootkerchiefNote Added: 0031780
2015-01-08 09:00FootkerchiefStatusacknowledged => needs feedback
2018-03-24 17:43Shonai_DwellerNote Added: 0038024
2018-04-10 13:14LociRelationship addedhas duplicate 0010705
2018-04-10 13:15LociRelationship addedhas duplicate 0003046
2018-04-10 13:17LociStatusneeds feedback => acknowledged
2018-04-10 14:36HuntthetrollIssue Monitored: Huntthetroll
2018-04-16 05:13EgodeusNote Added: 0038169
2020-08-16 18:10TarranIssue Monitored: Tarran
2020-08-16 18:31TarranNote Added: 0040693
2021-02-06 22:22lethosorRelationship replacedhas duplicate 0005659
2021-02-06 22:22lethosorRelationship addedhas duplicate 0011684
2021-02-06 22:22lethosorIssue Monitored: Blue-Maned_Hawk

2010-04-05 22:21   
confirmed for large only, seems to work on other sizes.
2010-04-08 15:48   
I had this issue with Medium Islands, if I recall correctly.
2010-04-13 23:38   
I've just hit this one too in version 0.31.03.

I was trying to gen a map with 2 partial and 1 complete ocean edge.
75% of the time it would hang as worldgen started - I had to kill the process.
The rest of the time it would show a rejected world every approx 30 seconds and continue to hang.

Tried changing graphics, resolution and other init.txt settings to no avail.
Kaelem Gaen   
2010-07-13 11:11   
Yeah I got a hang/crash trying to gen a large region with 1 partial ocean and 1 complete edge...

this was on .31.10
2010-11-25 19:30   
Status update on this bug for 0.31.18 (Linux version): Attempting to make a Medium-size peninsula (min. complete edge 1, min. partial edge 2 - initially had those reversed, but was having "trouble getting enough ocean squares")

Seems to work fine - it just finished doing history up to year 450.
2010-11-26 07:28   
Reminder sent to: Ohtar

Still getting this crash in 0.31.18?
2010-11-26 14:56   
Still happens if I try to gen a large world with 1, 2 or 3 sides completely ocean. Works fine on other sizes- including more non-standard ones, seems like.
Kaelem Gaen   
2011-04-02 11:20   
Seems the crash still exists in 31.25
2011-04-03 14:07   
(edited on: 2011-04-03 14:11)
This worked fine for me in 31.18, but the bug is back in 31.25. I was generating a small (65x65) world with this setting at "3" just fine in 31.18.

I changed from: [COMPLETE_OCEAN_EDGE_MIN:4]

And the DF window just sits there doing nothing after I press [Enter] to start the world generation (for a small 65x65). It seems like a runaway loop if you don't use zero or four for that setting.

Oddly, setting that to "3" works.

2012-03-17 11:10   
(edited on: 2012-03-17 11:14)
In 34.05 I have the same issue with [ELEVATION:1:400:1600:800] and [COMPLETE_OCEAN_EDGE_MIN:1]

If elevation X Y varation is set to something really big like [ELEVATION:1:400:1600:1] or [ELEVATION:1:400:20:1200] it will work without freezing.

It normally freezes at:
Creating New Region

Preparing elevation...
Setting temperature..

Sometimes it will also freeze for minutes on the parameter selection screen under Design World with Advanced parameters, before moving to the next screen. This happens once the parameters are selected and the return key is pressed.

After waiting around 3-4 minutes it will recover and move to "Running Rivers..." at which point the generation completes normally.

When using default parameters or not using complete edge oceans set to 1 it usually takes seconds at the first phase of world generation.

I also get the light blue ocean (usually).

Also I am running DF on one core, 4 core AMD, Win7 64 Bit

2015-01-08 09:00   
Is this problem still present in the latest version?
2018-03-24 17:43   
Replying 3 years late, but, yeah, this is still dodgy in 44.07. Actually it hasn't crashed yet, but it's close to unusable on large maps.

In a medium region world at 1 ocean edge I get the blue ocean screen momentarily followed by a very stuttery cycle through rejections at elevation/temperature (much slower than usual) before a world forces it's way through. Not so bad, but a little annoying if you have settings that regularly produce a hundred rejections before starting.

Large region at 1 ocean edge makes it past the blue ocean screen after a minute or so but is taking around 30 seconds to 1 minute per rejection (each getting no further than elevation/temperature). Unplayable as even vanilla will reject a dozen or more worlds before starting.

Usual worldgen for me will skip through this stage in less than a second no matter how many rejections there are (and I usually end up with a couple of hundred on my custom settings).
2018-04-16 05:13   
Yeah, this is still happening in the latest 44.09 version. Consistently hangs in setting temperature stage when I try to generate a world with something other than 0 or 4 in complete edge oceans.
2020-08-16 18:31   
Perhaps this goes without saying, but this bug is still an issue in 0.47.04. Had the application freeze up on the world-gen screen when attempting to generate a custom world "large island" with values other than 0 or 4, and after narrowing the possible causes down, it almost certainly was edge oceans.

However, runlvlzero's workaround in changing XY variance did work in bypassing the issue, because as soon as I changed the variance to something like 600 for both X and Y values, or [ELEVATION:1:400:600:600], the game started to generate maps successfully.

At this point, I'm pretty confident that the issue comes from a bad combination of the default elevation variance setting for large and potentially medium island maps (which are set at 1600 for both X and Y) and setting complete edge oceans to anything but 0 or 4.