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
Use the following command to build the portal.
/fill ~3 ~ ~ ~36 ~64 ~ minecraft:nether_portalBreak 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)
Potentially WAI per https://bugs.mojang.com/browse/MC-151621