mojira.dev
MC-86732

io.netty.channel.AbstractChannelHandlerContext invokeExceptionCaught

After an undetermined amount of time the data seems to desynch when a player has left/been disconnected from server but the server seems to register they are still there, then the server console gets continually flooded with below msg over an over untill your forcibly restart the server as it takes a long time trying to do normal restart.

Its also very common almost a gurantee to occur after the server has had a scheduled restart.

io.netty.channel.AbstractChannelHandlerContext invokeExceptionCaught

exception was thrown by a user handler's exceptionCaught() method while handling the following exception:

while writev(...): Connection reset by peer

Linked issues

Attachments

Comments 16

Warren Liddell

Still occuring and if anything, is happening more frequently

Warren Liddell

35e its worse than ever almost to the point of unplayable

Warren Liddell

When placing some command blocks to tp mob's to 0 0 0 is when it seems to trigger the above mentioned issue an a mass increase in the usage of CPU load

Warren Liddell

15w47a has made this bug quite a lot more frequent and makes the server unplayable when triggerd

Same issue with trying to connect to new server 15w49a

Tons of this in server logs:

2:28:54 PM
 CONSOLE:
2015 2:28:47 PM io.netty.channel.AbstractChannelHandlerContext invokeExceptionCaught
2:28:54 PM
 CONSOLE:
exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
2:28:54 PM
 CONSOLE:
while writev(...): Connection reset by peer
2:28:54 PM
 CONSOLE:
2015 2:28:47 PM io.netty.channel.AbstractChannelHandlerContext invokeExceptionCaught
2:28:54 PM
 CONSOLE:
exception was thrown by a user handler's exceptionCaught() method while handling the following exception:
2:28:54 PM
 CONSOLE:
while writev(...): Connection reset by peer

Also, client-side errors from same attempt to log into server:

Completely ignored arguments: [--nativeLauncherVersion, 286]
[14:39:24] [Client thread/INFO]: Setting user: egadgetboy
[14:39:24] [Client thread/INFO]: (Session ID is token:fed602d0794a41558c8a0c715d420f74:d7064502e77a453fb39134d63f6c927a)
[14:39:25] [Client thread/INFO]: LWJGL Version: 2.9.4
[14:39:25] [Client thread/INFO]: Reloading ResourceManager: Default
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:block.chorus_flower.death
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:block.chorus_flower.grow
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:block.furnace.fire_crackle
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:block.waterlily.place
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.cow.milk
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.hanging.place
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.hanging.pop
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.itemframe.add_item
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.itemframe.break
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.itemframe.place
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.itemframe.remove_item
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.itemframe.rotate_item
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.leashknot.place
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.painting.break
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.painting.place
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.snowman.ambient
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.snowman.death
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.snowman.hurt
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.squid.ambient
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.squid.death
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:entity.squid.hurt
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_chain
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_diamond
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_generic
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_gold
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_iron
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.armor.equip_leather
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bottle.fill
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bottle.fill_dragonbreath
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bucket.empty
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bucket.empty_lava
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bucket.fill
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.bucket.fill_lava
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.hoe.till
[14:39:26] [Client thread/WARN]: Missing sound for event: minecraft:item.shovel.flatten
[14:39:26] [Sound Library Loader/INFO]: Starting up SoundSystem...
[14:39:26] [Thread-5/INFO]: Initializing LWJGL OpenAL
[14:39:26] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[14:39:26] [Thread-5/INFO]: OpenAL initialized.
[14:39:26] [Sound Library Loader/INFO]: Sound engine started
[14:39:27] [Client thread/INFO]: Created: 1024x512 textures-atlas
[14:39:28] [Client thread/ERROR]: Realms module missing
[14:39:34] [Client thread/INFO]: Connecting to 45.35.87.237, 25567
[14:39:40] [Client thread/INFO]: [CHAT] [Server] Welcome back, egadgetboy
[14:39:40] [Client thread/INFO]: [CHAT] Server whispers to you: This is a 1.9 Vanilla test server.  Expect issues. For regular 1.8 gameplay, visit server mc.egadgetboy.com (no port suffix)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb8118628c, pid=7232, tid=7820
#
# JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [ig75icd64.dll+0x55628c]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\shawn\AppData\Roaming\.minecraft\hs_err_pid7232.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

See pastebin: http://pastebin.com/gvud04SZ

RE: # An error report file with more information is saved as:

  1. C:\Users\shawn\AppData\Roaming\.minecraft\hs_err_pid7232.log

6 more comments
Warren Liddell

Im seeing this quite a lot in 16e04a

Warren Liddell

Still seeing this issue quite a bit an its a server killer when it occurs

Warren Liddell

Id really love to know what triggers this as i get it frequently and it causes lag on the server and basically forces you to restart the server due to lag which takes some time waiting for the errors to stop and the server to catch up.

Warren Liddell

This issue when triggered, ultimately continues until such time as the server crashes and force restarts itself. which now with the continual users join//leaving with 1.9 release, I am lucky to get 10min of the server running before the issue starts.

Interesting to note, that the World map we are using has customized ORE gen levels

Tested a brand new Map with everything default and same problem occuring.

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

Warren Liddell

(Unassigned)

Unconfirmed

crash, desync, ghostplayers, lag, server, unstable

Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w34c, Minecraft 15w34d, Minecraft 15w35b, ..., Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1

Retrieved