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

Test TestEvilSyncBug.java#generational intermittent crash C [libpthread.so.0] pthread_getcpuclockid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 24
    • hotspot
    • gc
    • 24
    • aarch64
    • linux

      The newly added test gc/shenandoah/TestEvilSyncBug.java#generational intermittent crash on linux-aarch64 with release build and the tested jvm crash caused jtreg test timed out, the test log snippet:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffffb07e0780, pid=3950215, tid=3963665
      #
      # JRE version: OpenJDK Runtime Environment (24.0) (build 24-internal-28ae281b)
      # Java VM: OpenJDK 64-Bit Server VM (24-internal-28ae281b, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-aarch64)
      # Problematic frame:
      # C [libpthread.so.0+0x10780] pthread_getcpuclockid+0x0
      #
      # Core dump will be written. Default location: /tmp/tone/run/jtreg/jt-work/index-297/gc/shenandoah/TestEvilSyncBug_generational/core.3950215
      #
      # An error report file with more information is saved as:
      # /tmp/tone/run/jtreg/jt-work/index-297/gc/shenandoah/TestEvilSyncBug_generational/hs_err_pid3950215.log
      #
      # If you would like to submit a bug report, please visit:
      # mailto:yansendao.ysd@alibaba-inc.com
      #
      ];
       stderr: []
       exitValue = 134

      java.util.concurrent.ExecutionException: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:124)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:193)
      at TestEvilSyncBug.main(TestEvilSyncBug.java:85)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.VirtualThread.run(VirtualThread.java:458)

        1. TestEvilSyncBug.java#generational.log
          138 kB
        2. 297.log
          106 kB
        3. index-297.xz
          18.79 MB

            wkemper William Kemper
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: