adoptium / adoptium/aqa-tests

Two jfr tests triggered crash with jdk25 on s390x_linux

Open
#6,589 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

Found during triage here: https://github.com/adoptium/aqa-tests/issues/6555#issuecomment-3263915085

jdk/jfr/jvm/TestChunkIntegrity.java , jdk/jfr/jvm/TestJFRIntrinsic.java - jvm crashed - no test changes, compared with jdk24, `@key jfr` is removed (in January, https://github.com/openjdk/jdk25u/commit/99002e4f9d421d08d912187a1f01809d85820427), which shouldn't affect test itself. Also, `@required vm.flagless` added, then removed (in January, https://github.com/openjdk/jdk25u/commit/8f7e6e2dbc0a3ccf56242bf071e57bfd671de951).

```
13:47:59 # A fatal error has been detected by the Java Runtime Environment:
13:47:59 #
13:47:59 # SIGSEGV (0xb) at pc=0x000003ffa84e78de, pid=17570, tid=17587
13:47:59 #
13:47:59 # JRE version: OpenJDK Runtime Environment Temurin-25+36 (25.0+36) (build 25+36-LTS)
13:47:59 # Java VM: OpenJDK 64-Bit Server VM Temurin-25+36 (25+36-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
13:47:59 # Problematic frame:
13:47:59 # V [libjvm.so+0x9678de] LibraryCallKit::inline_native_getEventWriter()+0x126e
13:47:59 #
13:47:59 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
13:47:59 #
13:47:59 Unsupported internal testing APIs have been used.
13:47:59
13:47:59 # An error report file with more information is saved as:
13:47:59 # /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_175726618265/jdk_custom_0/work/scratch/hs_err_pid17570.log
13:47:59 #
13:47:59 # Compiler replay data is saved as:
13:47:59 # /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_175726618265/jdk_custom_0/work/scratch/replay_pid17570.log
13:47:59 #
13:47:59 # If you would like to submit a bug report, please visit:
13:47:59 # https://github.com/adoptium/adoptium-support/issues
13:47:59 # A fatal error has been detected by the Java Runtime Environment:
13:47:59 #
13:47:59 # SIGSEGV (0xb) at pc=0x000003ff8a8d29c4, pid=16818, tid=16835
13:47:59 #
13:47:59 # JRE version: OpenJDK Runtime Environment Temurin-25+36 (25.0+36) (build 25+36-LTS)
13:47:59 # Java VM: OpenJDK 64-Bit Server VM Temurin-25+36 (25+36-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-s390x)
13:47:59 # Problematic frame:
13:47:59 # V [libjvm.so+0x9529c4] LibraryCallKit::inline_native_jvm_commit()+0x108c
13:47:59 #
13:47:59 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
13:47:59 #
13:47:59 # JFR recording file will be written. Location: /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_175726618265/jdk_custom_0/work/scratch/hs_err_pid16818.jfr
13:47:59 #
13:47:59 # An error report file with more information is saved as:
13:47:59 # /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_175726618265/jdk_custom_0/work/scratch/hs_err_pid16818.log
13:47:59 [thread 16846 also had an error]
```

According to the triage notes, these 2 tests passed using the March 2025 JDK 24 release.

Contributor guide

Open the contributing guide

Research direction

Start with jdk/jfr/jvm/TestChunkIntegrity.java and jdk/jfr/jvm/TestJFRIntrinsic.java, reproducing them on JDK 25 on s390x Linux and comparing with the March 2025 JDK 24 release. Review the reported hs_err and replay files, especially the LibraryCallKit::inline_native_getEventWriter and inline_native_jvm_commit frames. Done means the cause of the crashes is identified and the tests no longer crash or the required follow-up is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.