Crash
Blamo27 opened this issue ยท 10 comments
Hello !
My server crashed due to Magic plugin.
Can you fix this ?
[16:30:34] [Server thread/WARN]: Excessive velocity set detected: tried to set velocity of entity #35023213 to (0.0,-4.242640687119285,-4.242640687119285).
[16:30:34] [Server thread/WARN]: java.lang.Exception: Stack trace
[16:30:34] [Server thread/WARN]: at java.lang.Thread.dumpStack(Thread.java:1333)
[16:30:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.setVelocity(CraftEntity.java:213)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.builtin.VelocityAction.perform(VelocityAction.java:143)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionContext.perform(ActionContext.java:38)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionHandler.perform(ActionHandler.java:237)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.CompoundAction.perform(CompoundAction.java:93)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionContext.perform(ActionContext.java:38)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionHandler.perform(ActionHandler.java:237)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.CompoundAction.perform(CompoundAction.java:93)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionContext.perform(ActionContext.java:38)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionHandler.perform(ActionHandler.java:237)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.action.ActionHandler.start(ActionHandler.java:178)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.spell.ActionSpell.onCast(ActionSpell.java:123)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.spell.BaseSpell.finalizeCast(BaseSpell.java:1146)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1047)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:875)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.spell.BaseSpell.cast(BaseSpell.java:1598)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3557)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.wand.Wand.cast(Wand.java:3539)
[16:30:34] [Server thread/WARN]: at com.elmakers.mine.bukkit.magic.listener.PlayerController.onPlayerInteract(PlayerController.java:401)
[16:30:34] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
[16:30:34] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[16:30:34] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Method.java:498)
[16:30:34] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300)
[16:30:34] [Server thread/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[16:30:34] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[16:30:34] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[16:30:34] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[16:30:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228)
[16:30:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:195)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerInteractManager.a(PlayerInteractManager.java:107)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:626)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInBlockDig.a(SourceFile:40)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInBlockDig.a(SourceFile:10)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[16:30:34] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[16:30:34] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
[16:30:34] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
[16:30:34] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
I got this too, my server crashed again
That's a very truncated log, but from what I can see does not look Magic related, you may have a corrupt chunk or.. something, I dunno. Error happened in vanilla code, though.
Are you stuck on 1.8 for some reason? It's like 3 years old, very hard to support that.
We'll update our server to 1.11 when the new website will be finished.
But in the mean time, we need to fix that to continue the developpment.
Theses two crashes are probably linked to a malicious user that is waiting the perfect timing to hit the server when there is the most players.
Ok, well I don't want your server crashing- try this build:
For the record, this was a really tedious change to have to re-do, and I am, at some point, going to flat out refuse to update the 1.8 and 1.7 builds of Magic- it's just getting completely ridiculous!
The current release of Magic has excessive velocity protection built in, but I'm pretty done updating Magic 5 (for 1.8)
This stacktrace doesn't really look like something that would crash your server normally. While it is true that the networking layer only shows velocities up to 4 correctly, and very high velocities can crash a server, it doesn't seem to be the case here. A velocity of 4 should be completely fine.
Perhaps something else is causing this? What's your server version and your magic version? Could you paste a longer log from when the crash happened?
I'm thinking this is Paper, it has velocity checks. I don't think this would be a "server crash" exactly but in plain spigot without the checks it does cause some client crashing and other serious issues.
I really hope you can update off of 1.8 at some point!
@NathanWolf Yes, thanks !