SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.07k stars 369 forks source link

Server crashes upon using /sk reload <> #2355

Closed YesItsBenji closed 5 years ago

YesItsBenji commented 5 years ago

Description

Upon reloading a skript the console fills with errors and the server then crashes.

Steps to Reproduce

just try reloading a skript

Errors / Screenshots

Server Information

ilsubyeega commented 5 years ago

Give us the Errors/Screenshots and Server platform that we can understand

YesItsBenji commented 5 years ago

sorry i forgot to leave the pastebin link https://pastebin.com/0vEt8Ym2

Matocolotoe commented 5 years ago

this is only a stacktrace of all the current threads on the server

ilsubyeega commented 5 years ago

sorry i forgot to leave the pastebin link https://pastebin.com/0vEt8Ym2

You should give us the full log, not some (even thread listing cropped)

YesItsBenji commented 5 years ago

latest.log

YesItsBenji commented 5 years ago

this part stands out to me the most.

[02:03:43] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:03:43] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump

[02:03:43] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:03:43] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:03:43] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:03:43] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:03:43] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:03:43] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:03:43] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:03:48] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:03:48] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump

[02:03:48] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:03:48] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:03:48] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:03:48] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:03:48] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:03:48] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:03:48] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:03:53] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:03:53] [Paper Watchdog Thread/ERROR]: The server has not responded for 20 seconds! Creating thread dump

[02:03:53] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:03:53] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:03:53] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:03:53] [Paper Watchdog Thread/ERROR]: java.util.LinkedList.indexOf(Unknown Source) [02:03:53] [Paper Watchdog Thread/ERROR]: java.util.LinkedList.contains(Unknown Source)

[02:03:53] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:03:53] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:03:53] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:03:53] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:03:58] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:03:58] [Paper Watchdog Thread/ERROR]: The server has not responded for 25 seconds! Creating thread dump

[02:03:58] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:03:58] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:03:58] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:03:58] [Paper Watchdog Thread/ERROR]: java.util.LinkedList.indexOf(Unknown Source) [02:03:58] [Paper Watchdog Thread/ERROR]: java.util.LinkedList.contains(Unknown Source)

[02:03:58] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:03:58] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:03:58] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:03:58] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:04:02] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 28353ms or 567 ticks behind [02:04:22] [Server thread/INFO]: ItzBenjyHere issued server command: /sk reload oyster [02:04:32] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:04:32] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump

[02:04:32] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:04:32] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:04:32] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:04:32] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:04:32] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:04:32] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:04:32] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:04:37] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:04:37] [Paper Watchdog Thread/ERROR]: The server has not responded for 15 seconds! Creating thread dump

[02:04:37] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:04:37] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:04:37] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:04:37] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:04:37] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:04:37] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:04:37] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

[02:04:42] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-158 (MC: 1.14.4) --- [02:04:42] [Paper Watchdog Thread/ERROR]: The server has not responded for 20 seconds! Creating thread dump

[02:04:42] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):

[02:04:42] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [02:04:42] [Paper Watchdog Thread/ERROR]: PID: 20 | Suspended: false | Native: false | State: RUNNABLE

[02:04:42] [Paper Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$$Lambda$3655/591485002.run(Unknown Source)

[02:04:42] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$3824/1796559601.run(Unknown Source)

[02:04:42] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)

[02:04:42] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---

ham1255 commented 5 years ago

try the following: 1/ remove all plugins and keep skript and its addons 2/ make test server if the problem still presets

Wealthyturtle commented 5 years ago

@OfficialBenjy Could you provide the trainsim skript that you reloaded?

Wealthyturtle commented 5 years ago

Closing this issue due to a lack of response. Looks like the issue was caused by an extremely slow parse of a script anyways (likely due to a long line somewhere).