mojira.dev
MC-310685

The game crashes when some inline slot sources are parsed

Minimal reproduction: open your chat and paste in the text /execute if items entity @s {}. The game crashes with a stack overflow exception. If you type the command instead of pasting it, the game does not crash immediately, but will do so as soon as the player types another character or moves the text input caret.

A full crash report is attached. Parsing of the incomplete slot source seems to enter an infinite recursion loop.

Linked issues

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

+1 CONFIRMED 26.3 SNAPSHOT 7

/item replace entity <ENTITY> {}

Causes a crash

26.3 Snapshot 4, 5, 6, & 7 are affected!

AjaxGb

Nathan Wolf

Confirmed

Platform HC

Very Important

Commands, Crash

26.3 Snapshot 6, 26.3 Snapshot 7

26.3 Snapshot 9

Retrieved