openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #11970
[Bug 1594393] Re: JVM on PPC64 LE crashes due to an illegal instruction in JITed code
** Package changed: ubuntu => openjdk-8 (Ubuntu)
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1594393
Title:
JVM on PPC64 LE crashes due to an illegal instruction in JITed code
Status in openjdk-8 package in Ubuntu:
New
Bug description:
== Comment: #0 - Gustavo Bueno Romero <gromero@xxxxxxxxxx> - 2016-06-17 15:06:02 ==
---Problem Description---
JVM on PPC64 LE crashes due to an illegal instruction in JITed code. The root cause is that the unaligned 4-byte displacement in instructions like LWA (Load Word Algebraic, a DS-from instruction) is not handled correctly and yields an illegal instruction inside the JITed method
Contact Information = gromero@xxxxxxxxxx
---uname output---
Linux hostname 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:25:36 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = Not relevant
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Please find a test case at: https://bugs.openjdk.java.net/browse/JDK-8158260
Userspace tool common name: javac, java
The userspace tool has the following bit modes: 64-bit
Userspace rpm: openjdk-8-jdk:ppc64el
8u91-b14-0ubuntu4~16.04.1
Userspace tool obtained from project website: na
*Additional Instructions for gromero@xxxxxxxxxx:
-Attach ltrace and strace of userspace application.
== Comment: #1 - Gustavo Bueno Romero <gromero@xxxxxxxxxx> - 2016-06-17 15:06:43 ==
JVM on PPC64 LE crashes due to an illegal instruction in JITed code. The root cause is that the unaligned 4-byte displacement in instructions like LWA (Load Word Algebraic, a DS-from instruction) is not handled correctly and yields an illegal instruction inside the JITed method [1]. The patch is already available upstream on OpenJDK 9 [2] and applying it to jdk8u is trivial [3].
Could you please proceed to apply the patch [2] (PPC-only code is
affect) in order to fix the issue described?
Thank you.
[1] https://bugs.openjdk.java.net/browse/JDK-8158260
[2]http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/5f3687f2143c
[3] http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/2016-June/002569.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1594393/+subscriptions