[Bug 1594393] [NEW] JVM on PPC64 LE crashes due to an illegal instruction in JITed code

Launchpad Bug Tracker 1594393 at bugs.launchpad.net
Wed Jun 22 00:24:47 UTC 2016


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

== Comment: #0 - Gustavo Bueno Romero <gromero at br.ibm.com> - 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 at br.ibm.com 
 
---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 at br.ibm.com:
-Attach ltrace and strace of userspace application.

== Comment: #1 - Gustavo Bueno Romero <gromero at br.ibm.com> - 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

** Affects: openjdk-8 (Ubuntu)
     Importance: High
     Assignee: Tiago Stürmer Daitx (tdaitx)
         Status: Triaged


** Tags: architecture-ppc64le bugnameltc-142797 patch severity-high targetmilestone-inin---
-- 
JVM on PPC64 LE crashes due to an illegal instruction in JITed code
https://bugs.launchpad.net/bugs/1594393
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list