mojira.dev

isokissa3

Assigned

No issues.

Reported

MC-304426 World load deadlock caused by PlayerSpawnFinder recursively searching for candidates Plausible MC-270896 Players leak the last entity they took damage from Plausible MC-268011 Hoppers leak the last world they sucked item on Fixed MC-149563 Entity AI has no dimension sanity checks Community Consensus MC-83786 Multiplayer list bubbles show if they not show on list Duplicate

Comments

Default thread stack size can differ across multiple platforms and JVM implementations, so not entirely unsurprising, but a bit unexpected given the very deep stack in the repro.

I personally tested this on Windows 24H2 coupled with the JVM that's shipped together with the Minecraft’s launcher.

You also have to replace the files if you somehow loaded in and want to try again, as that calculation is done only before the player has spawned in the world for the first time.

Regardless, the code here is flawed as it permits deep recursion (generally a bad thing and should be avoided, as the stack size is limited) and can be easily eliminated by changing the approach to be iterative.

You can reproduce this by sitting in lava and then flying in to a water.

[media]