1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Crash URGENT - Occasional crashing

Discussion in 'Bugs & Feature Requests' started by EvilPeanut, May 21, 2013.

  1. Hello everyone,
    my server keeps crashing and i have no idea why,
    we only use mcbans and a plugin i code,
    heres the log:
    2013-05-21 20:33:29 [SEVERE] Spigot version: git-Spigot-869 (MC: 1.5.2)
    2013-05-21 20:33:29 [SEVERE] Current Thread State:
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Async Packet Handler - 140
    2013-05-21 20:33:30 [SEVERE]PID: 815 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]sun.misc.Unsafe.park(Native Method)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.SynchronousQueue.poll(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Netty IO Thread - 2
    2013-05-21 20:33:30 [SEVERE]PID: 20 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Thread is waiting on monitor(s):
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.select(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:574)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:289)
    2013-05-21 20:33:30 [SEVERE]io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Netty IO Thread - 1
    2013-05-21 20:33:30 [SEVERE]PID: 19 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Thread is waiting on monitor(s):
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.select(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:574)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:289)
    2013-05-21 20:33:30 [SEVERE]io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: File IO Thread
    2013-05-21 20:33:30 [SEVERE]PID: 26 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.sleep(Native Method)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.FileIOThread.b(SourceFile:43)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.FileIOThread.run(SourceFile:22)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Thread-6
    2013-05-21 20:33:30 [SEVERE]PID: 22 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.sleep(Native Method)
    2013-05-21 20:33:30 [SEVERE]com.mcbans.firestar.mcbans.callBacks.BanSync.run(BanSync.java:52)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Thread-5
    2013-05-21 20:33:30 [SEVERE]PID: 21 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.sleep(Native Method)
    2013-05-21 20:33:30 [SEVERE]com.mcbans.firestar.mcbans.callBacks.MainCallBack.run(MainCallBack.java:39)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Netty IO Thread - 0
    2013-05-21 20:33:30 [SEVERE]PID: 18 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Thread is waiting on monitor(s):
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Locked on:sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.nio.ch.SelectorImpl.select(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:574)
    2013-05-21 20:33:30 [SEVERE]io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:289)
    2013-05-21 20:33:30 [SEVERE]io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:109)
    2013-05-21 20:33:30 [SEVERE]java.lang.Thread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Spigot Metrics Thread
    2013-05-21 20:33:30 [SEVERE]PID: 17 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.lang.Object.wait(Native Method)
    2013-05-21 20:33:30 [SEVERE]java.util.TimerThread.mainLoop(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.TimerThread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Spigot Watchdog Thread
    2013-05-21 20:33:30 [SEVERE]PID: 16 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]sun.management.ThreadImpl.dumpThreads0(Native Method)
    2013-05-21 20:33:30 [SEVERE]sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]org.spigotmc.WatchdogThread.run(WatchdogThread.java:54)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Command Reader
    2013-05-21 20:33:30 [SEVERE]PID: 15 | Suspended: false | Native: true | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Thread is waiting on monitor(s):
    2013-05-21 20:33:30 [SEVERE]Locked on:eek:rg.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267)
    2013-05-21 20:33:30 [SEVERE]Locked on:eek:rg.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204)
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]org.fusesource.jansi.internal.Kernel32._getch(Native Method)
    2013-05-21 20:33:30 [SEVERE]org.fusesource.jansi.internal.WindowsSupport.readByte(WindowsSupport.java:46)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.WindowsTerminal.readByte(WindowsTerminal.java:184)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.WindowsTerminal.access$000(WindowsTerminal.java:53)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.WindowsTerminal$1.read(WindowsTerminal.java:151)
    2013-05-21 20:33:30 [SEVERE]java.io.FilterInputStream.read(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1167)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.ThreadCommandReader.run(ThreadCommandReader.java:32)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: DestroyJavaVM
    2013-05-21 20:33:30 [SEVERE]PID: 14 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Server thread
    2013-05-21 20:33:30 [SEVERE]PID: 13 | Suspended: false | Native: true | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Thread is waiting on monitor(s):
    2013-05-21 20:33:30 [SEVERE]Locked on:eek:rg.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.io.FileOutputStream.open(Native Method)
    2013-05-21 20:33:30 [SEVERE]java.io.FileOutputStream.<init>(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.io.FileOutputStream.<init>(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.io.FileWriter.<init>(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]me.evilpeanut.EvilBook.writeFileNewLine(EvilBook.java:4116)
    2013-05-21 20:33:30 [SEVERE]me.evilpeanut.EvilBook.logBlockBreak(EvilBook.java:3903)
    2013-05-21 20:33:30 [SEVERE]me.evilpeanut.EventListener.onBlockBreak(EventListener.java:788)
    2013-05-21 20:33:30 [SEVERE]sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.lang.reflect.Method.invoke(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    2013-05-21 20:33:30 [SEVERE]org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.PlayerInteractManager.breakBlock(PlayerInteractManager.java:277)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.PlayerInteractManager.dig(PlayerInteractManager.java:125)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:541)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.Packet14BlockDig.handle(SourceFile:46)
    2013-05-21 20:33:30 [SEVERE]org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:187)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
    2013-05-21 20:33:30 [SEVERE]org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:227)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    2013-05-21 20:33:30 [SEVERE]net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Snooper Timer
    2013-05-21 20:33:30 [SEVERE]PID: 10 | Suspended: false | Native: false | State: TIMED_WAITING
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE]java.lang.Object.wait(Native Method)
    2013-05-21 20:33:30 [SEVERE]java.util.TimerThread.mainLoop(Unknown Source)
    2013-05-21 20:33:30 [SEVERE]java.util.TimerThread.run(Unknown Source)
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Attach Listener
    2013-05-21 20:33:30 [SEVERE]PID: 5 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [SEVERE] Current Thread: Signal Dispatcher
    2013-05-21 20:33:30 [SEVERE]PID: 4 | Suspended: false | Native: false | State: RUNNABLE
    2013-05-21 20:33:30 [SEVERE]Stack:
    2013-05-21 20:33:30 [SEVERE] ------------------------------
    2013-05-21 20:33:30 [INFO] Startup script '/path/to/server/start.sh' does not exist! Stopping server.
     
  2. externo6

    Supporter

    Please use pastebin, have you tried with no plugins at all?
     
    • Funny Funny x 1
  3. Well no, it is a live server...
     
  4. md_5

    Administrator Developer

    Its the plugin you code, EvilBook.
    You are writing a file on the main server thread. This write is taking > 30 seconds which is lagging then crashing your server.
     
    • Like Like x 1
  5. Cheers, time to move to MySQL i guess ;)
     
  6. YoFuzzy3

    Supporter

    Must be a very Evil Book.
     
    • Funny Funny x 1
  7. Do you know how to use H2 with eclipse?
     
  8. YoFuzzy3

    Supporter

    I've never used H2, or any MySQL library for that matter; never had the need for it. Sorry.