#(Hepno) PlayerAnimation causes Thread Dumps
42 messages · Page 1 of 1 (latest)
(Hepno) PlayerAnimation causes Thread Dumps
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!logs
Please post your full latest log file.
Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).
How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.
Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.
!logcheck
Incorrect upload of log reuploaded to pastebin at https://paste.denizenscript.com/View/105982
Purpur version git-Purpur-1171 (MC: 1.16.5)
Citizens v2.0.30-SNAPSHOT (build 2753) -- (:warning:Outdated build, behind by 148)
@robust sorrel
4 (:white_check_mark: Online)
WorldGuard v7.0.5+3827266, MythicMobs v5.1.4-3aa1b5d2, ProtocolLib v5.0.0-SNAPSHOT-b612
PlugManX v2.3.0 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.
TAB v3.1.5 - This plugin adds Below_Name scoreboards to NPCs.
ModelEngine vR2.5.2 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Latest Citizens dev builds are at https://ci.citizensnpcs.co/job/Citizens2/.
Spigot releases of Citizens are available at https://www.spigotmc.org/resources/citizens.13811/.
Our plugins (Citizens, Sentinel, and Denizen) officially support both Spigot and Paper.
Any other forks of the Bukkit project are not supported, but may or may not work in practice.
-
Lower forks, like CraftBukkit, do not function. You must upgrade to a higher fork (Spigot or Paper).
-
Hard forks and cross-forks, like Cauldron/Magma/Mohist/Any other Forge-integration fork, or Cardboard/any other Fabric-integration fork, will not work. Some unofficial custom builds of Citizens are made to support these servers, but we cannot provide any support for them here.
-
Higher forks above Spigot/Paper, such as Purpur, Airplane, etc. are compatible with Citizens only as much as they are compatible with Spigot/Paper. They are generally expected to work in most cases, but we cannot make any guarantees. We will still offer support to users running such forks, but be aware that if you encounter bugs while running such a fork, we may ask you to replicate them on Spigot/Paper to confirm they aren't caused by changes the fork made.
But also, looking at the thread dumps, what causes you to think they're caused by Citizens? they seem to mention Essentials
I have a plugin using CitizensAPI which spawns a corpse NPC upon player death. I ran /suicide to test it. The NPC appears, tries to lay down, then thread dumps
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@high lodge
You're running the command /suicide will kills you, and then what appears to be your own plugin listens to the death dev.hepno.myrutils2.Events.DeathBan.onPlayerDeath(DeathBan.java:110) and then executes an SQL query on main thread. SQL takes time to read, and so that locks up the server thread. That "the thread dumps" you're saying is your server is freezing (because it's waiting on SQL) and the watchdog is giving you a thread dump so you can see why
SQL in minecraft is dirty, ideally you'd just not use (instead prefer something like a local config), but if you must use SQL, then trigger it off-thread (and if you need to process results, use bukkit scheduler to merge back to main thread for that)
which for the record none of this involves Citizens, merely coincidental
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@high lodge
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@high lodge
So run the SQL stuff asynchronously?
ye
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@high lodge