CensoredASM

CensoredASM

422k Downloads

Minecraft Hangs on Server Crash

romanfedyniak opened this issue · 1 comments

commented

When the internal server crashes while using LoliASM, the Minecraft client becomes unresponsive and hangs indefinitely. This issue does not occur when the client itself crashes — in that case, everything works as expected. However, if the internal server crashes, the Minecraft process stops responding and needs to be forcefully closed.

Image

Environment:

  • Forge Version: 14.23.5.2860
  • LoliASM Version: 5.26
  • MixinBooter Version: 10.5
  • Operating System: Windows 10

I created a mod called Crasher to reproduce the issue by crashing Minecraft.

crasher.zip (The archive contains both the source code and the compiled mod.)

It adds two commands: /crash and /reportedcrash. The first one crashes Minecraft using a RuntimeException, while the second one uses a ReportedException. Additionally, the first parameter specifies what to crash: either server or client.

After running the /crash client command, everything works perfectly. However, when using /crash server, Minecraft becomes unresponsive.
I discovered that Minecraft hangs when calling the loadWorld(null) line. Beyond this point, my skills weren't enough to fully investigate the root of the issue.

commented

Thanks for the replication steps!