Integrated: JDK-8297184: Test runtime/ErrorHandling/TestSigInfoInHsErrFile.java is failing
Thomas Stuefe
stuefe at openjdk.org
Thu Nov 17 16:44:15 UTC 2022
On Thu, 17 Nov 2022 08:21:43 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> https://bugs.openjdk.org/browse/JDK-8296906 added a new test that artificially crashes the VM with a known signal/code/crashaddress and checks that we see those informations precisely in the hs-err file. It did this for SIGSEGV and SIGFPE.
>
> SIGFPE, however, is problematic. We fall back to pthread_kill() if we cannot trigger a real FPE fault. In that case the code will be SI_KILL and the sending frame will be pthread_kill().
>
> Since we cannot guarantee that a real signal is sent, I opted for just removing the part of the test that tests FPE. The other part, testing SIGSEGV, is enough to cover what the test should cover.
>
> *update*
>
> I also added a fix for the second error mode we see, where we don't crash with SIGSEGV SEGV_MAPERR but SIGSEGV ACCERR.
This pull request has now been integrated.
Changeset: a768fed7
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a768fed77943351416ea5e2e7162797eab462313
Stats: 56 lines in 1 file changed: 0 ins; 53 del; 3 mod
8297184: Test runtime/ErrorHandling/TestSigInfoInHsErrFile.java is failing
Reviewed-by: dcubed, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/11202
More information about the hotspot-runtime-dev
mailing list