← Back to team overview

openjdk team mailing list archive

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

 

This bug was fixed in the package openjdk-8 - 8u91-b14-3

---------------
openjdk-8 (8u91-b14-3) unstable; urgency=medium

  * Fix an issue with libatk-wrapper (Samuel Thibault). Closes: #827795.
  * Update the KFreeBSD support patch (Steven Chamberlain). Closes: #825514.
  * debian/patches/hotspot-JDK-8158260-ppc64el.patch: JDK-8158260, PPC64:
    unaligned Unsafe.getInt can lead to the generation of illegal
    instructions (Tiago Stürmer Daitx). LP: #1594393.

 -- Matthias Klose <doko@xxxxxxxxxx>  Fri, 24 Jun 2016 14:49:34 +0200

** Changed in: openjdk-8 (Ubuntu)
       Status: Triaged => Fix Released

-- 
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:
  Fix Released

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