Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8166099

assert((owner|lockword|entrylist|waitset|ondeck) == 0) failed: thread still ondeck

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 10
    • 9
    • hotspot

      RULE "nsk/jdi/ThreadDeathEvent/thread/thread001" Crash Internal Error ...mutex.cpp...assert((owner|lockword|entrylist|waitset|ondeck) == ...) failed: _owner(...)|_LockWord(...)|_EntryList(...)|_WaitSet(...)|_OnDeck(...) != ...

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:/jprt/T/P1/193920.vkozlov/s/hotspot/src/share/vm/runtime/mutex.cpp:1159), pid=11576, tid=48484
      # assert((owner|lockword|entrylist|waitset|ondeck) == 0) failed: _owner(0x0000000000000000)|_LockWord(0x0000000000000000)|_EntryList(0x0000000000000000)|_WaitSet(0x0000000000000000)|_OnDeck(0x00000023ffbcc000) != 0

      So the mutex still has an onDeck entry, which based on the address may belong to the "C1 CompilerThread1":

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x0000002384133800 JavaThread "Service Thread" daemon [_thread_blocked, id=48184, stack(0x00000023846b0000,0x00000023847b0000)]
        0x0000002384130800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=14896, stack(0x00000023845b0000,0x00000023846b0000)]
        0x0000002384138800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=20980, stack(0x00000023844b0000,0x00000023845b0000)]
        0x000000238410e000 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_blocked, id=4120, stack(0x00000023843b0000,0x00000023844b0000)]
        0x0000002383e5a000 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=18224, stack(0x00000023842b0000,0x00000023843b0000)]
        0x00000023ffbce000 JavaThread "Sweeper thread" daemon [_thread_blocked, id=45016, stack(0x00000023841b0000,0x00000023842b0000)]
        0x00000023ffbcb000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=27132, stack(0x0000002383cb0000,0x0000002383db0000)]
        0x00000023ffbc9800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=34836, stack(0x0000002383bb0000,0x0000002383cb0000)]
        0x00000023ffbc2800 JavaThread "Attach Listener" daemon [_thread_blocked, id=50036, stack(0x0000002383ab0000,0x0000002383bb0000)]
        0x00000023ffb86800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=40848, stack(0x00000023839b0000,0x0000002383ab0000)]
        0x00000023ffb85800 JavaThread "Reference Pending List Locker" daemon [_thread_blocked, id=21680, stack(0x00000023838b0000,0x00000023839b0000)]
        0x00000023ffb5d000 JavaThread "Finalizer" daemon [_thread_blocked, id=46892, stack(0x00000023836e0000,0x00000023837e0000)]
        0x00000023ffb73000 JavaThread "Reference Handler" daemon [_thread_blocked, id=44580, stack(0x00000023ffe40000,0x00000023fff40000)]
        0x00000023e2d7f000 JavaThread "main" [_thread_blocked, id=18048, stack(0x00000023e45f0000,0x00000023e46f0000)]

      Other Threads:
        0x00000023ffb4b800 VMThread "VM Thread" [stack: 0x00000023ffd40000,0x00000023ffe40000] [id=30088]
        0x0000002384137800 WatcherThread [stack: 0x00000023847b0000,0x00000023848b0000] [id=30048]
        0x00000023e2da1800 GCTaskThread "GC Thread#0" [stack: 0x00000023fc2c0000,0x00000023fc3c0000] [id=51228]
        0x00000023e2da3000 GCTaskThread "GC Thread#1" [stack: 0x00000023fc3c0000,0x00000023fc4c0000] [id=51024]
        0x00000023e2df6000 ConcurrentGCThread "G1 Main Marker" [stack: 0x00000023fecb0000,0x00000023fedb0000] [id=27516]
        0x00000023e2df9000 ConcurrentGCThread "G1 Marker#0" [stack: 0x00000023fedb0000,0x00000023feeb0000] [id=41480]
        0x00000023e2da7800 ConcurrentGCThread "G1 Refine#0" [stack: 0x00000023fc7e0000,0x00000023fc8e0000] [id=38556]
        0x00000023e2da6000 ConcurrentGCThread "G1 Refine#1" [stack: 0x00000023fc6e0000,0x00000023fc7e0000] [id=29932]
        0x00000023e2daa000 ConcurrentGCThread "G1 Young RemSet Sampling" [stack: 0x00000023fc8e0000,0x00000023fc9e0000] [id=37184]

      =>0x00000023848bf000 (exited) Thread
      [error occurred during error reporting (printing all threads), id 0xe0000000]

            dholmes David Holmes
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: