[Bug]: Server won't stop normally
Wolfy8198 opened this issue · 11 comments
Minecraft Version
1.20.1
What happened?
I'm playing on 1.20.1 and was trying to make a new update for my modpack, Genesis Plus. For some reason after the world saves the server stops shutting down and just hangs. I spent 3 days trying to figure out what the issue was, before isolating Polymorph on the 3rd day. When I woke up on the 3rd day, I asked for help in a few mod discord servers I'm in, and found that a couple of people have been experiencing the same thing. For me, the issue happened with 0.49.6 but not 0.49.5. For another person it happened with 0.49.5.
How do you trigger this bug?
- Update Polymorph
...
Loader
Fabric
Loader Version
Fabric 0.16.5
API Version
Fabric API 0.92.2
Mod Version
Polymorph 0.49.6 1.20.1
Relevant Log Outputs
I am unable to reproduce this. Starting a server with Polymorph 0.49.6 and Fabric API 0.92.2 on 1.20.1, I am able to /stop
and the server shuts down normally.
Have either of you tested this with just Polymorph installed? Also, I don't see anything referring to Polymorph in the log attached. Is this a situation where removing Polymorph from the instance fixes the issue? If so, this could be a case of a mod conflict with another mod and I'll need some more information to continue investigating.
The only change between 0.49.6 and 0.49.5 was an update to the configuration library, so it may be that another mod is somehow incompatible with that. Can you share the latest.log
or debug.log
file from the session where the server hangs?
The only change between 0.49.6 and 0.49.5 was an update to the configuration library, so it may be that another mod is somehow incompatible with that. Can you share the
latest.log
ordebug.log
file from the session where the server hangs?
I strongly suspect it's a configuration-related issue, perhaps related to "night config"
perhaps related to "night config"
That's the configuration library that was updated so it's likely to be related to the cause. But I would need to see the latest.log
or debug.log
files from the sessions where the error occurs to check for any relevant stacktraces. Those files will also have a list of mods loaded that I can see.
perhaps related to "night config"
That's the configuration library that was updated so it's likely to be related to the cause. But I would need to see the
latest.log
ordebug.log
files from the sessions where the error occurs to check for any relevant stacktraces. Those files will also have a list of mods loaded that I can see.
In fact, even the trace level logs have no useful information. I will try to find out the mod conflict after I get off work (I am a FabricMC server with 300+ mods)
The following Mod combinations will cause the server to fail to shut down normally:
1. Fabric API, Create, Polymorph (Fabric 1.20.1 Server)
- Fabric API 1.20.1 0.92.2+1.20.1
- Create Fabric 1.20.1 v0.5.1.f Patch 1
- Polymorph Fabric 1.20.1 0.49.6
2. Fabric API, Framework, Forge Config API Port, Polymorph, GoblinTraders Fabric(Official version, not a third-party port) (Fabric 1.20.1 Server)
- Fabric API 1.20.1 0.92.2+1.20.1
- Framework Fabric 1.20.1 0.7.8
- Forge Config API Port Fabric 1.20.1 v8.0.0
- Polymorph Fabric 1.20.1 0.49.6
- GoblinTraders Fabric 1.20.1 1.9.3
3. Fabric API, Forge Config API Port, Puzzles Lib, Straw Statues, Polymorph (Fabric 1.20.1 Server)
- Fabric API 1.20.1 0.92.2+1.20.1
- Forge Config API Port Fabric 1.20.1 v8.0.0
- Puzzles Lib Fabric 1.20.1 v8.1.23
- Straw Statues Fabric 1.20.1 v8.0.3
- Polymorph Fabric 1.20.1 0.49.6
Note
**I suspect 2 and 3 are caused by Forge Config API Port Mod.
Thank you, I'm able to reproduce the bug now. I'll be working on a solution and hopefully will have an update out soon.
This should be fixed in Polymorph 0.49.7, although it's more of a workaround than a proper resolution.
It's definitely somehow caused by mods using two different versions of NightConfig (i.e one mod using 3.6.x and another mod using 3.8.x) but I'm not really sure why or what can be done about it. But it's important to note because this may very well occur with other combinations of mods without Polymorph involved. For my end, I just reverted the library back to a 3.6.x version for now.