Jakllp / MyPet

This is not the main project - Please visit https://github.com/MyPetORG/MyPet
https://www.spigotmc.org/resources/mypet.12725/
GNU Lesser General Public License v3.0
14 stars 8 forks source link

Bug: New Packet-Errors - Packet handling taking too long #29

Closed UmNyom closed 3 years ago

UmNyom commented 3 years ago

Happens on Server-Start

[14:02:27 ERROR]: --- DO NOT REPORT THIS TO SSSPIGOT - THIS IS NOT A BUG OR A CRASH  - SSSpigot2-1.17.1-20210819-99c0f67 (MC: 1.17.1) ---
[14:02:27 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[14:02:27 ERROR]: ------------------------------
[14:02:27 ERROR]: Server thread dump (Look for plugins here before reporting!):
[14:02:27 ERROR]: Ticking entity: minecraft:player, entity class: net.minecraft.server.level.EntityPlayer
[14:02:27 ERROR]: Entity status: removed: false, valid: true, alive: true, is passenger: false
[14:02:27 ERROR]: Entity UUID: da27edaf-5f45-4840-bfa0-901e914bcadf
[14:02:27 ERROR]: Position: world: 'spawn' at location (-66.23783398060449, 117.0, 265.0369767601765)
[14:02:27 ERROR]: Velocity: (0.0, 0.0, 0.0) (in blocks per tick)
[14:02:27 ERROR]: Entity AABB: AABB[-66.53783399252542, 117.0, 264.7369767482556] -> [-65.93783396868356, 118.79999995231628, 265.33697677209744]
[14:02:27 ERROR]: Total packets processed on the main thread for all players: 20
[14:02:27 ERROR]: ------------------------------
[14:02:27 ERROR]: Current Thread: Server thread
[14:02:27 ERROR]:       PID: 43 | Suspended: false | Native: false | State: WAITING
[14:02:27 ERROR]:       Stack:
[14:02:27 ERROR]:               java.base@16.0.2/java.lang.Object.wait(Native Method)
[14:02:27 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftFuture.get(CraftFuture.java:53)
[14:02:27 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftFuture.get(CraftFuture.java:40)
[14:02:27 ERROR]:               MyPet-3.12-dev5.1.jar//de.Keyle.MyPet.compat.v1_17_R1.PlatformHelper.getEntity(PlatformHelper.java:377)
[14:02:27 ERROR]:               MyPet-3.12-dev5.1.jar//de.Keyle.MyPet.util.hooks.ProtocolLibHook$2.onPacketSending(ProtocolLibHook.java:154)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:346)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:308)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:433)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:70)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:373)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:343)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127)
[14:02:27 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95)
[14:02:27 ERROR]:               app//net.minecraft.network.Connection.writePacket(Connection.java:423)
[14:02:27 ERROR]:               app//net.minecraft.network.Connection.send(Connection.java:370)
[14:02:27 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:1999)
[14:02:27 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:1985)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.EntityNMSArmorStand.broadcastLocationPacketNMS(EntityNMSArmorStand.java:225)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.EntityNMSArmorStand.setLocationNMS(EntityNMSArmorStand.java:212)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.NmsManagerImpl.spawnNMSArmorStand(NmsManagerImpl.java:73)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.line.CraftTextLine.spawn(CraftTextLine.java:102)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.refreshSingleLines(CraftHologram.java:264)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.appendTextLine(CraftHologram.java:130)
[14:02:27 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.appendTextLine(CraftHologram.java:37)
[14:02:27 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.managers.HologramManager.update(HologramManager.java:72)
[14:02:27 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.managers.HologramManager.show(HologramManager.java:43)
[14:02:27 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.listeners.PlayerListener.onPlayerJoin(PlayerListener.java:18)
[14:02:27 ERROR]:               com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor594.execute(Unknown Source)
[14:02:27 ERROR]:               app//org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[14:02:27 ERROR]:               app//org.bukkit.plugin.EventExecutor$$Lambda$5444/0x0000000801ca5d68.execute(Unknown Source)
[14:02:27 ERROR]:               app//co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[14:02:27 ERROR]:               app//org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[14:02:27 ERROR]:               app//org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:633)
[14:02:27 ERROR]:               app//net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360)
[14:02:27 ERROR]:               app//net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302)
[14:02:27 ERROR]:               app//net.minecraft.server.players.PlayerList$$Lambda$8574/0x0000000802bdfc50.run(Unknown Source)
[14:02:27 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:308)
[14:02:27 ERROR]:               app//net.minecraft.network.Connection.tick(Connection.java:555)
[14:02:27 ERROR]:               app//net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:201)
[14:02:27 ERROR]:               app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1703)
[14:02:27 ERROR]:               app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:502)
[14:02:27 ERROR]:               app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515)
[14:02:27 ERROR]:               app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1289)
[14:02:27 ERROR]:               app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[14:02:27 ERROR]:               app//net.minecraft.server.MinecraftServer$$Lambda$3684/0x00000008013ede78.run(Unknown Source)
[14:02:27 ERROR]:               java.base@16.0.2/java.lang.Thread.run(Thread.java:831)
[14:02:27 ERROR]: ------------------------------
[14:02:27 ERROR]: --- DO NOT REPORT THIS TO SSSPIGOT - THIS IS NOT A BUG OR A CRASH ---
[14:02:27 ERROR]: ------------------------------
[14:02:32 ERROR]: --- DO NOT REPORT THIS TO SSSPIGOT - THIS IS NOT A BUG OR A CRASH  - SSSpigot2-1.17.1-20210819-99c0f67 (MC: 1.17.1) ---
[14:02:32 ERROR]: The server has not responded for 15 seconds! Creating thread dump
[14:02:32 ERROR]: ------------------------------
[14:02:32 ERROR]: Server thread dump (Look for plugins here before reporting!):
[14:02:32 ERROR]: Ticking entity: minecraft:player, entity class: net.minecraft.server.level.EntityPlayer
[14:02:32 ERROR]: Entity status: removed: false, valid: true, alive: true, is passenger: false
[14:02:32 ERROR]: Entity UUID: da27edaf-5f45-4840-bfa0-901e914bcadf
[14:02:32 ERROR]: Position: world: 'spawn' at location (-66.23783398060449, 117.0, 265.0369767601765)
[14:02:32 ERROR]: Velocity: (0.0, 0.0, 0.0) (in blocks per tick)
[14:02:32 ERROR]: Entity AABB: AABB[-66.53783399252542, 117.0, 264.7369767482556] -> [-65.93783396868356, 118.79999995231628, 265.33697677209744]
[14:02:32 ERROR]: Total packets processed on the main thread for all players: 20
[14:02:32 ERROR]: ------------------------------
[14:02:32 ERROR]: Current Thread: Server thread
[14:02:32 ERROR]:       PID: 43 | Suspended: false | Native: false | State: WAITING
[14:02:32 ERROR]:       Stack:
[14:02:32 ERROR]:               java.base@16.0.2/java.lang.Object.wait(Native Method)
[14:02:32 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftFuture.get(CraftFuture.java:53)
[14:02:32 ERROR]:               app//org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftFuture.get(CraftFuture.java:40)
[14:02:32 ERROR]:               MyPet-3.12-dev5.1.jar//de.Keyle.MyPet.compat.v1_17_R1.PlatformHelper.getEntity(PlatformHelper.java:377)
[14:02:32 ERROR]:               MyPet-3.12-dev5.1.jar//de.Keyle.MyPet.util.hooks.ProtocolLibHook$2.onPacketSending(ProtocolLibHook.java:154)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:346)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:308)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:433)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:70)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:373)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:343)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127)
[14:02:32 ERROR]:               ProtocolLib.jar//com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95)
[14:02:32 ERROR]:               app//net.minecraft.network.Connection.writePacket(Connection.java:423)
[14:02:32 ERROR]:               app//net.minecraft.network.Connection.send(Connection.java:370)
[14:02:32 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:1999)
[14:02:32 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:1985)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.EntityNMSArmorStand.broadcastLocationPacketNMS(EntityNMSArmorStand.java:225)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.EntityNMSArmorStand.setLocationNMS(EntityNMSArmorStand.java:212)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.nms.v1_17_R1.NmsManagerImpl.spawnNMSArmorStand(NmsManagerImpl.java:73)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.line.CraftTextLine.spawn(CraftTextLine.java:102)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.refreshSingleLines(CraftHologram.java:264)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.appendTextLine(CraftHologram.java:130)
[14:02:32 ERROR]:               HolographicDisplays.jar//com.gmail.filoghost.holographicdisplays.object.CraftHologram.appendTextLine(CraftHologram.java:37)
[14:02:32 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.managers.HologramManager.update(HologramManager.java:72)
[14:02:32 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.managers.HologramManager.show(HologramManager.java:43)
[14:02:32 ERROR]:               PlayerSkills.jar//me.fatpigsarefat.skills.listeners.PlayerListener.onPlayerJoin(PlayerListener.java:18)
[14:02:32 ERROR]:               com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor594.execute(Unknown Source)
[14:02:32 ERROR]:               app//org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[14:02:32 ERROR]:               app//org.bukkit.plugin.EventExecutor$$Lambda$5444/0x0000000801ca5d68.execute(Unknown Source)
[14:02:32 ERROR]:               app//co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
[14:02:32 ERROR]:               app//org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[14:02:32 ERROR]:               app//org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:633)
[14:02:32 ERROR]:               app//net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360)
[14:02:32 ERROR]:               app//net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302)
[14:02:32 ERROR]:               app//net.minecraft.server.players.PlayerList$$Lambda$8574/0x0000000802bdfc50.run(Unknown Source)
[14:02:32 ERROR]:               app//net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:308)
[14:02:32 ERROR]:               app//net.minecraft.network.Connection.tick(Connection.java:555)
[14:02:32 ERROR]:               app//net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:201)
[14:02:32 ERROR]:               app//net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1703)
[14:02:32 ERROR]:               app//net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:502)
[14:02:32 ERROR]:               app//net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1515)
[14:02:32 ERROR]:               app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1289)
[14:02:32 ERROR]:               app//net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[14:02:32 ERROR]:               app//net.minecraft.server.MinecraftServer$$Lambda$3684/0x00000008013ede78.run(Unknown Source)
[14:02:32 ERROR]:               java.base@16.0.2/java.lang.Thread.run(Thread.java:831)
[14:02:32 ERROR]: ------------------------------
[14:02:32 ERROR]: --- DO NOT REPORT THIS TO SSSPIGOT - THIS IS NOT A BUG OR A CRASH ---
[14:02:32 ERROR]: ------------------------------
UmNyom commented 3 years ago

As soon as you apply it, the server fails. I'll be waiting for you. Thank you.

UmNyom commented 3 years ago

Thank you for always caring and working hard to develop.

Jakllp commented 3 years ago

Potentially fixed in https://github.com/Jakllp/MyPet/commit/70a7289e770afece3ef7cb6733bf7e5790720545

(Still waiting before releasing - we might be able to have jumping whilst riding soon)

Jakllp commented 3 years ago

Release: https://github.com/Jakllp/MyPet/releases/tag/v1.17.1-dev6 - please try and report back

Jakllp commented 3 years ago

Well didn't fix it. message-1.txt

If anyone has a fix for that - Feel free to share

Jakllp commented 3 years ago

Done in https://github.com/Jakllp/MyPet/commit/84c30d42881be07f7f0109eb9d9790114c550ab1