Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrupted player data while recovering from crash #38

Open
AnAwesomGuy opened this issue May 6, 2024 · 0 comments
Open

corrupted player data while recovering from crash #38

AnAwesomGuy opened this issue May 6, 2024 · 0 comments

Comments

@AnAwesomGuy
Copy link

looks like this might be caused by #14?
so i joined the singleplayer world, and got this in the logs (twice), which kicked me back to the main menu screen instantly. (no crash screen or anything)

[Netty Client IO #2/ERROR] [FML]: NetworkDispatcher exception
java.lang.RuntimeException: Timeout waiting for client thread to catch up!
	at cpw.mods.fml.client.FMLClientHandler.waitForPlayClient(FMLClientHandler.java:877)
	at cpw.mods.fml.common.FMLCommonHandler.waitForPlayClient(FMLCommonHandler.java:585)
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientListenForServerHandshake(NetworkDispatcher.java:171)
	at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:35)
	at cpw.mods.fml.common.network.handshake.FMLHandshakeClientState$1.accept(FMLHandshakeClientState.java:29)
	at cpw.mods.fml.common.network.handshake.HandshakeMessageHandler.userEventTriggered(HandshakeMessageHandler.java:40)
	at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308)
	at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294)
	at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108)
	at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308)
	at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294)
	at io.netty.channel.ChannelInboundHandlerAdapter.userEventTriggered(ChannelInboundHandlerAdapter.java:108)
	at io.netty.channel.DefaultChannelHandlerContext.invokeUserEventTriggered(DefaultChannelHandlerContext.java:308)
	at io.netty.channel.DefaultChannelHandlerContext.fireUserEventTriggered(DefaultChannelHandlerContext.java:294)
	at io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:779)
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.handlerAdded(NetworkDispatcher.java:137)
	at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:484)
	at io.netty.channel.DefaultChannelPipeline.callHandlerAdded(DefaultChannelPipeline.java:479)
	at io.netty.channel.DefaultChannelPipeline.addBefore0(DefaultChannelPipeline.java:178)
	at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:163)
	at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:153)
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.insertIntoChannel(NetworkDispatcher.java:124)
	at cpw.mods.fml.common.network.handshake.NetworkDispatcher.clientToServerHandshake(NetworkDispatcher.java:129)
	at cpw.mods.fml.common.network.internal.FMLNetworkHandler.fmlClientHandshake(FMLNetworkHandler.java:66)
	at net.minecraft.client.network.NetHandlerLoginClient.func_147390_a(NetHandlerLoginClient.java:107)
	at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:39)
	at net.minecraft.network.login.server.S02PacketLoginSuccess.func_148833_a(SourceFile:11)
	at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:113)
	at net.minecraft.network.NetworkManager.channelRead0(NetworkManager.java:317)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
	at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
	at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
	at io.netty.channel.local.LocalChannel.finishPeerRead(LocalChannel.java:313)
	at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:43)
	at io.netty.channel.local.LocalChannel$6.run(LocalChannel.java:299)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348)
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
	at java.lang.Thread.run(Thread.java:750)

after that, i rejoined the world, which worked, but my playerdata was cleared (reset to nothing)

note that earlier, i had been kicked to the server screen from a network error by storage drawers. after that, i rejoined the world, played as normal for a while, and quit and suspended the process so i didnt have to restart it.

tested in a modified version of regrowth (with performance mods: falsetweaks, falsepatternlib, unimixins, bugtorch, smoothfont, entity culling, leaf culling, fps reducer, coretweaks, and neodymium)
fml-client-latest.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant