RFTools

RFTools

74M Downloads

Client lock up on loading world

ouroborus opened this issue ยท 13 comments

commented

Recently I've seen a lot of complaints in various places and experienced myself an issue where the client locks up when changing worlds. I don't know that this is RFTools specifically, but RFTools is the only one giving log messages that can act as an indicator of whether your client will lock up or not.

This is what it looks like in the console when I close and save world. At 18:01:43, the main menu shows and you can attempt to load a new world. However, after some time (8 seconds in this case), RFTools spins down.

...
[18:01:41] [Server thread/INFO] [FML]: Unloading dimension 7
[18:01:41] [Server thread/INFO] [FML]: Unloading dimension 2
[18:01:41] [Server thread/INFO] [FML]: Unloading dimension -2
[18:01:43] [main/INFO] [Actually Additions]: Unloaded WorldData!
[18:01:43] [main/INFO] [Mekanism]: VoiceServer: Stopping client connection...
[18:01:43] [main/INFO] [Mekanism]: Reloaded config.
[18:01:51] [Server thread/INFO] [FML]: Applying holder lookups
[18:01:51] [Server thread/INFO] [FML]: Holder lookups applied
[18:01:51] [Server thread/INFO] [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully
[18:01:51] [Server thread/INFO] [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully
[18:01:51] [Server thread/INFO] [mcjty.lib.varia.Logging]: Cleaning up RFTools dimensions

If you attempt to load a new world before RFTools cleans up, the loading will lock up the client producing these messages on the console at the tail (a lot of FMLServerStoppedEvent entries skipped):

...
[18:07:13] [Server thread/ERROR] [quantumstorage]: Skipping event FMLServerStoppedEvent and marking errored mod quantumstorage since required dependency forge has errored
[18:07:13] [Server thread/ERROR] [redstonearsenal]: Skipping event FMLServerStoppedEvent and marking errored mod redstonearsenal since required dependency cofhcore has errored
[18:07:13] [Server thread/ERROR] [refinedstorage]: Skipping event FMLServerStoppedEvent and marking errored mod refinedstorage since required dependency forge has errored
[18:07:13] [Server thread/ERROR] [refinedstorageaddons]: Skipping event FMLServerStoppedEvent and marking errored mod refinedstorageaddons since required dependency refinedstorage has errored
[18:07:13] [Server thread/INFO] [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully
[18:07:13] [Server thread/ERROR] [simplesponge]: Skipping event FMLServerStoppedEvent and marking errored mod simplesponge since required dependency forge has errored
[18:07:13] [Server thread/ERROR] [stevescarts]: Skipping event FMLServerStoppedEvent and marking errored mod stevescarts since required dependency reborncore has errored
[18:07:13] [Server thread/ERROR] [techreborn]: Skipping event FMLServerStoppedEvent and marking errored mod techreborn since required dependency forge has errored
[18:07:13] [Server thread/ERROR] [terraqueous]: Skipping event FMLServerStoppedEvent and marking errored mod terraqueous since required dependency shetiphiancore has errored
[18:07:13] [Server thread/ERROR] [thermalcultivation]: Skipping event FMLServerStoppedEvent and marking errored mod thermalcultivation since required dependency cofhcore has errored
[18:07:13] [Server thread/ERROR] [thermaldynamics]: Skipping event FMLServerStoppedEvent and marking errored mod thermaldynamics since required dependency cofhcore has errored
[18:07:13] [Server thread/ERROR] [tinkertoolleveling]: Skipping event FMLServerStoppedEvent and marking errored mod tinkertoolleveling since required dependency forge has errored
[18:07:13] [Server thread/ERROR] [wct]: Skipping event FMLServerStoppedEvent and marking errored mod wct since required dependency appliedenergistics2 has errored
[18:07:13] [Server thread/ERROR] [teslacorelib_registries]: Skipping event FMLServerStoppedEvent and marking errored mod teslacorelib_registries since required dependency forge has errored
[18:07:13] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
[18:07:13] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.

Again, I don't know that this is specifically RFTools as it could be forge or the dimension managers. But RFTools is the only one showing messages late so I'm starting here.

commented

RFTools 1.12-7.13

I apologize for not providing a version number. I should know better by now.

Can you tell my what system triggers that message? I understand that it's very likely not RFTool causing the issue itself but it's the only thing I have to go on in the process of determining who to report the issue to.

commented

You mean 'RFTools: server is stopping. Shutting down gracefully'?
That's simply the message RFTools gives when the server goes down. It does that all the time when the server goes down. It is a normal shutdown message

commented

The issue is that the server is shutting down to late. The minecraft main menu becomes available well before it's okay for the user to select and enter a world. Is this a Forge thing or specifically a Minecraft thing that the RFTools log entry is in response to?

commented

RFTools simply gives this message when it is told to shut down. i.e. when the server closes.
I wish I had removed this message a long time ago. It falsely points the finger at RFTools when all it does is printing a normal message. Please. This is not an RFTools issue and neither is it related in any way to RFTools.

commented

Yes, I'm aware it's not an RFTools issue. Given that you're much more of an expert in this area than I am, I'm hoping you can point me to where the issue does lay so I can report it there.

commented

Well do you have any crash in your logs?

commented

No, the only evidence that there was an issue is the state message and that the client locks up.

Do you happen to know which bit is directly responsible for passing the serverStopped message to RFtools?

commented

This message occurs when RFTools gets the FMLServerStoppedEvent event from the server

commented

FML... That's forge mod loader?

commented

yes

commented

Alright, thank you much. I'll go report the problem on the Forge issue tracker.

commented

I doubt that this is a Forge problem but feel free to try reporting it

commented

First, always include versions for every bug report. Secondly RFTools simply has a message saying it shuts down. If you look at any log where RFTools is in you will see that message. So that's normal