Server stop responding when i leave
fellettigiacomo opened this issue ยท 6 comments
Problem
Everytime i quit my server the server stop responding
Details
Plugin version:
latest (v5.5.0)
Software version:
Paper 323 1.16.4
Relevant plugins:
Console error
https://pastebin.com/ibWXYgty (entire dump)
[16:24:18 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-323 (MC: 1.16.4) ---
[16:24:18 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[16:24:18 ERROR]: ------------------------------
[16:24:18 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[16:24:18 ERROR]: ------------------------------
[16:24:18 ERROR]: Current Thread: Server thread
[16:24:18 ERROR]: PID: 21 | Suspended: false | Native: false | State: BLOCKED
[16:24:18 ERROR]: Stack:
[16:24:18 ERROR]: [email protected]/java.util.Collections$SynchronizedCollection.remove(Collections.java:2043)
[16:24:18 ERROR]: hu.montlikadani.tablist.bukkit.Groups.removePlayerGroup(Groups.java:245)
[16:24:18 ERROR]: hu.montlikadani.tablist.bukkit.TabList.onPlayerQuit(TabList.java:376)
[16:24:18 ERROR]: hu.montlikadani.tablist.bukkit.listeners.Listeners.onPlayerLeave(Listeners.java:65)
[16:24:18 ERROR]: com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor118.execute(Unknown Source)
[16:24:18 ERROR]: app//org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[16:24:18 ERROR]: app//org.bukkit.plugin.EventExecutor$$Lambda$3861/0x00000001008b8440.execute(Unknown Source)
[16:24:18 ERROR]: app//co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[16:24:18 ERROR]: app//org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[16:24:18 ERROR]: app//org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.PlayerList.disconnect(PlayerList.java:513)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1675)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.NetworkManager.handleDisconnection(NetworkManager.java:500)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:165)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1381)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1209)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:997)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:178)
[16:24:18 ERROR]: app//net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3128/0x000000010090dc40.run(Unknown Source)
[16:24:18 ERROR]: [email protected]/java.lang.Thread.run(Thread.java:834)
Configuration file(s)
config.yml ->https://pastebin.com/ftHujC4b
configuration file:
Screenshots (optional)
Try to use this new version under Artifacts.
Thanks, but it still crashes when i leave the server.
He's the server thread dump: https://pastebin.com/jEuk43vG
I feel like we should use ArrayBlockingQueue here because the synchronized lists always "thread dumping".
TabList/src/main/java/hu/montlikadani/tablist/bukkit/Groups.java
Lines 30 to 31 in 8ffe53d
This crash is because we synchronizing the linked list as to block the current thread to successfully remove the element from list, but seems never done. great
i've found the other plugin that causes Tablist to crash the server. If i disable vault, the server doesn't crash
Try with this build