rtm516 / MCXboxBroadcast

A simple Geyser extension that broadcasts the server over Xbox Live.
GNU General Public License v3.0
173 stars 37 forks source link

MCXboxBroadcast Geyser Extension hangs server #81

Open Practor009 opened 1 month ago

Practor009 commented 1 month ago

Hello everyone, I am running a java fabric 1.20.6 server with Geyser and Floodgate for bedrock verification.

Please see geyser dump below: https://dump.geysermc.org/shPe6qRbg1UAvsaNxioLFwLHNE7fRbhh

I tried installing the MCXboxBroadcast extension for Geyser to allow console players to connect, however, whenever the server is stopped, the shutdown gets stuck (see image) and hangs the whole process. Screenshot_2024-06-05_084754

I have identified the issue is the MCxboxBroadcast extension because removing it, solves the problem. Additionally running Geyser in debug mode for logging produces the following console log, indicating that even though Geyser states to have disabled the extension on server stop, the extension is still running and preventing server shutdown. Screenshot_2024-06-05_103351

Having the server shut down successfully is important as it is managed through systemd and this behaviour will break all its scripts.

rtm516 commented 1 month ago

Resolved in https://github.com/rtm516/MCXboxBroadcast/commit/84d2052e6a98360e549e712e33e11924603d047d

Practor009 commented 1 month ago

Unfortunately still persists :/ not sure why the thread hangs the server terminal..

rtm516 commented 1 month ago

This looks like a Geyser issue, tested on my own machine with a fabric setup and with or without the extension it hangs.

Practor009 commented 1 month ago

After a review from the Geyser team on this issue thread: https://github.com/GeyserMC/Geyser/issues/4778, They insist this issue originates from the MCXboxBroadcast extension. After their suggestion, I am including a thread dump here to indicate which threads remain running after server stop command is issued: jvm.log

rtm516 commented 1 month ago

Interesting can you provide exact versions for fabric, geyser and floodgate? I think a geyser dump has that you can provide 9!3

Practor009 commented 1 month ago

Of course here is the Geyser dump: https://dump.geysermc.org/DYzhC2DoOSdIVashEGK2r2bed8IDmfUB

Also a list of all used mods and versions:

  1. fabric-api-0.100.1+1.21.jar
  2. ViaFabric-0.4.14+73-main.jar
  3. ViaBackwards-5.0.0.jar
  4. ViaRewind-4.0.0.jar
  5. viewdistancefix-fabric-1.21-1.0.2.jar
  6. spark-1.10.73-fabric.jar
  7. lithium-fabric-mc1.21-0.12.5.jar
  8. Geyser-Fabric.jar
  9. Floodgate-Fabric-2.2.3-SNAPSHOT+build.28.jar