Open stepan-hrbacek-n-able opened 2 months ago
I was unfortunately not able to test this with the latest JVM 21 release because the issue only occurs in a customer production environment where changing JVM version is hard...
There have been several fixes in the loom area of latest JDK 21, so please be sure to update and see if it still reproduces with a later version (21.0.3
currently, or 21.0.4
in two weeks time). Unfortunately, we cannot fix 21.0.1
only. Fixes can only be delivered with latest update releases (if it still reproduces).
Thank you @jerboaa 👍
Please provide a brief summary of the bug
JVM crashes on SEGSEGV error (segmentation fault) with following error indicating that this is caused by java virtual threads:
The only usage of virtual threads in the crashing program is using an executor created by:
The issue goes away after replacing it with a normal thread pool:
hs_err_pid15662.log
Did you test with the latest update version?
Please provide steps to reproduce where possible
No response
Expected Results
JVM does not crash when using virtual threads.
Actual Results
JVM crashes with SIGSEGV when using virtual threads.
What Java Version are you using?
OpenJDK Runtime Environment Temurin-21.0.1+12 (21.0.1+12) (build 21.0.1+12-LTS)
What is your operating system and platform?
Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz, 40 cores, 157G, CentOS x64 Linux release 7.9.2009 (Core)
How did you install Java?
RPM
Did it work before?
No response
Did you test with other Java versions?
No response
Relevant log output
No response