Parkour

Parkour

570k Downloads

Server hangs and crashes when completing parkour

TheManchineel opened this issue ยท 1 comments

commented

I'm on the latest 1.17.1 Paper release and latest plugin version.

When I complete any parkour course, I repeatedly get the following message in the server log:

[20:27:56 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-279 (MC: 1.17.1) ---
[20:27:56 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[20:27:56 ERROR]: ------------------------------
[20:27:56 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[20:27:56 ERROR]: ------------------------------
[20:27:56 ERROR]: Current Thread: Server thread
[20:27:56 ERROR]:       PID: 23 | Suspended: false | Native: false | State: WAITING
[20:27:56 ERROR]:       Stack:
[20:27:56 ERROR]:               [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[20:27:56 ERROR]:               [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
[20:27:56 ERROR]:               [email protected]/java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1860)
[20:27:56 ERROR]:               [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3137)
[20:27:56 ERROR]:               [email protected]/java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1894)
[20:27:56 ERROR]:               [email protected]/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2068)
[20:27:56 ERROR]:               Parkour-6.7.1.jar//io.github.a5h73y.parkour.database.ParkourDatabase.deletePlayerCourseTimes(ParkourDatabase.java:375)
[20:27:56 ERROR]:               Parkour-6.7.1.jar//io.github.a5h73y.parkour.database.ParkourDatabase.insertOrUpdateTime(ParkourDatabase.java:315)
[20:27:56 ERROR]:               Parkour-6.7.1.jar//io.github.a5h73y.parkour.type.player.PlayerManager.submitPlayerLeaderboard(PlayerManager.java:785)
[20:27:56 ERROR]:               Parkour-6.7.1.jar//io.github.a5h73y.parkour.type.player.PlayerManager.lambda$finishCourse$6(PlayerManager.java:588)
[20:27:56 ERROR]:               Parkour-6.7.1.jar//io.github.a5h73y.parkour.type.player.PlayerManager$$Lambda$7575/0x0000000802405520.run(Unknown Source)
[20:27:56 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[20:27:56 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[20:27:56 ERROR]:               app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1559)
[20:27:56 ERROR]:               app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:479)
[20:27:56 ERROR]:               app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1475)
[20:27:56 ERROR]:               app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1274)
[20:27:56 ERROR]:               app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[20:27:56 ERROR]:               app//net.minecraft.server.MinecraftServer$$Lambda$3699/0x00000008013c8b00.run(Unknown Source)
[20:27:56 ERROR]:               [email protected]/java.lang.Thread.run(Thread.java:831)

Followed by a complete server crash. I tried deleting DB, config.yml & strings.yml, no change.

My list of plugins: Plugins (32): BanItem, Copy-Coords*, CoreProtect, CreativeManager, DiscordSRV, floodgate, Floodgate-Skript, JukeBox, LuckPerms, Multiverse-Core, Multiverse-Portals, NerfPhantoms, NoteBlockAPI, Parkour, PlayerKits, Playtimes*, ProtocolLib, racing, RuntimeSkriptAddonPatcher, SimplePortals, SkBee, SkQuery, Skript, Skungee, Themis, VoidGen, WitherAC, WorldBorder, WorldEdit, WorldEditSelectionVisualizer, WorldGuard, WorldGuardExtraFlags

I'm also running the latest OpenJDK version of Java 16 on Ubuntu Server 20.04 LTS.

What can I do to further diagnose this?

commented

This possibly looks like a database locking issue.
Could you please retest when 7.0.0 has been released please and reopen if still an issue.