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

[AIX] Missing C++ name demangling with XLClang++

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • b17
    • aix

      Created on behalf of Deepa Kumari.

      Names are not demangled on AIX with the xlclang++ compiler. This is leading to the failure of SecondaryErrorTest.java.

      java.lang.RuntimeException: hs-err file incomplete (first missing pattern: .VMError::controlled_crash.)
      at HsErrFileUtils.checkHsErrFileContent(HsErrFileUtils.java:135)
      at HsErrFileUtils.checkHsErrFileContent(HsErrFileUtils.java:71)
      at SecondaryErrorTest.main(SecondaryErrorTest.java:123)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      A snippet from the hs_err log file shows the un-demangled names:

      [error occurred during error reporting (test secondary crash 1), id 0xb, SIGSEGV (0xb) at pc=0x08000000001e297c]
      [siginfo: si_signo: 11 (SIGSEGV), si_code: 51 (SEGV_ACCERR), si_addr: 0x0000000000001400]
      [stack: Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xffffffff] _ZN7VMError16controlled_crashEi+0x43c
      V [libjvm.so+0xffffffff] _ZN7VMError6reportEP12outputStreamb+0x5240
      V [libjvm.so+0xffffffff] _ZN7VMError14report_and_dieEiPKcS1_PcP6ThreadPhPvS6_S1_im+0x1dc
      V [libjvm.so+0xffffffff] _ZN7VMError14report_and_dieEP6ThreadjPhPvS3_+0x6c
      V [libjvm.so+0xffffffff] JVM_handle_aix_signal+0x2e8
      C 0x0000000000004b90
      ]

            tsteele Tyler Steele
            tsteele Tyler Steele
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: