LuckPerms

LuckPerms

41.4k Downloads

[1.7.10] LuckPerms times out

Sir-Will opened this issue ยท 5 comments

commented

hey,

I was trying to update LP from 4.1.44 to 4.2.12 on 1.7.10 but LuckPerms seems to be stuck checking for permissions when GriefPrevention is installed. (Permission commands don't respond, getting timed out trying to join the server...).

If I either go back to the previous version or remove GP then it works again.

There is not any error in the log but at shutdown it's stuck at this:

[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - sun.misc.Unsafe.park(Native Method)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1465)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler.shutdown(AbstractJavaScheduler.java:65)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:220)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - me.lucko.luckperms.bukkit.LPBukkitBootstrap.onDisable(LPBukkitBootstrap.java:151)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:318)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:392)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:429)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:422)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - org.bukkit.craftbukkit.v1_7_R4.CraftServer.disablePlugins(CraftServer.java:364)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:560)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - net.minecraft.server.MinecraftServer.run(MinecraftServer.java:729)
[18:47:51] [Thread Locksmith Watchdog/INFO] [/]:  - java.lang.Thread.run(Thread.java:745)
commented

Good point, I will check the luckperms threads.

commented

Found the issue, one of the plugins (which requires GP to be enabled) used a deprecated api of LP which did cause this issue.

Thank you for your input as always.

commented

Are you using the Legacy-version of LP?

commented

Yes

commented

If there's no error in the log then I have no reason to believe it's an LP issue.

The disable error is because LP timed out waiting for scheduler tasks to complete, but it doesn't actually say what the tasks are.

I ideally need a tread dump at this time to work out if/where the issue is within LP.