Railcraft

Railcraft

34M Downloads

IO Exception on Signals while playing server

liach opened this issue ยท 4 comments

commented

Appears on Game Output but not on the log.
https://gist.github.com/liach/a418f3e472392440f07e
This occurs just before the signal render. This is a series of serious IO Exceptions and they may cause the render crash.
Both Java 7 and Java 8 have this crash.
Maybe the user called @CovertJaguar needs to rewrite the input/output of Signal System.

commented

Try with just Railcraft installed please. It looks to me like its trying to process a packet that isn't what it claims to be. Such a thing might be possible if two mods use the same network channel prefix.

commented

May it be cause by serious delay? It only happens on servers and the facing value get a random number and cause crash when it's six. I do not have a server to test it. Hang it up and use checks to resolve it in a short time.

commented

I can't imagine that network delay could possibly cause this.

And its not just the facing number. There are getBoolean() calls failing too. And they are all failing because the packet data was shorter than expected. I have no idea what could cause it to miss place half the packet data like that. I'm pretty sure Minecraft uses TCP no UDP for network communication, so it shouldn't be possible to only get half a packet.

But the fact that it only happens to signal based blocks is interesting.

commented

It might be useful to see the log from the server side, not just the client. If something is causing the server to truncate these packets, I could see this happening.