mojira.dev
MC-108128

Chaining too many observer blocks crashes the game

title says it all.

Steps to reproduce:

Make an observer line over several thousand blocks and update the first one. The game crashes for me everytime

Environment

OS: Windows 7 (ver 6.1, arch amd64)
Java: 1.8.0_25 (by Oracle Corporation)
Launcher: Minecraft Launcher 1.6.61 (bootstrap 100)
Minecraft: 16w39c (updated Fri Sep 30 16:13:34 CEST 2016)

Attachments

Comments 4

Due to the activation sequence of observers, I would suspect that a stack overflow is the culprit. One experiment would be test the crash using various stack sizes for the JVM.

Yes, probably invalid because of this.

Easy way to reproduce:
Create a superflat world with the following preset and break a block.

3;minecraft:observer;127

Just for completeness sake, can someone upload a crash report for this issue.

migrated

Jens Bergensten

Confirmed

Minecraft 16w39c

Minecraft 16w44a

Retrieved