Jump to content

Server crash on player logout

Recommended Posts


I had to zip the log as it was too big to be viewed on gist via browser.

https://drive.google.com/file/d/0B2k5QuMv5TYjYW1neFlPOExIYzA/view?usp=sharing (fml-server.log)


Error in question starts at line 96396:


[21:19:20] [Netty IO #4/ERROR] [FML/]: NetworkDispatcher exception

java.io.IOException: An existing connection was forcibly closed by the remote host

at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_45]

at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) ~[?:1.8.0_45]

at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_45]

at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_45]

at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_45]

at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:436) ~[unpooledUnsafeDirectByteBuf.class:?]

at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:870) ~[AbstractByteBuf.class:?]

at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:208) ~[NioSocketChannel.class:?]

at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:87) [AbstractNioByteChannel$NioByteUnsafe.class:?]

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [NioEventLoop.class:?]

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [NioEventLoop.class:?]

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [NioEventLoop.class:?]

at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [singleThreadEventExecutor$2.class:?]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]

[21:19:20] [server thread/DEBUG] [NotEnoughItems/]: Unloading Player: AA_RoBoT

[21:19:27] [server thread/ERROR] [FML/]: Exception caught during firing event cpw.mods.fml.common.gameevent.PlayerEvent$PlayerLoggedOutEvent@4797c847:




It's a private modpack. This crash only happens when certain players logout, and it happens with both Java 7 and java 8.

The client freezes and then disconnects, and the error is received on both client and server, then server crashes. Unable to reliably reproduce. The server and client are both always within their memory restrictions.


If all you can do is rule out forge as the culprit, that's fine too.



Link to comment
Share on other sites

Intersting you have a mod installed that is trying to parse screwed up json. Sadly the stack trace cuts out so I cant tell you which mod, just that one of them is.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Intersting you have a mod installed that is trying to parse screwed up json. Sadly the stack trace cuts out so I cant tell you which mod, just that one of them is.


Thanks for the reply.


Crash report if it helps at all, but I'm aware it may not.



In the meantime I'll get trialanderror-ing.

Link to comment
Share on other sites

Think I found it, but I'm not a JSON expert..

    "ident": "(playersIDishere|AA_RoBoT)",
    "home": {
        "dim": 0

A ForgeEssentials player file.

Is incorrect syntax what you meant by screwed up?


EDIT: For anyone with the same issue or who are interested, I have raised the issue here: https://github.com/ForgeEssentials/ForgeEssentialsMain/issues/1512

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.