RFR: JDK-8322163: runtime/Unsafe/InternalErrorTest.java fails on Alpine after JDK-8320886 [v2]
Matthias Baesken
mbaesken at openjdk.org
Fri Dec 22 08:12:56 UTC 2023
> We notice failures/crashes on Alpine Linux, maybe after [JDK-8320886](https://bugs.openjdk.org/browse/JDK-8320886).
> test runtime/Unsafe/InternalErrorTest.java crashes on Alpine (works fine on other test OS/CPU platforms) :
>
>
> #
> # SIGSEGV (0xb) at pc=0x00007fd3c080064f, pid=7075, tid=7161
> #
> # JRE version: OpenJDK Runtime Environment (23.0) (build 23-internal-adhoc.jenkinsi.jdk)
> # Java VM: OpenJDK 64-Bit Server VM (23-internal-adhoc.jenkinsi.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
> # Problematic frame:
> # C [ld-musl-x86_64.so.1+0x5464f] memset+0xa7
> #
>
>
> Looks like the Alpine memset triggers unexpected SIGSEGV (not the expected SIGBUS). So we switch to a loop instead of memset. However I noticed that on Linux aarch64 the test starts to fail when the loop is used instead of the memset, so I keep the old coding on this platform .
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
Do loop only on Alpine/MUSL
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17175/files
- new: https://git.openjdk.org/jdk/pull/17175/files/9e12df94..b1526976
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17175&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17175&range=00-01
Stats: 5 lines in 1 file changed: 2 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/17175.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17175/head:pull/17175
PR: https://git.openjdk.org/jdk/pull/17175
More information about the hotspot-dev
mailing list