Dynmap causing thread dump on server shutdown.
mibby opened this issue ยท 2 comments
Java 14.0.1
Paper dev 183 (Spigot 1.15.2)
dynmap v3.0-SNAPSHOT-262 (dynmap-HEAD-spigot as of 2020-04-13 07:00)
dynmap seems to cause a thread dump on server shutdown when it is shutting itself down. It happens and is reproducible on shutdown every time with Paper.
[02:35:32] [Paper Watchdog Thread/ERROR]: ------------------------------
[02:35:32] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[02:35:32] [Paper Watchdog Thread/ERROR]: PID: 26 | Suspended: false | Native: false | State: TIMED_WAITING
[02:35:32] [Paper Watchdog Thread/ERROR]: Stack:
[02:35:32] [Paper Watchdog Thread/ERROR]: [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[02:35:32] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
[02:35:32] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1661)
[02:35:32] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1456)
[02:35:32] [Paper Watchdog Thread/ERROR]: org.dynmap.MapManager.stopRendering(MapManager.java:1487)
[02:35:32] [Paper Watchdog Thread/ERROR]: org.dynmap.DynmapCore.disableCore(DynmapCore.java:926)
[02:35:32] [Paper Watchdog Thread/ERROR]: org.dynmap.bukkit.DynmapPlugin.onDisable(DynmapPlugin.java:971)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:372)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:516)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:502)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:495)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//org.bukkit.craftbukkit.v1_15_R1.CraftServer.disablePlugins(CraftServer.java:404)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//net.minecraft.server.v1_15_R1.MinecraftServer.stop(MinecraftServer.java:747)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//net.minecraft.server.v1_15_R1.DedicatedServer.stop(DedicatedServer.java:752)
[02:35:32] [Paper Watchdog Thread/ERROR]: app//net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:981)
[02:35:32] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Thread.run(Thread.java:832)
[02:35:32] [Paper Watchdog Thread/ERROR]: ------------------------------
Full dump.
https://paste.ubuntu.com/p/rqX9ztMhkD/
please use the latest version of dynmap and let me know if the issue persists