--- a/src/hotspot/os/posix/vmError_posix.cpp Thu Jul 11 06:49:49 2019 +0200
+++ b/src/hotspot/os/posix/vmError_posix.cpp Thu Jul 11 06:56:51 2019 +0200
@@ -132,8 +132,9 @@
// Needed because asserts may happen in error handling too.
#ifdef CAN_SHOW_REGISTERS_ON_ASSERT
if ((sig == SIGSEGV || sig == SIGBUS) && info != NULL && info->si_addr == g_assert_poison) {
- handle_assert_poison_fault(ucVoid, info->si_addr);
- return;
+ if (handle_assert_poison_fault(ucVoid, info->si_addr)) {
+ return;
+ }
}
#endif // CAN_SHOW_REGISTERS_ON_ASSERT