Added the crash-logs for each case. They could be relevant as the crashes were triggered in six distinct parts of the code.
Made the issue more generalized, tackling two closely related problems regarding the network registries.
The first problem (GlobalPallete
) was recently fixed on 23w31a, but the second (PalettedContainer.Data
) still remains.
Seems to have been fixed in 23w31a.
I am no longer able to reproduce any of the crashes as of 1.20.5-pre2. All the scenarios described in this issue now lead to a client disconnect with either a
Failed to decode packet '<packet>'
(during packet decoding) ordisconnect.packetError
(during packet processing) message.