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

Tiago Stürmer Daitx 1594393 at bugs.launchpad.net
Thu Jun 23 21:12:52 UTC 2016


Fix is now upstream for jdk8u: http://mail.openjdk.java.net/pipermail
/hotspot-compiler-dev/2016-June/023501.html

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
  Triaged

Bug description:
  == 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1594393/+subscriptions



More information about the Ubuntu-sponsors mailing list