SimpleClans

SimpleClans

467k Downloads

/crew rivalries somehow freezes the server

TomLewis opened this issue ยท 5 comments

commented

Paper 1.12.2
SimpleClans 2.7.23

/crew rivalries somehow freezes the server

Just noticed a user run this and this happened.

[12:24:12] [Server thread/INFO]: YaBoi3214 issued server command: /crew rivalries
[12:24:21] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[12:24:21] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump
[12:24:21] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:21] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[12:24:21] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:21] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[12:24:21] [Paper Watchdog Thread/ERROR]: 	PID: 20 | Suspended: false | Native: false | State: RUNNABLE
[12:24:21] [Paper Watchdog Thread/ERROR]: 	Stack:
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Matcher.reset(Matcher.java:406)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Matcher.<init>(Matcher.java:253)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern.matcher(Pattern.java:1133)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.StringSimplifier.stripDiacritics(StringSimplifier.java:80)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.StringSimplifier.simplifiedString(StringSimplifier.java:38)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.charLength(ChatBlock.java:446)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.msgLength(ChatBlock.java:429)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.cropRightToFit(ChatBlock.java:354)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.sendBlock(ChatBlock.java:257)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.sendBlock(ChatBlock.java:117)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.commands.RivalriesCommand.execute(RivalriesCommand.java:61)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.executors.ClanCommandExecutor.onCommand(ClanCommandExecutor.java:150)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1492)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1297)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnectionUtils$$Lambda$1179/0x0000000841790040.run(Unknown Source)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
[12:24:21] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.lang.Thread.run(Thread.java:834)
[12:24:21] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:21] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[12:24:21] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:26] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[12:24:26] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump
[12:24:26] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:26] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[12:24:26] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:26] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[12:24:26] [Paper Watchdog Thread/ERROR]: 	PID: 20 | Suspended: false | Native: false | State: RUNNABLE
[12:24:26] [Paper Watchdog Thread/ERROR]: 	Stack:
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.lang.Character$UnicodeBlock.of(Character.java:3828)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.CharPredicates.lambda$forUnicodeBlock$11(CharPredicates.java:248)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.CharPredicates$$Lambda$1169/0x0000000841787840.is(Unknown Source)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$CharPredicate.lambda$union$1(Pattern.java:5680)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$CharPredicate$$Lambda$89/0x0000000840166440.is(Unknown Source)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$CharPredicate.lambda$union$1(Pattern.java:5680)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$CharPredicate$$Lambda$89/0x0000000840166440.is(Unknown Source)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$CharPropertyGreedy.match(Pattern.java:4297)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Pattern$Start.match(Pattern.java:3619)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Matcher.search(Matcher.java:1729)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Matcher.find(Matcher.java:746)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.regex.Matcher.replaceAll(Matcher.java:1178)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.StringSimplifier.stripDiacritics(StringSimplifier.java:80)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.StringSimplifier.simplifiedString(StringSimplifier.java:38)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.charLength(ChatBlock.java:446)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.msgLength(ChatBlock.java:429)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.paddRightToFit(ChatBlock.java:409)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.sendBlock(ChatBlock.java:187)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.ChatBlock.sendBlock(ChatBlock.java:117)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.commands.RivalriesCommand.execute(RivalriesCommand.java:61)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		net.sacredlabyrinth.phaed.simpleclans.executors.ClanCommandExecutor.onCommand(ClanCommandExecutor.java:150)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1492)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1297)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.PlayerConnectionUtils$$Lambda$1179/0x0000000841790040.run(Unknown Source)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		app//net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
[12:24:26] [Paper Watchdog Thread/ERROR]: 		[email protected]/java.lang.Thread.run(Thread.java:834)
[12:24:26] [Paper Watchdog Thread/ERROR]: ------------------------------
[12:24:26] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[12:24:26] [Paper Watchdog Thread/ERROR]: ------------------------------
commented

Does it happen every time you run the rivalries command?

commented

Yes, it takes a very long time to print them out one by one and drops TPS, every time.
Im using MySQL and I have 923 Crews atm.

commented

Can you test this in the latest version of Paper? Using a copy of your db.

commented

@RoinujNosde I can but I am running 1.12.2 paper, will the latest version of SimpleClans work on that?

commented

I think that only the vitals command breaks on 1.12.
And the test is to see if it's a Paper's issue.