Skip to content

Mod preventing server shutdown 1.20.1 forge 47.4.10 #238

Description

@rk-exxec

When running a dedicated server with musictriggers, the server process does not exit after stopping it.

It just hangs after the world is saved and never fully closes.

Am using musictriggers 7.0.4 and theimpossiblelibrary 0.4.7.

Here is the log at the end of running:

[14:32:00] [Stuck Thread Watcher/INFO] [DebugThreadsHooks/]: Stuck Thread: "pool-3-thread-1" Id=59
[14:32:00] [Stuck Thread Watcher/INFO] [DebugThreadsHooks/]: -- Stacktrace: 
        at bootstrap/java.base@17.0.15/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1593)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:632)
        at TRANSFORMER/null/mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick.addCustomTick(CustomTick.java:23)
        at TRANSFORMER/null/mods.thecomputerizer.theimpossiblelibrary.api.util.CustomTick.addCustomTickTPS(CustomTick.java:42)
        at TRANSFORMER/musictriggers@7.0.4/mods.thecomputerizer.musictriggers.api.common.MTCommonEvents.init(MTCommonEvents.java:16)
        at TRANSFORMER/musictriggers@7.0.4/mods.thecomputerizer.musictriggers.api.common.MTCommonEntryPoint.onPreRegistration(MTCommonEntryPoint.java:104)
        at TRANSFORMER/musictriggers@7.0.4/mods.thecomputerizer.musictriggers.api.common.MusicTriggersGeneratedCommonMod.<init>(MusicTriggersGeneratedCommonMod.java:-1)
        at bootstrap/java.base@17.0.15/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-1)
        at bootstrap/java.base@17.0.15/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
        at bootstrap/java.base@17.0.15/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at bootstrap/java.base@17.0.15/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
        at bootstrap/java.base@17.0.15/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
        at LAYER PLUGIN/javafmllanguage@1.20.1-47.4.10/net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:77)
        at LAYER PLUGIN/fmlcore@1.20.1-47.4.10/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:126)
        at bootstrap/java.base@17.0.15/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        at bootstrap/java.base@17.0.15/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at bootstrap/java.base@17.0.15/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

        Suspecting mods:
         - Music Triggers (musictriggers)
           - version: 7.0.4
           - file: musictriggers-7.0.4.jar

[14:32:00] [Stuck Thread Watcher/WARN] [AllTheLeaks/]: Seems like server is stuck while trying to close. Read messages above about stuck threads!

This is also reproducible with only these two mods installed. The client exits just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions