Bug: cleanActiveMobs endless loop

Discussion in 'Bug Reports' started by li709, Jun 9, 2018.

  1. li709

    li709 New Member

    Jun 9, 2018
    Likes Received:
    Enter a brief description of what is broken cleanActiveMobs endless loop

    What version of Minecraft are you using? 1.12

    What server jar are you using? PaperSpigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.3.2

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    "Craft Scheduler Thread - 1705" #7034 prio=5 os_prio=0 tid=0x00007fea90071800 nid=0x5098 runnable [0x00007feb431f0000]
    java.lang.Thread.State: RUNNABLE
    at java.util.HashMap$TreeNode.split(HashMap.java:2134)
    at java.util.HashMap.resize(HashMap.java:713)
    at java.util.HashMap.putVal(HashMap.java:662)
    at java.util.HashMap.put(HashMap.java:611)
    at java.util.HashSet.add(HashSet.java:219)
    at io.lumine.xikage.mythicmobs.mobs.ActiveMob.unregister(ActiveMob.java:348)
    at io.lumine.xikage.mythicmobs.mobs.MobManager.unregisterActiveMob(MobManager.java:357)
    at io.lumine.xikage.mythicmobs.mobs.MobManager$QueuedMobCleanup.run(MobManager.java:409)
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63)
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

    Example Configurations
  2. li709

    li709 New Member

    Jun 9, 2018
    Likes Received:
    I don't speak english...
    I bought the development version, but I didn't solve it。
    QueuedMobCleanup is async,

    MobManager.mmVoidList It's not thread safe

Share This Page