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

GtestWrapper crashes with SIGILL in AsyncLogTest::test_asynclog_raw on AIX opt

    XMLWordPrintable

Details

    • b24

    Backports

      Description

        Note: not limited to AIX, but tends to happen there because of the order of C++ initialization.

        Currently gtest/GTestWrapper.java crashes on AIX in the opt build.

        # SIGILL (0x4) at pc=0x0000000000000000, pid=15598006, tid=258
        #
        # JRE version: OpenJDK Runtime Environment (22.0) (build 22-internal-adhoc.openjdk.jdk-dev)
        # Java VM: OpenJDK 64-Bit Server VM (22-internal-adhoc.openjdk.jdk-dev, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, aix-ppc64)
        # Problematic frame:
        # V [libjvm.so+0x42c9c] LogTagSet::vwrite(LogLevel::type, char const*, char*)+0x104

        Native frame:
        iar: 0x0000000000000000 (unknown module)::(unknown function)+?
        lr: 0x090000000aa4ace0 libjvm.so::LogTagSet::vwrite(LogLevel::type, char const*, char*)+0x148 (C++ uses_alloca saves_lr stores_bc gpr_saved:12 fixedparms:4 parmsonstk:1)
        sp: 0x00000001102aea80 (base - 0xE08)
        rtoc: 0x0000000000000000 (invalid)
        |---stackaddr----| |----lrsave------|: <function name>
        0x00000001102aedb0 - 0x090000000b60f268 libjvm.so::LogImpl<(LogTag::type)73, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0>::warning(char const*, ...)+0x54 (C++ uses_alloca saves_lr stores_bc gpr_saved:2 fixedparms:2 parmsonstk:1)
        0x00000001102aee40 - 0x090000000b60ed58 libjvm.so::AsyncLogTest::test_asynclog_raw()+0x6c (C++ uses_alloca saves_lr stores_bc gpr_saved:6 fixedparms:1 parmsonstk:1)
        0x00000001102aef20 - 0x090000000b60df84 libjvm.so::AsyncLogTest_asynclog_vm_Test::TestBody()+0x128 (C++ uses_alloca saves_lr stores_bc gpr_saved:9 fixedparms:1 parmsonstk:1)
        0x00000001102af0a0 - 0x090000000b5a6c90 libjvm.so::testing::Test::Run()+0x390 (C++ uses_alloca saves_lr stores_bc gpr_saved:15 fixedparms:1 parmsonstk:1)
        0x00000001102af190 - 0x090000000b5a6638 libjvm.so::testing::TestInfo::Run()+0x418 (C++ uses_alloca saves_lr stores_bc gpr_saved:17 fixedparms:1 parmsonstk:1)
        0x00000001102af2a0 - 0x090000000b5a4958 libjvm.so::testing::TestSuite::Run()+0x564 (C++ uses_alloca saves_cr saves_lr stores_bc gpr_saved:16 fixedparms:1 parmsonstk:1)
        0x00000001102af3a0 - 0x090000000b59fb20 libjvm.so::testing::internal::UnitTestImpl::RunAllTests()+0xe78 (C++ uses_alloca saves_cr saves_lr stores_bc gpr_saved:18 fixedparms:1 parmsonstk:1)
        0x00000001102af560 - 0x090000000b59ea40 libjvm.so::testing::UnitTest::Run()+0x9c (C++ uses_alloca saves_lr stores_bc gpr_saved:4 fixedparms:1 parmsonstk:1)
        0x00000001102af610 - 0x090000000b5a7e7c libjvm.so::runUnitTestsInner(int, char**)+0x56c (C++ uses_alloca saves_cr saves_lr stores_bc gpr_saved:13 fixedparms:2 parmsonstk:1)
        0x00000001102af720 - 0x090000000b5a78cc libjvm.so::thread_wrapper+0x24 (C++ uses_alloca saves_lr stores_bc gpr_saved:1 fixedparms:1 parmsonstk:1)
        0x00000001102af7a0 - 0x090000000056204c libpthreads.a::_pthread_body+0xec (C saves_lr stores_bc gpr_saved:1 fixedparms:1 )
        0x00000001102af820 - 0x0000000000000000
        *** end of backchain ***

        Attachments

          Issue Links

            Activity

              People

                jkern Joachim Kern
                tobermeier Thomas Obermeier
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: