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

"queue must be flushed before delete" after JDK-8284632

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 19
    • Fix Version/s: None
    • Component/s: hotspot

      Description

      runtime/Thread/StopAtExit.java intermittently fails like this:

      $ CONF=linux-x86_64-server-fastdebug make run-test TEST=runtime/Thread/StopAtExit.java TEST_VM_OPTS=-XX:+UseShenandoahGC JTREG="REPEAT_COUNT=10"

      # Internal Error (/home/shade/trunks/jdk/src/hotspot/share/gc/shared/ptrQueue.cpp:38), pid=2534211, tid=2606915
      # assert(_buf == __null) failed: queue must be flushed before delete

      Current thread (0x00007ffb4c057890): Thread "Unknown thread" [stack: 0x00007ffb91989000,0x00007ffb91a8a000] [id=2606915]

      Stack: [0x00007ffb91989000,0x00007ffb91a8a000], sp=0x00007ffb91a88da0, free space=1023k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1724fb3] PtrQueue::~PtrQueue()+0x33
      V [libjvm.so+0x1a57315] Thread::~Thread()+0x335
      V [libjvm.so+0x1a57499] JavaThread::~JavaThread()+0x139
      V [libjvm.so+0x1a57536] JavaThread::~JavaThread()+0x16
      V [libjvm.so+0x1a70b73] ThreadsSMRSupport::smr_delete(JavaThread*)+0x43
      V [libjvm.so+0x1a63151] Thread::call_run()+0x171
      V [libjvm.so+0x163856c] thread_native_entry(Thread*)+0x10c

      Bisect points to JDK-8284632 as the first bad commit.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: