Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265624

Server crashes even without players on it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.20.2
    • None
    • Ubuntu server 20.04.6
      Java Version: OpenJDK 17.0.8.1
      More info in error log
    • Unconfirmed
    • (Unassigned)

      The (vanilla) server crashes even if nobody plays on it. There is no visible reason for the crash.
      Here is the error log:

       

      ---- Minecraft Crash Report ----
      // Hey, that tickles! Hehehe!
      Time: 2023-10-02 12:07:34
      Description: Watching Server
      java.lang.Error: Watchdog
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
          at bfr.i(SourceFile:131)
          at bfr.a(SourceFile:124)
          at bfq.c(SourceFile:31)
          at dij.a(SourceFile:234)
          at dij.a(SourceFile:172)
          at dii.a(SourceFile:116)
          at djl.a(SourceFile:299)
          at djl.f(SourceFile:380)
          at djl$$Lambda$7064/0x00007f5db0c99c78.accept(Unknown Source)
          at it.unimi.dsi.fastutil.longs.LongOpenHashSet.forEach(LongOpenHashSet.java:762)
          at it.unimi.dsi.fastutil.longs.LongIterable.forEach(LongIterable.java:146)
          at it.unimi.dsi.fastutil.longs.AbstractLongCollection.forEach(AbstractLongCollection.java:153)
          at djl.b(SourceFile:374)
          at akq.a(SourceFile:800)
          at net.minecraft.server.MinecraftServer.a(SourceFile:534)
          at net.minecraft.server.MinecraftServer.b(SourceFile:558)
          at net.minecraft.server.MinecraftServer.a(SourceFile:830)
          at net.minecraft.server.MinecraftServer.w(SourceFile:667)
          at net.minecraft.server.MinecraftServer.a(SourceFile:263)
          at net.minecraft.server.MinecraftServer$$Lambda$5232/0x00007f5db09b5410.run(Unknown Source)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      -- Head --
      Thread: Server Watchdog
      Stacktrace:
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
          at bfr.i(SourceFile:131)
          at bfr.a(SourceFile:124)
          at bfq.c(SourceFile:31)
          at dij.a(SourceFile:234)
          at dij.a(SourceFile:172)
          at dii.a(SourceFile:116)
          at djl.a(SourceFile:299)
          at djl.f(SourceFile:380)
          at djl$$Lambda$7064/0x00007f5db0c99c78.accept(Unknown Source)
          at it.unimi.dsi.fastutil.longs.LongOpenHashSet.forEach(LongOpenHashSet.java:762)
          at it.unimi.dsi.fastutil.longs.LongIterable.forEach(LongIterable.java:146)
          at it.unimi.dsi.fastutil.longs.AbstractLongCollection.forEach(AbstractLongCollection.java:153)
          at djl.b(SourceFile:374)
          at akq.a(SourceFile:800)
          at net.minecraft.server.MinecraftServer.a(SourceFile:534)
          at net.minecraft.server.MinecraftServer.b(SourceFile:558)
          at net.minecraft.server.MinecraftServer.a(SourceFile:830)
          at net.minecraft.server.MinecraftServer.w(SourceFile:667)
          at net.minecraft.server.MinecraftServer.a(SourceFile:263)
      -- Thread Dump --
      Details:
          Threads: "Reference Handler" daemon prio=10 Id=2 RUNNABLE
          at java.base@17.0.8.1/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
          at java.base@17.0.8.1/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
          at java.base@17.0.8.1/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)
      
      "Finalizer" daemon prio=8 Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@5151bf4
          at java.base@17.0.8.1/java.lang.Object.wait(Native Method)
          -  waiting on java.lang.ref.ReferenceQueue$Lock@5151bf4
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
          at java.base@17.0.8.1/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)
      
      "Signal Dispatcher" daemon prio=9 Id=4 RUNNABLE
      
      "Notification Thread" daemon prio=9 Id=12 RUNNABLE
      
      "Common-Cleaner" daemon prio=8 Id=13 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@bd2f526
          at java.base@17.0.8.1/java.lang.Object.wait(Native Method)
          -  waiting on java.lang.ref.ReferenceQueue$Lock@bd2f526
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
          at java.base@17.0.8.1/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
          at java.base@17.0.8.1/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)
      
      "DestroyJavaVM" prio=5 Id=15 RUNNABLE
      
      "JNA Cleaner" daemon prio=5 Id=20 WAITING on java.lang.ref.ReferenceQueue$Lock@fed7084
          at java.base@17.0.8.1/java.lang.Object.wait(Native Method)
          -  waiting on java.lang.ref.ReferenceQueue$Lock@fed7084
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
          at com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)
      
      "Timer hack thread" daemon prio=5 Id=21 TIMED_WAITING
          at java.base@17.0.8.1/java.lang.Thread.sleep(Native Method)
          at ac$9.run(SourceFile:840)
      
      "Yggdrasil Key Fetcher" daemon prio=5 Id=22 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4aefff1d
          at java.base@17.0.8.1/jdk.internal.misc.Unsafe.park(Native Method)
          -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4aefff1d
          at java.base@17.0.8.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
          at java.base@17.0.8.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
          at java.base@17.0.8.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
          at java.base@17.0.8.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
          ...
      
      "Server thread" prio=8 Id=32 RUNNABLE
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
          at java.base@17.0.8.1/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
          at bfr.i(SourceFile:131)
          at bfr.a(SourceFile:124)
          at bfq.c(SourceFile:31)
          at dij.a(SourceFile:234)
          at dij.a(SourceFile:172)
          at dii.a(SourceFile:116)
          ...
      
      "Server console handler" daemon prio=8 Id=34 RUNNABLE (in native)
          at java.base@17.0.8.1/java.io.FileInputStream.readBytes(Native Method)
          at java.base@17.0.8.1/java.io.FileInputStream.read(FileInputStream.java:276)
          at java.base@17.0.8.1/java.io.BufferedInputStream.read1(BufferedInputStream.java:282)
          at java.base@17.0.8.1/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
          -  locked java.io.BufferedInputStream@6708870f
          at java.base@17.0.8.1/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
          at java.base@17.0.8.1/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
          at java.base@17.0.8.1/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
          -  locked java.io.InputStreamReader@7bef350d
          at java.base@17.0.8.1/java.io.InputStreamReader.read(InputStreamReader.java:177)
          ...
      
      "Netty Epoll Server IO #0" daemon prio=5 Id=35 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Server Watchdog" daemon prio=8 Id=42 RUNNABLE
          at java.management@17.0.8.1/sun.management.ThreadImpl.dumpThreads0(Native Method)
          at java.management@17.0.8.1/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
          at java.management@17.0.8.1/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
          at ajq.run(SourceFile:47)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Java2D Disposer" daemon prio=10 Id=43 WAITING on java.lang.ref.ReferenceQueue$Lock@1fe213a4
          at java.base@17.0.8.1/java.lang.Object.wait(Native Method)
          -  waiting on java.lang.ref.ReferenceQueue$Lock@1fe213a4
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
          at java.base@17.0.8.1/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
          at java.desktop@17.0.8.1/sun.java2d.Disposer.run(Disposer.java:145)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #1" daemon prio=5 Id=45 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #2" daemon prio=5 Id=46 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #3" daemon prio=5 Id=190 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #4" daemon prio=5 Id=271 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #5" daemon prio=5 Id=272 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "Netty Epoll Server IO #6" daemon prio=5 Id=378 RUNNABLE (in native)
          at io.netty.channel.epoll.Native.epollWait(Native Method)
          at io.netty.channel.epoll.Native.epollWait(Native.java:209)
          at io.netty.channel.epoll.Native.epollWait(Native.java:202)
          at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
          at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
          at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
          at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
          at java.base@17.0.8.1/java.lang.Thread.run(Thread.java:833)
      
      "IO-Worker-637" prio=8 Id=681 RUNNABLE
       
      Stacktrace:
          at ajq.run(SourceFile:63)
          at java.base/java.lang.Thread.run(Thread.java:833)
      -- Performance stats --
      Details:
          Random tick rate: 3
          Level stats: ResourceKey[minecraft:dimension / minecraft:overworld]: players: 0, entities: 92,92,53,529,529,0,0 [minecraft:sheep:23,minecraft:chicken:17,minecraft:pig:13,minecraft:item:13,minecraft:chest_minecart:9], block_entities: 55 [minecraft:mob_spawner:43,minecraft:sign:8,minecraft:hanging_sign:1,minecraft:furnace:1,minecraft:bell:1], block_ticks: 1062, fluid_ticks: 2309, chunk_source: Chunks[S] W: 2209 E: 92,92,53,529,529,0,0,
      ResourceKey[minecraft:dimension / minecraft:the_end]: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks[S] W: 0 E: 0,0,0,0,0,0,0,
      ResourceKey[minecraft:dimension / minecraft:the_nether]: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks[S] W: 0 E: 0,0,0,0,0,0,0
      -- System Details --
      Details:
          Minecraft Version: 1.20.2
          Minecraft Version ID: 1.20.2
          Operating System: Linux (amd64) version 5.4.0
          Java Version: 17.0.8.1, Private Build
          Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Private Build
          Memory: 2925736640 bytes (2790 MiB) / 6408896512 bytes (6112 MiB) up to 17179869184 bytes (16384 MiB)
          CPUs: 8
          Processor Vendor: GenuineIntel
          Processor Name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
          Identifier: Intel64 Family 6 Model 63 Stepping 2
          Microarchitecture: Haswell (Server)
          Frequency (GHz): 2.50
          Number of physical packages: 1
          Number of physical CPUs: 10
          Number of logical CPUs: 10
          Graphics card #0 name: unknown
          Graphics card #0 vendor: unknown
          Graphics card #0 VRAM (MB): 0.00
          Graphics card #0 deviceId: unknown
          Graphics card #0 versionInfo: unknown
          Virtual memory max (MB): 0.00
          Virtual memory used (MB): 8267.82
          Swap memory total (MB): 0.00
          Swap memory used (MB): 0.00
          JVM Flags: 2 total; -Xms1G -Xmx16G
          Server Running: true
          Player Count: 0 / 10; []
          Data Packs: vanilla, file/sparetheanimals2.0
          Enabled Feature Flags: minecraft:vanilla
          World Generation: Stable
          Is Modded: Probably not. Server jar signature and brand is untouched
          Type: Dedicated Server (map_server.txt)
      

       

            Unassigned Unassigned
            kuuhaku101 kuuhaku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: