-
Bug
-
Resolution: Fixed
-
P3
-
17.0.3-oracle, 18
-
b23
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278105 | 17.0.3-oracle | Daniel Daugherty | P3 | Resolved | Fixed | b01 |
JDK-8280012 | 17.0.3 | Christoph Langer | P3 | Resolved | Fixed | b01 |
I am running our automated tests on macOS 12 - of which we have a grand total of ONE x64 system available to run headless tests.
Specifically I've been trying to run all tier1->tier3 tests and it looks to me as if there is one hotspot issue - reported by two tests on both production and debug
builds although the production build case doesn't crash it still fails
The tests are
gtest/GTestWrapper.java
and
gtest/NMTGtests.java#nmt-detail
and the specific subtest in ALL of the 4 failures I've seen is for this
os.dll_address_to_function_and_library_name_vm
I see this test was previously problem listed on macOS and fixed earlier this year.
https://bugs.openjdk.java.net/browse/JDK-8259569 but I don't know how related this is to that .
The links and results are here :-
MACH5 JOB #1
===========
tests : open/test/hotspot/jtreg/:tier1_common
production :
gtest/GTestWrapper.java
[ RUN ] os.dll_address_to_function_and_library_name_vm
open/test/hotspot/gtest/runtime/test_os.cpp:726: Failure
Value of: os::print_function_and_library_name(&st, addr)
Actual: true
Expected: false
[ FAILED ] os.dll_address_to_function_and_library_name_vm (13 ms)
[ RUN ] os.iso8601_time_vm
====
debug :
gtest/GTestWrapper.java
RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (//workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=41911, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.41911
#
# An error report file with more information is saved as:
# /testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/2/hs_err_pid41911.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
...
...
...
==============
gtest/NMTGtests.java#nmt-detail
[ RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=41918, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.41918
#
# An error report file with more information is saved as:
# /testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/0/hs_err_pid41918.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
assert failed: Error: ShouldNotReachHere()assert failed: assert(pc != __null) failed: no pc?
[2021-09-18T02:11:49.308259Z] Waiting for completion for process 41918
[2021-09-18T02:11:49.308586Z] Waiting for completion finished for process 41918
=========
MACH 5 JOB #2
=============
test : gtest/NMTGtests.java#nmt-detail
[ RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=14605, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1827261.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1827261.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.14605
#
# An error report file with more information is saved as:
# //testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/0/hs_err_pid14605.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
assert failed: Error: ShouldNotReachHere()assert failed: assert(pc != __null) failed: no pc?
[2021-09-17T23:39:44.503687Z] Waiting for completion for process 14605
[2021-09-17T23:39:44.504040Z] Waiting for completion finished for process 14605
Specifically I've been trying to run all tier1->tier3 tests and it looks to me as if there is one hotspot issue - reported by two tests on both production and debug
builds although the production build case doesn't crash it still fails
The tests are
gtest/GTestWrapper.java
and
gtest/NMTGtests.java#nmt-detail
and the specific subtest in ALL of the 4 failures I've seen is for this
os.dll_address_to_function_and_library_name_vm
I see this test was previously problem listed on macOS and fixed earlier this year.
https://bugs.openjdk.java.net/browse/JDK-8259569 but I don't know how related this is to that .
The links and results are here :-
MACH5 JOB #1
===========
tests : open/test/hotspot/jtreg/:tier1_common
production :
gtest/GTestWrapper.java
[ RUN ] os.dll_address_to_function_and_library_name_vm
open/test/hotspot/gtest/runtime/test_os.cpp:726: Failure
Value of: os::print_function_and_library_name(&st, addr)
Actual: true
Expected: false
[ FAILED ] os.dll_address_to_function_and_library_name_vm (13 ms)
[ RUN ] os.iso8601_time_vm
====
debug :
gtest/GTestWrapper.java
RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (//workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=41911, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.41911
#
# An error report file with more information is saved as:
# /testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/2/hs_err_pid41911.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
...
...
...
==============
gtest/NMTGtests.java#nmt-detail
[ RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=41918, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1847254.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.41918
#
# An error report file with more information is saved as:
# /testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/0/hs_err_pid41918.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
assert failed: Error: ShouldNotReachHere()assert failed: assert(pc != __null) failed: no pc?
[2021-09-18T02:11:49.308259Z] Waiting for completion for process 41918
[2021-09-18T02:11:49.308586Z] Waiting for completion finished for process 41918
=========
MACH 5 JOB #2
=============
test : gtest/NMTGtests.java#nmt-detail
[ RUN ] os.dll_address_to_function_and_library_name_vm
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/decoder_machO.hpp:43
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/os/bsd/decoder_machO.hpp:43), pid=14605, tid=259
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-09-17-1827261.philip.race.jdkmac.git)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-09-17-1827261.philip.race.jdkmac.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Core dump will be written. Default location: core.14605
#
# An error report file with more information is saved as:
# //testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_common/scratch/0/hs_err_pid14605.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
assert failed: Error: ShouldNotReachHere()assert failed: assert(pc != __null) failed: no pc?
[2021-09-17T23:39:44.503687Z] Waiting for completion for process 14605
[2021-09-17T23:39:44.504040Z] Waiting for completion finished for process 14605
- backported by
-
JDK-8278105 gtest os.dll_address_to_function_and_library_name_vm fails on macOS12
- Resolved
-
JDK-8280012 gtest os.dll_address_to_function_and_library_name_vm fails on macOS12
- Resolved
- duplicates
-
JDK-8276037 gtests fails on macos 12 Aarch64
- Closed
- links to
-
Commit openjdk/jdk17u-dev/0130fdcd
-
Commit openjdk/jdk/92d21763
-
Review openjdk/jdk17u-dev/68
-
Review openjdk/jdk/6193
(2 links to)
There are no Sub-Tasks for this issue.