mojira.dev
MC-53941

StackOverflowException on custom world generation

During world gen, I get a stack overflow exception with this specific seed and world gen parameters.

Seed: 5248757932702617264

Preset:

{"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.0,"upperLimitScale":16.0,"depthNoiseScaleX":200.0,"depthNoiseScaleZ":200.0,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":1.0,"mainNoiseScaleY":1.0,"mainNoiseScaleZ":200.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":1.0,"biomeDepthOffset":0.0,"biomeScaleWeight":1.0,"biomeScaleOffset":0.0,"seaLevel":63,"useCaves":true,"useDungeons":true,"dungeonChance":8,"useStrongholds":true,"useVillages":true,"useMineShafts":true,"useTemples":true,"useRavines":true,"useWaterLakes":true,"waterLakeChance":4,"useLavaLakes":true,"lavaLakeChance":80,"useLavaOceans":false,"fixedBiome":-1,"biomeSize":4,"riverSize":4,"dirtSize":33,"dirtCount":10,"dirtMinHeight":0,"dirtMaxHeight":256,"gravelSize":33,"gravelCount":8,"gravelMinHeight":0,"gravelMaxHeight":256,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHeight":80,"andesiteSize":33,"andesiteCount":10,"andesiteMinHeight":0,"andesiteMaxHeight":80,"coalSize":17,"coalCount":20,"coalMinHeight":0,"coalMaxHeight":128,"ironSize":9,"ironCount":20,"ironMinHeight":0,"ironMaxHeight":64,"goldSize":9,"goldCount":2,"goldMinHeight":0,"goldMaxHeight":32,"redstoneSize":8,"redstoneCount":8,"redstoneMinHeight":0,"redstoneMaxHeight":16,"diamondSize":8,"diamondCount":1,"diamondMinHeight":0,"diamondMaxHeight":16,"lapisSize":7,"lapisCount":1,"lapisCenterHeight":16,"lapisSpread":16}

This preset will work with other seeds.

I am using the launcher's default JVM memory arguments, so I don't know if the StackOverflowException would be fixed by tweaking the arguments, or whether it's an infinite recursion bug.

I have attached the crash report.

Attachments

Comments 7

Tested and confirmed on Linux Mint, same error even when giving 12G of memory.

I was able to get the world to generate by using the flag -Xss8m. -Xss changes the size of the stack. You probably used -Xmx, which changes the size of the heap.

That is true, however anything beyond -Xmx (or perhaps -Xms if desired for some reason) would IMHO be considered beyond normal user behaviour, tweaking the stack size is much more sensitive than just increasing overall heap space.

Endermite "shaking" is intended, and now they shake only for a few seconds.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Not able to reproduce in 1.8-pre4 with this seed and preset. Have not looked for other seeds or presets that may cause the same error.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Hayden Muhl

(Unassigned)

Confirmed

Minecraft 14w17a

Retrieved