Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60955 - [jre-openjdk-headless] debuginfo mismatch

Attached to Project: Arch Linux
Opened by Clouds Flowing (clouds56) - Monday, 03 December 2018, 07:22 GMT
Last edited by Levente Polyak (anthraxx) - Friday, 03 March 2023, 18:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Levente Polyak (anthraxx)
freswa (frederik)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 5
Private No

Details

Description:
the debug information found in "/usr/lib/jvm/java-11-openjdk/lib/server/libjvm.debuginfo" does not match "/usr/lib/jvm/java-11-openjdk/lib/server/libjvm.so" (CRC mismatch)
also for:
/usr/lib/jvm/java-11-openjdk/lib/libverify.debuginfo
/usr/lib/jvm/java-11-openjdk/lib/libjava.debuginfo
/usr/lib/jvm/java-11-openjdk/lib/libzip.debuginfo
/usr/lib/jvm/java-11-openjdk/lib/libjimage.debuginfo
and maybe some others.

Additional info:
* 11.0.1.u13-2


Steps to reproduce:
`gdb /usr/lib/jvm/default/lib/server/libjvm.so`
This task depends upon

Comment by Neil Green (neilg) - Sunday, 15 August 2021, 13:02 GMT
This makes it impossible to use async-profiler with the Arch java packages. For example, running a profiled memory allocation benchmark leads to this error:


# Run progress: 60.00% complete, ETA 00:00:01
# Fork: 5 of 5
# Preparing profilers: AsyncProfiler
# Warmup Iteration 1: [WARN] Install JVM debug symbols to improve profile accuracy
<failure>

java.lang.IllegalStateException: No AllocTracer symbols found. Are JDK debug symbols installed?
at org.openjdk.jmh.profile.AsyncProfiler$JavaApi.execute0(Native Method)
at org.openjdk.jmh.profile.AsyncProfiler$JavaApi.execute(AsyncProfiler.java:588)
at org.openjdk.jmh.profile.AsyncProfiler.execute(AsyncProfiler.java:430)
at org.openjdk.jmh.profile.AsyncProfiler.start(AsyncProfiler.java:337)
at org.openjdk.jmh.profile.AsyncProfiler.beforeIteration(AsyncProfiler.java:316)
at org.openjdk.jmh.runner.BenchmarkHandler.startProfilers(BenchmarkHandler.java:249)
at org.openjdk.jmh.runner.BenchmarkHandler.runIteration(BenchmarkHandler.java:325)
at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:261)
at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:233)
at org.openjdk.jmh.runner.BaseRunner.doSingle(BaseRunner.java:138)
at org.openjdk.jmh.runner.BaseRunner.runBenchmarksForked(BaseRunner.java:75)
at org.openjdk.jmh.runner.ForkedRunner.run(ForkedRunner.java:72)
at org.openjdk.jmh.runner.ForkedMain.main(ForkedMain.java:84)


The same profile run works with adopt and zulu jdks downloaded direct from their providers.


Comment by Shi Zhan (eshizhan) - Friday, 03 March 2023, 07:45 GMT
Maybe jdk symbols striped by makepkg default behavior, FS#60955 https://bugs.archlinux.org/task/60955
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...