Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run JDK13 AIX Hotspot #1327

Closed
AdamBrousseau opened this issue Oct 16, 2019 · 8 comments
Closed

Cannot run JDK13 AIX Hotspot #1327

AdamBrousseau opened this issue Oct 16, 2019 · 8 comments
Labels
aix Issues that affect or relate to the AIX OS bug Issues that are problems in the code as reported by the community
Milestone

Comments

@AdamBrousseau
Copy link
Contributor

Platform:

AIX 7.1.4.30

Architecture:

Power8

Please describe the issue that you are having with our binaries and if possible how to recreate it.

https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13%2B33/OpenJDK13U-jdk_ppc64_aix_hotspot_13_33.tar.gz

SDK Crashes when running java -version. I can run other JDK versions without issue.

-bash-4.4$ /usr/java13_64/bin/java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (threadCritical_aix.cpp:45), pid=19726432, tid=258
#  guarantee(ret == 0) failed: fatal error with pthread_mutex_lock()
#
# JRE version:  (13.0+33) (build )
# Java VM: OpenJDK 64-Bit Server VM (13+33, mixed mode, tiered, compressed oops, g1 gc, aix-ppc64)
# Core dump will be written. Default location: /home/u0020236/adam/core or core.19726432
#
# An error report file with more information is saved as:
# /home/u0020236/adam/hs_err_pid19726432.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-build/issues
#
IOT/Abort trap (core dumped)

hs_err_pid17039550.log

@RealCLanger
Copy link

Hi,

this could well be a wrong version of the c++ runtime library. I have to ask around about the OS requirements for hotspot VMs that got compiled with XlC 16.

Cheers
Christoph

@AdamBrousseau
Copy link
Contributor Author

cc @vsebe I know you've been working on xlc 16 changes, does this look familiar?

@vsebe
Copy link
Contributor

vsebe commented Oct 16, 2019

The OpenJ9 machines have xlc 13 and xlc 16 installed. If you set xlc16 (/opt/IBM/xlC/16.1.0/bin:/opt/IBM/xlc/16.1.0/bin) first on the PATH, does the error still occur?
Try an OpenJ9 jdk (check Artifactory).

@karianna karianna added this to the October 2019 milestone Oct 22, 2019
@karianna karianna added bug Issues that are problems in the code as reported by the community aix Issues that affect or relate to the AIX OS labels Oct 22, 2019
@karianna karianna modified the milestones: October 2019, November 2019 Nov 3, 2019
@sxa
Copy link
Member

sxa commented Nov 25, 2019

JDK13 at adoptopenjdk is currently built on a machine running AIX 7.2 (TL2SP2) and it certainly works ok on my other 7.2 box (which has XLC16 installed, but not as the default in the PATH)

@sxa
Copy link
Member

sxa commented Nov 25, 2019

Bear in mind that there may be other similar symptoms when we move up to 7.1TL5SP5 for OpenJ9 as per adoptium/infrastructure#1006

@sxa sxa modified the milestones: November 2019, December 2019 Dec 3, 2019
@sxa
Copy link
Member

sxa commented Dec 31, 2019

@AdamBrousseau Do the latest nightlies suffer the same problems? Now that we're building JDK13 on 7.1TL5SP5 it might stand more of a chance of running on 7.1.0.4 :-)

@AdamBrousseau
Copy link
Contributor Author

On last release (jdk-13+33) on 7.1.4.3 I still get the same error.
On 7.1.5.5 I also get the error.
With latest nightly build I get proper version on both 7.1.4.3 and 7.1.5.5

> ./jdk-13.0.1+9/bin/java -version
openjdk version "13.0.1" 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.1+9-202001030621)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.1+9-202001030621, mixed mode)

So I think we can close this?

@sxa
Copy link
Member

sxa commented Jan 6, 2020

Sounds about right - the machines are built on the earlier version now, so should be ok for the next quarterly release. Thanks for confirming - I think I'll close this now :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aix Issues that affect or relate to the AIX OS bug Issues that are problems in the code as reported by the community
Projects
None yet
Development

No branches or pull requests

5 participants