Skip to content

PackAnalytics mod leaves stale thread on server shutdown #2

@filliravaz

Description

@filliravaz

Describe the bug

This mod leaves a stale thread from shutdown, causing the server to hang permanently.
This was observed in the modpack Prominence 2 RPG, and removing this mod caused the issue to disappear.

Log Files

Thread dump from the stale thread: https://mclo.gs/w7B2iGs
Image from JFR analysis (JDK Mission Control app), stacktrace for the thread start event
Image
The server with the mod will hang with these as the last lines:

[13:58:38] [Server thread/INFO]: Stopping IO worker...
[13:58:38] [Server thread/INFO]: Stopped IO worker!

Mod Version, Modloader, and Minecraft Version

  • Which version of the mod are you using?
    1.0.3

  • Fabric, Forge, NeoForge?
    Fabric 0.16.10

  • Which Minecraft version?
    1.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions