-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b14
This is observed in GHA after update to Ubuntu 22.04.
```
[dwarf] ##### Find filename and line number for offset 0x00085ff1 in library /lib32/libc.so.6 #####
[dwarf] Failed to load DWARF file for library /lib32/libc.so.6 or find DWARF sections directly inside it.
#
# Compiler replay data is saved as:
# /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/replay_pid4906.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
hs_err_file: hs_err_pid4906.log
----------System.err:(16/999)----------
java.lang.RuntimeException: Must find library in "C [libc.so.6+0x85ff1]": expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at TestDwarf.checkNoSourceLine(TestDwarf.java:181)
at TestDwarf.runAndCheck(TestDwarf.java:153)
at TestDwarf.test(TestDwarf.java:101)
at TestDwarf.main(TestDwarf.java:91)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Must find library in "C [libc.so.6+0x85ff1]": expected true, was false
JavaTest Message: shutting down test
```
The regexp that the test uses seems too broad.
```
[dwarf] ##### Find filename and line number for offset 0x00085ff1 in library /lib32/libc.so.6 #####
[dwarf] Failed to load DWARF file for library /lib32/libc.so.6 or find DWARF sections directly inside it.
#
# Compiler replay data is saved as:
# /home/runner/work/jdk/jdk/build/run-test-prebuilt/test-support/jtreg_test_hotspot_jtreg_tier1_runtime/scratch/replay_pid4906.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
hs_err_file: hs_err_pid4906.log
----------System.err:(16/999)----------
java.lang.RuntimeException: Must find library in "C [libc.so.6+0x85ff1]": expected true, was false
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
at TestDwarf.checkNoSourceLine(TestDwarf.java:181)
at TestDwarf.runAndCheck(TestDwarf.java:153)
at TestDwarf.test(TestDwarf.java:101)
at TestDwarf.main(TestDwarf.java:91)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Must find library in "C [libc.so.6+0x85ff1]": expected true, was false
JavaTest Message: shutting down test
```
The regexp that the test uses seems too broad.
- blocks
-
JDK-8293107 GHA: Bump to Ubuntu 22.04
- Resolved
- relates to
-
JDK-8303973 Library detection in runtime/ErrorHandling/TestDwarf.java fails on ppc64le RHEL8.5 for libpthread-2.28.so
- Resolved
-
JDK-8242181 [Linux] Show source information when printing native stack traces in hs_err files
- Resolved
(1 links to)