-
Bug
-
Resolution: Fixed
-
P3
-
21, 22
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8320456 | 21.0.2 | Christoph Langer | P3 | Resolved | Fixed | b08 |
Currently the gtests
gtest/GTestWrapper.java
gtest/NMTGtests.java#nmt-detail
gtest/NMTGtests.java#nmt-summary
crash on AIX. Crashes look like this :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x090000000bbaa898, pid=16712006, tid=258
#
# JRE version: OpenJDK Runtime Environment (21.0) (build 21-internal-adhoc.openjdk.jdk-dev)
# Java VM: OpenJDK 64-Bit Server VM (21-internal-adhoc.openjdk.jdk-dev, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, aix-ppc64)
# Problematic frame:
# V [libjvm.so+0xffffffff] MallocTracker::print_pointer_information(void const*, outputStream*)+0xb8
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
--------------- S U M M A R Y ------------
Command Line: -XX:+ExecutingUnitTests -XX:NativeMemoryTracking=detail
Host: PV_8_Compat, 24 cores, 96G, 2 7
Time: Wed Apr 12 23:19:00 2023 CEST elapsed time: 0.995633 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000001102bc0a0): JavaThread "main" [_thread_in_native, id=258, stack(0x0000000110093000,0x0000000110294888)]
Stack: [0x0000000110093000,0x0000000110294888], sp=0x0000000110293880, free space=2050k
Native frame:
iar: 0x090000000bbaa898 libjvm.so::MallocTracker::print_pointer_information(void const*, outputStream*)+0xb8 (C++ saves_lr stores_bc gpr_saved:13 fixedparms:2 )
lr: 0x090000000bbaa88c libjvm.so::MallocTracker::print_pointer_information(void const*, outputStream*)+0xac (C++ saves_lr stores_bc gpr_saved:13 fixedparms:2 )
sp: 0x0000000110293880 (base - 0x1008)
rtoc: 0x08001000a049a700
|---stackaddr----| |----lrsave------|: <function name>
0x0000000110293990 - 0x090000000bba46e0 libjvm.so::_ZN10MemTracker23print_containing_regionEPKvP12outputStream@AF130_13+0x20 (C++ saves_lr stores_bc gpr_saved:2 fixedparms:2 )
0x0000000110293a10 - 0x090000000d4ddbd0 libjvm.so::test_pointer(void const*, bool, char const*)+0x90 (C++ saves_lr stores_bc gpr_saved:14 fixedparms:3 parmsonstk:1)
0x0000000110293f60 - 0x090000000d4de770 libjvm.so::NMT_location_printing_mmap_2_vm_Test::TestBody()+0x70 (C++ saves_lr stores_bc gpr_saved:3 fixedparms:1 )
0x0000000110293ff0 - 0x090000000b4e24b4 libjvm.so::void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x174 (C++ saves_lr stores_bc gpr_saved:5 fixedparms:4 )
0x0000000110294090 - 0x090000000b4e20a8 libjvm.so::testing::Test::Run()+0x308 (C++ saves_lr stores_bc gpr_saved:10 fixedparms:1 )
0x0000000110294160 - 0x090000000b4e4de8 libjvm.so::testing::TestInfo::Run()+0x528 (C++ saves_lr stores_bc gpr_saved:14 fixedparms:1 )
0x0000000110294280 - 0x090000000b4e7598 libjvm.so::testing::TestSuite::Run()+0x718 (C++ saves_cr saves_lr stores_bc gpr_saved:10 fixedparms:1 )
0x0000000110294380 - 0x090000000b5074a8 libjvm.so::testing::internal::UnitTestImpl::RunAllTests()+0x7a8 (C++ saves_cr saves_lr stores_bc gpr_saved:18 fixedparms:1 )
0x0000000110294570 - 0x090000000b506c2c libjvm.so::testing::UnitTest::Run()+0x40c (C++ saves_lr stores_bc gpr_saved:9 fixedparms:1 )
0x0000000110294670 - 0x090000000b463504 libjvm.so::IPRA.$_ZL17runUnitTestsInneriPPc+0x224 (C++ saves_lr stores_bc gpr_saved:9 fixedparms:2 parmsonstk:1)
0x0000000110294730 - 0x090000000b4632a0 libjvm.so::thread_wrapper+0x20 (C++ saves_lr stores_bc fixedparms:1 )
0x00000001102947a0 - 0x090000000054bfec libpthreads.a::_pthread_body+0xec (C saves_lr stores_bc gpr_saved:1 fixedparms:1 )
0x0000000110294820 - 0x0000000000000000
*** end of backchain ***
gtest/GTestWrapper.java
gtest/NMTGtests.java#nmt-detail
gtest/NMTGtests.java#nmt-summary
crash on AIX. Crashes look like this :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x090000000bbaa898, pid=16712006, tid=258
#
# JRE version: OpenJDK Runtime Environment (21.0) (build 21-internal-adhoc.openjdk.jdk-dev)
# Java VM: OpenJDK 64-Bit Server VM (21-internal-adhoc.openjdk.jdk-dev, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, aix-ppc64)
# Problematic frame:
# V [libjvm.so+0xffffffff] MallocTracker::print_pointer_information(void const*, outputStream*)+0xb8
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
--------------- S U M M A R Y ------------
Command Line: -XX:+ExecutingUnitTests -XX:NativeMemoryTracking=detail
Host: PV_8_Compat, 24 cores, 96G, 2 7
Time: Wed Apr 12 23:19:00 2023 CEST elapsed time: 0.995633 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000001102bc0a0): JavaThread "main" [_thread_in_native, id=258, stack(0x0000000110093000,0x0000000110294888)]
Stack: [0x0000000110093000,0x0000000110294888], sp=0x0000000110293880, free space=2050k
Native frame:
iar: 0x090000000bbaa898 libjvm.so::MallocTracker::print_pointer_information(void const*, outputStream*)+0xb8 (C++ saves_lr stores_bc gpr_saved:13 fixedparms:2 )
lr: 0x090000000bbaa88c libjvm.so::MallocTracker::print_pointer_information(void const*, outputStream*)+0xac (C++ saves_lr stores_bc gpr_saved:13 fixedparms:2 )
sp: 0x0000000110293880 (base - 0x1008)
rtoc: 0x08001000a049a700
|---stackaddr----| |----lrsave------|: <function name>
0x0000000110293990 - 0x090000000bba46e0 libjvm.so::_ZN10MemTracker23print_containing_regionEPKvP12outputStream@AF130_13+0x20 (C++ saves_lr stores_bc gpr_saved:2 fixedparms:2 )
0x0000000110293a10 - 0x090000000d4ddbd0 libjvm.so::test_pointer(void const*, bool, char const*)+0x90 (C++ saves_lr stores_bc gpr_saved:14 fixedparms:3 parmsonstk:1)
0x0000000110293f60 - 0x090000000d4de770 libjvm.so::NMT_location_printing_mmap_2_vm_Test::TestBody()+0x70 (C++ saves_lr stores_bc gpr_saved:3 fixedparms:1 )
0x0000000110293ff0 - 0x090000000b4e24b4 libjvm.so::void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x174 (C++ saves_lr stores_bc gpr_saved:5 fixedparms:4 )
0x0000000110294090 - 0x090000000b4e20a8 libjvm.so::testing::Test::Run()+0x308 (C++ saves_lr stores_bc gpr_saved:10 fixedparms:1 )
0x0000000110294160 - 0x090000000b4e4de8 libjvm.so::testing::TestInfo::Run()+0x528 (C++ saves_lr stores_bc gpr_saved:14 fixedparms:1 )
0x0000000110294280 - 0x090000000b4e7598 libjvm.so::testing::TestSuite::Run()+0x718 (C++ saves_cr saves_lr stores_bc gpr_saved:10 fixedparms:1 )
0x0000000110294380 - 0x090000000b5074a8 libjvm.so::testing::internal::UnitTestImpl::RunAllTests()+0x7a8 (C++ saves_cr saves_lr stores_bc gpr_saved:18 fixedparms:1 )
0x0000000110294570 - 0x090000000b506c2c libjvm.so::testing::UnitTest::Run()+0x40c (C++ saves_lr stores_bc gpr_saved:9 fixedparms:1 )
0x0000000110294670 - 0x090000000b463504 libjvm.so::IPRA.$_ZL17runUnitTestsInneriPPc+0x224 (C++ saves_lr stores_bc gpr_saved:9 fixedparms:2 parmsonstk:1)
0x0000000110294730 - 0x090000000b4632a0 libjvm.so::thread_wrapper+0x20 (C++ saves_lr stores_bc fixedparms:1 )
0x00000001102947a0 - 0x090000000054bfec libpthreads.a::_pthread_body+0xec (C saves_lr stores_bc gpr_saved:1 fixedparms:1 )
0x0000000110294820 - 0x0000000000000000
*** end of backchain ***
- backported by
-
JDK-8320456 Possible out of bounds access in print_pointer_information
- Resolved
- relates to
-
JDK-8319542 Fix boundaries of region to be tested with os::is_readable_range
- Resolved
-
JDK-8307006 ProblemList gtest/NMTGtest.java on aix
- Resolved
- links to
-
Commit openjdk/jdk21u/177d9948
-
Commit openjdk/jdk/d6ce62eb
-
Review openjdk/jdk21u/379
-
Review openjdk/jdk/16381
(2 links to)