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

runtime/Thread/SuspendAtExit.java hangs intermittently on Solaris-X64

XMLWordPrintable

    • x86_64
    • solaris_11

      The following test failed due to an infinite loop on Solaris-X64
      in the slowdebug config using jdk12+14 bits:

      runtime/Thread/SuspendAtExit.java

      Here's the tail of the log file when I killed the test:

      [16489.777s][debug][thread,smr] tid=8: ThreadsSMRSupport::release_stable_list notified regular hazard ptr
      [16489.777s][debug][thread,smr] tid=8: ThreadsSMRSupport::release_stable_list notified regular hazard ptr
      /work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/do_one_AtExit_test.sh: line 18: 14140: Killed
      + status=265
      + [ 265 '!=' 0 ]
      + echo 'Test SuspendAtExit.java FAILed with status=265'
      Test SuspendAtExit.java FAILed with status=265
      + exit 265

      Here's a breakdown of the lines in the log file:

      $ cat SuspendAtExit.d.00/do_one_AtExit_test.log.SuspendAtExit.245.log_lines.count
         1 [debug][thread,smr] tid=13: Threads::add: new ThreadsList=0x0000000000b92440
         1 [debug][thread,smr] tid=13: ThreadsSMRSupport::free_list: threads=0x0000000000a06fb0 is freed.
         1 [debug][thread,smr] tid=15: Threads::add: new ThreadsList=0x0000000000cb9470
         1 [debug][thread,smr] tid=15: Threads::add: new ThreadsList=0x0000000000cbcf70
         1 [debug][thread,smr] tid=15: Threads::add: new ThreadsList=0x0000000000cd0f90
         1 [debug][thread,smr] tid=15: Threads::remove: new ThreadsList=0x00000000012e63b0
         1 [debug][thread,smr] tid=15: ThreadsSMRSupport::free_list: threads=0x0000000000b92440 is freed.
         1 [debug][thread,smr] tid=15: ThreadsSMRSupport::free_list: threads=0x0000000000cb9470 is freed.
         1 [debug][thread,smr] tid=15: ThreadsSMRSupport::free_list: threads=0x0000000000cd0f90 is freed.
         1 [debug][thread,smr] tid=15: ThreadsSMRSupport::free_list: threads=0x00000000013054b0 is freed.
         1 [debug][thread,smr] tid=15: ThreadsSMRSupport::smr_delete: thread=0x0000000000b90800 is not deleted.
         1 [debug][thread,smr] tid=16: Threads::remove: new ThreadsList=0x00000000013054b0
         1 [debug][thread,smr] tid=16: ThreadsSMRSupport::free_list: threads=0x00000000012e63b0 is freed.
         1 [debug][thread,smr] tid=16: ThreadsSMRSupport::smr_delete: thread=0x0000000000caf800 is not deleted.
         1 [debug][thread,smr] tid=17: Threads::remove: new ThreadsList=0x00000000012e63b0
         1 [debug][thread,smr] tid=17: ThreadsSMRSupport::free_list: threads=0x00000000013054b0 is freed.
         1 [debug][thread,smr] tid=17: ThreadsSMRSupport::smr_delete: thread=0x0000000000cb9800 is not deleted.
         1 [debug][thread,smr] tid=18: Threads::remove: new ThreadsList=0x00000000013054b0
         1 [debug][thread,smr] tid=18: ThreadsSMRSupport::free_list: threads=0x00000000012e63b0 is freed.
         1 [debug][thread,smr] tid=18: ThreadsSMRSupport::smr_delete: thread=0x0000000000cbb000 is not deleted.
       211 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x0000000000f665c0
        90 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012c6200
       157 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012c9e40
        45 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012dea90
        27 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012dee10
        27 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012e3fb0
        58 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012e63b0
         1 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012e8090
        70 [debug][thread,smr] tid=2: SafeThreadsListPtr::acquire_stable_list: add nested list pointer to ThreadsList=0x00000000012f4180
       211 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x0000000000f665c0
        90 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012c6200
       157 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012c9e40
        45 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012dea90
        27 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012dee10
        27 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012e3fb0
        58 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012e63b0
        70 [debug][thread,smr] tid=2: SafeThreadsListPtr::release_stable_list: delete nested list pointer to ThreadsList=0x00000000012f4180
         2 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x000000000095cbc0
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x000000000099f330
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000009e9f90
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000009eca00
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000009ef940
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x0000000000a06fb0
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x0000000000e548a0
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x0000000000f12620
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x0000000000f665c0
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x0000000000f9a740
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012c4b30
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012c6200
         2 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012c9e40
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012d1270
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012d5c10
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012dea90
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012dec80
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012e2f30
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012e5e00
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012e8090
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012f3bc0
         1 [debug][thread,smr] tid=2: Threads::add: new ThreadsList=0x00000000012f4180
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x000000000041cd20 is freed.
         2 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x000000000095cbc0 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x000000000099f330 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000009e9f90 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000009eca00 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000009ef940 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x0000000000cbcf70 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x0000000000e548a0 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x0000000000f12620 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x0000000000f69620 is freed.
         2 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x0000000000f9a740 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012c6200 is freed.
         4 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012c9e40 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012dfcd0 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012e3fb0 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012e63b0 is freed.
         1 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012f2700 is freed.
         2 [debug][thread,smr] tid=2: ThreadsSMRSupport::free_list: threads=0x00000000012f4180 is freed.
         1 [debug][thread,smr] tid=22: Threads::remove: new ThreadsList=0x0000000000f69620
         1 [debug][thread,smr] tid=22: ThreadsSMRSupport::free_list: threads=0x0000000000f665c0 is freed.
         1 [debug][thread,smr] tid=22: ThreadsSMRSupport::smr_delete: thread=0x0000000000f64800 is deleted.
         1 [debug][thread,smr] tid=23: Threads::remove: new ThreadsList=0x00000000012c6200
         1 [debug][thread,smr] tid=23: ThreadsSMRSupport::free_list: threads=0x0000000000f9a740 is freed.
         1 [debug][thread,smr] tid=23: ThreadsSMRSupport::smr_delete: thread=0x00000000012c5000 is deleted.
         1 [debug][thread,smr] tid=24: Threads::remove: new ThreadsList=0x0000000000f9a740
         1 [debug][thread,smr] tid=24: ThreadsSMRSupport::smr_delete: thread=0x00000000012c8800 is deleted.
         1 [debug][thread,smr] tid=25: Threads::remove: new ThreadsList=0x0000000000f9a740
         1 [debug][thread,smr] tid=25: ThreadsSMRSupport::free_list: threads=0x00000000012c9e40 is freed.
         1 [debug][thread,smr] tid=26: Threads::remove: new ThreadsList=0x00000000012c9e40
         1 [debug][thread,smr] tid=26: ThreadsSMRSupport::free_list: threads=0x00000000012c4b30 is freed.
         1 [debug][thread,smr] tid=26: ThreadsSMRSupport::smr_delete: thread=0x00000000012c8800 is deleted.
         1 [debug][thread,smr] tid=27: Threads::remove: new ThreadsList=0x00000000012c9e40
         1 [debug][thread,smr] tid=27: ThreadsSMRSupport::free_list: threads=0x00000000012d1270 is freed.
         1 [debug][thread,smr] tid=27: ThreadsSMRSupport::smr_delete: thread=0x00000000012d8000 is deleted.
         1 [debug][thread,smr] tid=28: Threads::remove: new ThreadsList=0x00000000012c9e40
         1 [debug][thread,smr] tid=28: ThreadsSMRSupport::free_list: threads=0x00000000012d5c10 is freed.
         1 [debug][thread,smr] tid=28: ThreadsSMRSupport::smr_delete: thread=0x00000000012d0000 is deleted.
         1 [debug][thread,smr] tid=29: Threads::remove: new ThreadsList=0x00000000012dee10
         1 [debug][thread,smr] tid=29: ThreadsSMRSupport::free_list: threads=0x00000000012dec80 is freed.
         1 [debug][thread,smr] tid=29: ThreadsSMRSupport::smr_delete: thread=0x00000000012d8000 is deleted.
         1 [debug][thread,smr] tid=30: Threads::remove: new ThreadsList=0x00000000012dfcd0
         1 [debug][thread,smr] tid=30: ThreadsSMRSupport::free_list: threads=0x00000000012dee10 is freed.
         1 [debug][thread,smr] tid=31: Threads::remove: new ThreadsList=0x00000000012f2700
         1 [debug][thread,smr] tid=31: ThreadsSMRSupport::free_list: threads=0x00000000012dea90 is freed.
         1 [debug][thread,smr] tid=31: ThreadsSMRSupport::smr_delete: thread=0x00000000012dd800 is deleted.
         1 [debug][thread,smr] tid=32: Threads::remove: new ThreadsList=0x00000000012f4180
         1 [debug][thread,smr] tid=32: ThreadsSMRSupport::free_list: threads=0x00000000012e2f30 is freed.
         1 [debug][thread,smr] tid=32: ThreadsSMRSupport::smr_delete: thread=0x00000000012f3000 is deleted.
         1 [debug][thread,smr] tid=33: Threads::remove: new ThreadsList=0x00000000012e3fb0
         1 [debug][thread,smr] tid=33: ThreadsSMRSupport::free_list: threads=0x00000000012f3bc0 is freed.
         1 [debug][thread,smr] tid=33: ThreadsSMRSupport::smr_delete: thread=0x00000000012e1800 is deleted.
         1 [debug][thread,smr] tid=34: Threads::remove: new ThreadsList=0x00000000012e63b0
         1 [debug][thread,smr] tid=34: ThreadsSMRSupport::free_list: threads=0x00000000012e5e00 is freed.
         1 [debug][thread,smr] tid=34: ThreadsSMRSupport::smr_delete: thread=0x00000000012e3000 is deleted.
         1 [debug][thread,smr] tid=35: Threads::remove: new ThreadsList=0x00000000012e63b0
         1 [debug][thread,smr] tid=35: ThreadsSMRSupport::free_list: threads=0x00000000012e8090 is not freed.
         1 [debug][thread,smr] tid=35: ThreadsSMRSupport::smr_delete: thread=0x00000000012e4800 is not deleted.
      337142383 [debug][thread,smr] tid=8: ThreadsSMRSupport::release_stable_list notified regular hazard ptr

      That last line is a killer :-)

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: