-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b14
-
ppc
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8221834 | 11.0.4 | Gustavo Romero | P4 | Resolved | Fixed | b01 |
Currently JVM on Linux/PPC64 can crash silently if a SIGSEGV is cause not due to a load/store from/to an illegal data address but due to a branch to an invalid (not mapped / no execution allowed) address.
That issue was reported by Goetz (SAP) who provided an easy way to reproduce it: on a debug build, run the JVM with the following flags:
~/openjdks/jdk_tip_564043cbe138/bin$ ./java -XX:-UseSIGTRAP -XX:-CreateCoredumpOnCrash -XX:ErrorHandlerTest=13
Segmentation fault (core dumped)
It will crash silently instead of in a controlled way triggered by VMError::controlled_crash().
Goetz sees the error only on linux ppc64 le (ABI ELFv2), not on linux ppc64 be (ABI ELFv1) nor AIX. It is failing since the ppc64le port was introduced.
HE tested this on the following OSes:
Ubuntu 16.04.3 LTS 4.4.0-101-generic
RHEL 7.2 3.10.0-327.10.1.el7.ppc64le
RHEL 7.3 3.10.0-693.2.2.el7.ppc64le
RHEL 7.4 3.10.0-693.1.1.el7.ppc64le
SLES 12.1 3.12.57-60.35-default
SLES 12.3 4.4.126-94.22-default
SLES 15.0 4.12.14-25.16-default
That issue was reported by Goetz (SAP) who provided an easy way to reproduce it: on a debug build, run the JVM with the following flags:
~/openjdks/jdk_tip_564043cbe138/bin$ ./java -XX:-UseSIGTRAP -XX:-CreateCoredumpOnCrash -XX:ErrorHandlerTest=13
Segmentation fault (core dumped)
It will crash silently instead of in a controlled way triggered by VMError::controlled_crash().
Goetz sees the error only on linux ppc64 le (ABI ELFv2), not on linux ppc64 be (ABI ELFv1) nor AIX. It is failing since the ppc64le port was introduced.
HE tested this on the following OSes:
Ubuntu 16.04.3 LTS 4.4.0-101-generic
RHEL 7.2 3.10.0-327.10.1.el7.ppc64le
RHEL 7.3 3.10.0-693.2.2.el7.ppc64le
RHEL 7.4 3.10.0-693.1.1.el7.ppc64le
SLES 12.1 3.12.57-60.35-default
SLES 12.3 4.4.126-94.22-default
SLES 15.0 4.12.14-25.16-default
- backported by
-
JDK-8221834 PPC64: Fix signal handler for SIGSEGV on branch to illegal address
-
- Resolved
-
- duplicates
-
JDK-8219916 [ppc64le] runtime/ErrorHandling/ErrorHandler.java fails on linux ppc64le
-
- Closed
-
- relates to
-
JDK-8221175 Fix bad function case for controlled JVM crash on PPC64 big-endian
-
- Resolved
-
-
JDK-8223266 PPC64: Check for branch to illegal address before checking for mem serialization
-
- Resolved
-
-
JDK-8221410 PPC64: Remove get_stack_bang_address workaround
-
- Closed
-
-
JDK-8223395 PPC64: Improve comments in the JVM signal handler to match ISA text
-
- Resolved
-
(1 relates to)