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

MainClassTest.java and CustomLauncherTest.java intermittent crash on dlerror

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P3 P3
    • 24
    • 24
    • hotspot
    • x86_64
    • linux

      We observed sun/management/jmxremote/bootstrap/CustomLauncherTest.java and tools/jpackage/share/jdk/jpackage/tests/MainClassTest.java trigger jvm crash on dlerror intermittent, the log snippet:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f75f335da90, pid=449522, tid=449534
      #
      # JRE version: OpenJDK Runtime Environment (24.0) (build 24)
      # Java VM: OpenJDK 64-Bit Server VM (24, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # C [libdl.so.2+0x2a90] dlerror+0x1e0
      #
      # Core dump will be written. Default location: /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/jdk/jpackage/tests/MainClassTest/test.870892f2/core.449522
      #
      # An error report file with more information is saved as:
      # /tmp/tone/run/jtreg/jt-work/jtreg/test_jdk/tools/jpackage/share/jdk/jpackage/tests/MainClassTest/test.870892f2/hs_err_pid449522.log
      #
      # If you would like to submit a bug report, please visit:
      # mailto:yansendao.ysd@alibaba-inc.com
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      [22:51:18.972] TRACE: exec: Done. Exit code: 134

      jdk configure command:
      bash configure --with-jobs=64 --prefix=/tmp/tone/run/jtreg/jdk-repo/install-release --verbose --with-debug-level=release --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/tmp/tone/run/jtreg/binary-download/jdk-binary --with-gtest=/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-pre='' --with-version-opt= --with-zlib=system --enable-ccache

        1. core.3395875.tar.xz
          23.36 MB
          Sendao Yan
        2. core.449522.tar.xz
          19.07 MB
          Sendao Yan
        3. core.932697.tar.xz
          19.43 MB
          Sendao Yan
        4. CustomLauncherTest.java.log
          16 kB
          Sendao Yan
        5. hs_err_pid3395875.log
          79 kB
          Sendao Yan
        6. hs_err_pid449522.log
          81 kB
          Sendao Yan
        7. hs_err_pid932697.log
          69 kB
          Sendao Yan
        8. MainClassTest.java.log
          321 kB
          Sendao Yan

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: