mojira.dev
MC-264998

Watching Server Crash

Crash occurred - appears to be triggered by a watchdog process of some type:

 


Minecraft Crash Report ----
// Why did you do that?
 
Time: 2023-08-23 06:53:07
Description: Watching Server
 
java.lang.Error: Watchdog
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at bcn.bq(SourceFile:151)
at bcn.c(SourceFile:141)
at net.minecraft.server.MinecraftServer.p_(SourceFile:743)
at net.minecraft.server.MinecraftServer.w(SourceFile:675)
at net.minecraft.server.MinecraftServer.a(SourceFile:265)
at net.minecraft.server.MinecraftServer$$Lambda$4605/0x00000008019391d8.run(Unknown Source)
at [email protected]/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 [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at bcn.bq(SourceFile:151)
at bcn.c(SourceFile:141)
at net.minecraft.server.MinecraftServer.p_(SourceFile:743)
at net.minecraft.server.MinecraftServer.w(SourceFile:675)
at net.minecraft.server.MinecraftServer.a(SourceFile:265)
 
– Thread Dump –
Details:
Threads: "Reference Handler" daemon prio=10 Id=2 RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)
 
 
"Finalizer" daemon prio=8 Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@48ac31a8
at [email protected]/java.lang.Object.wait(Native Method)

  •  waiting on java.lang.ref.ReferenceQueue$Lock@48ac31a8
    at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
    at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
    at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)
     
     
    "Signal Dispatcher" daemon prio=9 Id=4 RUNNABLE
     
     
    "Notification Thread" daemon prio=9 Id=10 RUNNABLE
     
     
    "Common-Cleaner" daemon prio=8 Id=11 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@466bd6cd
    at [email protected]/java.lang.Object.wait(Native Method)

  •  waiting on java.lang.ref.ReferenceQueue$Lock@466bd6cd
    at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
    at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
    at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)
     
     
    "DestroyJavaVM" prio=5 Id=13 RUNNABLE
     
     
    "JNA Cleaner" daemon prio=5 Id=17 WAITING on java.lang.ref.ReferenceQueue$Lock@42545ad8
    at [email protected]/java.lang.Object.wait(Native Method)

  •  waiting on java.lang.ref.ReferenceQueue$Lock@42545ad8
    at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
    at [email protected]/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=18 TIMED_WAITING
    at [email protected]/java.lang.Thread.sleep(Native Method)
    at ac$9.run(SourceFile:839)
     
     
    "Yggdrasil Key Fetcher" daemon prio=5 Id=19 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@756dcf6
    at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)

  •  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@756dcf6
    at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
    at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
    at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
    at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
    at [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
    at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
    at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    ...
     
     
    "Server thread" prio=5 Id=23 TIMED_WAITING on java.lang.String@2ede8cc5
    at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)

  •  waiting on java.lang.String@2ede8cc5
    at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
    at bcn.bq(SourceFile:151)
    at bcn.c(SourceFile:141)
    at net.minecraft.server.MinecraftServer.p_(SourceFile:743)
    at net.minecraft.server.MinecraftServer.w(SourceFile:675)
    at net.minecraft.server.MinecraftServer.a(SourceFile:265)
    at net.minecraft.server.MinecraftServer$$Lambda$4605/0x00000008019391d8.run(Unknown Source)
    ...
     
     
    "Server console handler" daemon prio=5 Id=25 RUNNABLE (in native)
    at [email protected]/java.io.FileInputStream.readBytes(Native Method)
    at [email protected]/java.io.FileInputStream.read(FileInputStream.java:276)
    at [email protected]/java.io.BufferedInputStream.read1(BufferedInputStream.java:282)
    at [email protected]/java.io.BufferedInputStream.read(BufferedInputStream.java:343)

  •  locked java.io.BufferedInputStream@361bfa6d
    at [email protected]/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
    at [email protected]/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
    at [email protected]/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)

  •  locked java.io.InputStreamReader@5679f4ec
    at [email protected]/java.io.InputStreamReader.read(InputStreamReader.java:177)
    ...
     
     
    "Netty Epoll Server IO #0" daemon prio=5 Id=26 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:306)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:363)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
     
     
    "Server Watchdog" daemon prio=5 Id=30 RUNNABLE
    at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
    at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
    at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
    at ahh.run(SourceFile:47)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
     
     
    "Netty Epoll Server IO #1" daemon prio=5 Id=34 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:306)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:363)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
     
     
    "Netty Epoll Server IO #2" 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:306)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:363)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
     
     
    "Netty Epoll Server IO #3" daemon prio=5 Id=36 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:306)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:363)
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at [email protected]/java.lang.Thread.run(Thread.java:833)
     
     
     
    Stacktrace:
    at ahh.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: 100,100,77,529,529,0,0 [minecraft:cow:15,minecraft:pig:14,minecraft:sheep:12,minecraft:bat:9,minecraft:squid:7], block_entities: 56 [minecraft:mob_spawner:41,minecraft:furnace:8,minecraft:beehive:4,minecraft:sign:3], block_ticks: 0, fluid_ticks: 23, chunk_source: Chunks[S] W: 2209 E: 100,100,77,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.1
      Minecraft Version ID: 1.20.1
      Operating System: Linux (amd64) version 5.10.0-25-cloud-amd64
      Java Version: 17.0.7, Debian
      Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Debian
      Memory: 877565728 bytes (836 MiB) / 3221225472 bytes (3072 MiB) up to 3221225472 bytes (3072 MiB)
      CPUs: 2
      Processor Vendor: GenuineIntel
      Processor Name: Intel(R) Xeon(R) CPU @ 2.20GHz
      Identifier: Intel64 Family 6 Model 79 Stepping 0
      Microarchitecture: Broadwell (Server)
      Frequency (GHz): 2.20
      Number of physical packages: 1
      Number of physical CPUs: 1
      Number of logical CPUs: 2
      Graphics card #0 name: Virtio SCSI
      Graphics card #0 vendor: Red Hat, Inc. (0x1af4)
      Graphics card #0 VRAM (MB): 0.00
      Graphics card #0 deviceId: 0x1004
      Graphics card #0 versionInfo: unknown
      Virtual memory max (MB): 1965.37
      Virtual memory used (MB): 3925.73
      Swap memory total (MB): 0.00
      Swap memory used (MB): 0.00
      JVM Flags: 2 total; -Xmx3G -Xms3G
      Server Running: true
      Player Count: 0 / 100; []
      Data Packs: vanilla
      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)

Related issues

Comments

migrated

Not a bug; watchdog crashing is an intentional design if the server is frozen for too long. The duration before crashing can be changed in server.properties and even turned off altogether.

Lag reports aren't accepted unless you can point to a specific cause.

j_p_smith

Thank you for your report!
We're actually already tracking this issue in MC-63590, so this ticket is being resolved and linked as a duplicate.

However, that ticket has been resolved as working as intended, which means that this will not be fixed as it is not considered a bug.

Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.

Quick Links:
📓 Bug Tracker Guidelines – 🛠 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 💬 Mojira Discord

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1

Retrieved