[POWER9][Ubuntu 18.04] OpenJDK 10+ can halt when detecting RTM feature on POWER9 DD2.1

Bug #1776332 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
High
Canonical Foundations Team
openjdk-lts (Ubuntu)
Fix Released
High
Tiago Stürmer Daitx
Bionic
Fix Released
High
Tiago Stürmer Daitx
Cosmic
Fix Released
High
Tiago Stürmer Daitx

Bug Description

---Problem Description---
OpenJDK 10+ can halt when detecting RTM feature on POWER9 DD2.1

---uname output---
Linux io83 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:12:37 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux

---Additional Hardware Info---
POWER9 DD2.1 (pvr 004e 1201) baremetal

Machine Type = POWER9 DD2.1 (pvr 004e 1201) baremetal

---Steps to Reproduce---
 apt-get install openjdk-11-jdk && java -version (after that one will realize that 'java' command just halts and it's necessary to terminate it by hitting CTRL-C

The following patchset is available upstream and fixes the issue here described:

PPC64: Improve TM detection for enabling RTM on Linux / POWER9
https://bugs.openjdk.java.net/browse/JDK-8203305

PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
https://bugs.openjdk.java.net/browse/JDK-8203669

They apply cleanly to 10u and approval to push it to 10u is already granted by Oracle.

Or apply them to the next package update due to the 10.0.2 GA on July 2018... :)

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-168718 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → openjdk-9 (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: added: triage-g
Steve Langasek (vorlon)
affects: openjdk-9 (Ubuntu) → openjdk-lts (Ubuntu)
Changed in openjdk-lts (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Foundations Team (canonical-foundations)
status: New → Triaged
importance: Undecided → Critical
importance: Critical → High
tags: added: id-5b1ff33adcbe3aaf980c387d
Changed in openjdk-lts (Ubuntu):
assignee: Canonical Foundations Team (canonical-foundations) → Tiago Stürmer Daitx (tdaitx)
Changed in openjdk-lts (Ubuntu Bionic):
assignee: nobody → Tiago Stürmer Daitx (tdaitx)
status: New → Triaged
importance: Undecided → High
Changed in openjdk-lts (Ubuntu Cosmic):
milestone: none → ubuntu-18.08
Changed in openjdk-lts (Ubuntu Bionic):
milestone: none → bionic-updates
tags: added: triage-a
removed: triage-g
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

This is going to be included in OpenJDK together with the 10.0.2 security update.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-07-17 12:08 EDT-------
(In reply to comment #9)
> This is going to be included in OpenJDK together with the 10.0.2 security
> update.

Thanks Daitx!

Cheers,
Gustavo

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

openjdk-lts (10.0.2+13-1ubuntu1) cosmic; urgency=medium

  * Sync packages with 10.0.2+13-1:
    - OpenJDK 10.0.2+13 release.
      - CVE-2018-2972, S8200332: Improve GCM counting.
      - CVE-2018-2952, S8199547: Exception to Pattern Syntax.
      - S8191239: Improve desktop file usage.
      - S8193419: Better Internet address support.
      - S8197925: Better stack walking.
      - S8200666: Improve LDAP support.
    - Explicitly build-depend on libfontconfig1-dev, explicitly depend
      on libfontconfig1. LP: #1780151. See #793210.
    - Build using GCC 8.
    - Configure with --with-native-debug-symbols=internal.
    - OpenJDK 10.0.1+10 also addressed CVE-2018-2825 and CVE-2018-2826.

 -- Matthias Klose <email address hidden> Wed, 18 Jul 2018 21:13:26 +0200

Changed in openjdk-lts (Ubuntu Cosmic):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-lts - 10.0.2+13-1ubuntu0.18.04.1

---------------
openjdk-lts (10.0.2+13-1ubuntu0.18.04.1) bionic-security; urgency=medium

  * Backport from Cosmic. Update to 10.0.2+13. LP: #1776332.
  * debian/control: regenerated for Bionic, add testng and libguava-java as
    build dependencies (guava is necessary due to a testng bug).
  * debian/control.in: add testng and libguava-java as build dependencies.
  * debian/rules:
    - copy accessibility files to conf/ (thanks to Samuel Thibault).
    - update test rules, set output to jtreg-test-output/ as test/ belongs
      to openjdk source, add jaxp and nashorn, use ProblemList.txt from
      each testsuite as the exclude list for jtreg, update regex to include
      into the tarball failed jcstress tests in the Test.java#id123 format,
      create a tarball with the JTreport directory, add guava jar file to
      the test classpath.
    - configure with --with-native-debug-symbols=external as this is closer
      to the old debug/strip code and strips libjvm.so before jlink'ing it
      into java.base.jmod. Closes: #905575.
  * debian/excludelist.jdk.jtx, excludelist.langtools.jtx: removed, tests
    now rely on the ProblemList.txt exclusion list that is included in-tree
    and maintained upstream.

openjdk-lts (10.0.2+13-1ubuntu1) cosmic; urgency=medium

  * Sync packages with 10.0.2+13-1:
    - OpenJDK 10.0.2+13 release.
      - CVE-2018-2972, S8200332: Improve GCM counting.
      - CVE-2018-2952, S8199547: Exception to Pattern Syntax.
      - S8191239: Improve desktop file usage.
      - S8193419: Better Internet address support.
      - S8197925: Better stack walking.
      - S8200666: Improve LDAP support.
    - Explicitly build-depend on libfontconfig1-dev, explicitly depend
      on libfontconfig1. LP: #1780151. See #793210.
    - Build using GCC 8.
    - Configure with --with-native-debug-symbols=internal.
    - OpenJDK 10.0.1+10 also addressed CVE-2018-2825 and CVE-2018-2826.

 -- Tiago Stürmer Daitx <email address hidden> Fri, 03 Aug 2018 01:53:46 +0000

Changed in openjdk-lts (Ubuntu Bionic):
status: Triaged → Fix Released
Changed in ubuntu-power-systems:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.