mojira.dev
MC-172592

Breaking a larger than normally possible Nether portal makes the game crash with a java.lang.StackOverflowError

The bug

Breaking a Nether portal that is larger than 23x23 (portals normally possible to make) built by using commands, causes the game to crash

Portal size

Crash

32 × 32

✔ safe

32 × 40

✔ safe

32 × 45

✔ safe

32 × 48

✔ safe

31 × 50

❌ crash

32 × 51

❌ crash

32 × 63

❌ crash

32 × 64

❌ crash

h3. How to reproduce

  1. Use the following command to build the portal.

    /fill ~3 ~ ~ ~36 ~64 ~ minecraft:nether_portal
  2. Break the portal

Crash Report

Crash Report

Description: Exception in server tick loop

java.lang.StackOverflowError: Exception in server tick loop
	at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.allMatch(Unknown Source)
	at ajl$a.b(SourceFile:91)
	at ajj.c(SourceFile:58)
	at ajj.f(SourceFile:105)
	at ajj.a(SourceFile:101)
	at wu.a(SourceFile:125)
	at wu.a(SourceFile:91)
	at aji$1.a(SourceFile:32)
	at xj.a(SourceFile:105)
	at xj.a(SourceFile:101)
	at xj.a(SourceFile:62)
	at blu.a(SourceFile:214)
	at blu.a(SourceFile:289)
	at bmc.b(SourceFile:15)
	at brn.a(SourceFile:221)
	at brn.a(SourceFile:196)
	at cax.a(SourceFile:251)
	at blu.a(SourceFile:239)
	at blu.a(SourceFile:289)
	at bmc.b(SourceFile:15)
	at brn.a(SourceFile:221)
	at brn.a(SourceFile:196)
	at cax.a(SourceFile:251)
	at blu.a(SourceFile:239)
	at blu.a(SourceFile:289)
	at bmc.b(SourceFile:15)
	at brn.a(SourceFile:221)
	at brn.a(SourceFile:196)

Linked issues

Attachments

Comments 3

Still in 20w16a

This could likely be fixed by making the portal blocks not break simultaneously, but rather one after the other like chorus plants.

kim kyutaek

mgatland

Confirmed

Very Important

Crash

20w07a, 20w09a, 20w16a, 1.16 Pre-release 3

1.16 Pre-release 6

Retrieved