This may not be of any use to you given the lack of reproduction steps. If it isn't then feel free to close, I'm opening this in the off chance it's an obvious fix just using the attached error report file.
Describe the bug
A seg fault reliably occurs during the class initialization of jdk.internal.net.http.common.DebugLogger on Corretto 21 after various reflective operations have taken place.
Said operations include class loading and unloading going on with a particular security manager setup intended to prohibit most file, network and JNI access.
To Reproduce
Sadly this isn't viable as the call is happening from proprietary code. (It will reliably occur on every run with that set up)
Expected behavior
No SIGSEGV thrown, the DebugLogger class should initialize.
Screenshots
NA
Platform information
OS: Linux DB1001 6.14.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Version: OpenJDK Runtime Environment Corretto-21.0.8.9.1 (build 21.0.8+9-LTS)
Additional context
This codebase is for generating Java tests. It loads and runs classfiles from other codebases in a sandbox.
hs_err_pid1713125.log