When playing on a server running the affected version, the server can only handle 1 player online at the time.
Other players connecting get kicked out after 2/3 seconds with the following message in the server console.
Netty Epoll Server IO #6/ERROR io.netty.util.IllegalReferenceCountException: refCnt: 0
and the players get the message;
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndix(17) + length(58090) exceeds writerIndex(17); UnpooledHeapyByteBuf(ridx: 17, widx: 17, cap: 17)
The first player on the server has no problems playing. But if he/she is second, he/she will get kicked out.
Linked issues
is duplicated by 10
relates to 1
Comments 59
Affects 15w35e. Another player and myself are constantly kicking each other off the server, getting the same error (except with different numbers). Server log shows the same error messages.
Not on my end. It seems to be a regional thing, though I've yet to pinpoint what or where it is on my server. If we're both in the same place, but out of the effected area, nothing will happen. At least on my end, it seems to be near spawn, but nothing to do with anything in that region file, as removing it doesn't seem to help.
You're right, it only happens around spawn. Two players being within view distance of each other in the affected area is also a requirement for the bug to trigger though.
That claim appears to be based on the numbers being different in the error messages. The problem is exactly the same though: large amounts of block updates in areas with more than one player kick some or all of these players.
In the claimed duplicated report, we can actually see the full stack trace of the error, in this one we cannot. As a programmer I would never claim this error to be identical to the other one without being able to trace where this error comes up from. There are plenty of ways to cause an individual error to appear without being the same culprit. I will agree to it possibly stemming from the same core issue (major block updates), but cannot agree to it being duplicates based on the presented error information. For all I know this error could stem from (hypothetical) class baz whereas the one claiming to be a duplicate of this one, stems from class bab.
It only happens on my server. Someone joined and then everyone got kicked. Everytime anyone tries to join, it kicks them and says Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndix(17) + length(58090) exceeds writerIndex(17); UnpooledHeapyByteBuf(ridx: 17, widx: 17, cap: 17)
Same problem on my server in 15w35e.