Mojira Archive
MC-264414

Moving Piston Triggers Stack Overflow

When a piston with its "blockState" set to {"Name": "minecraft:moving_piston"}, the game seems to be stuck in an infinite recursion, which crashes the game due to a stack overflow error.

This infinite recursion continues when the world is loaded after restarting the game, which holds the level unplayable. The log says the crash takes place when it's "Ticking block entity".

This is easily reproducible by the following command:

data merge block <moving_piston's position> {blockState: {Name: "minecraft:moving_piston"}}

Edit: Only non-source moving pistons can trigger this glitch.

The log of the crash is attached in the Attachment.

Unresolved

Kedit2007

2023-07-25, 06:44 PM

2024-11-21, 02:20 PM

6

6

Community Consensus

Normal

Platform

Crash

1.20.1, 1.21.3

-