← Back to team overview

openjdk team mailing list archive

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

 

You have been subscribed to a public bug:

== 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

** Affects: openjdk-8 (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-142797 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 OpenJDK, which is subscribed to openjdk-8 in Ubuntu.