[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1920913] Re: Openjdk11+ fails to install on s390x
From: |
Namrata Bhave |
Subject: |
[Bug 1920913] Re: Openjdk11+ fails to install on s390x |
Date: |
Wed, 14 Apr 2021 10:04:32 -0000 |
As java -version passes few times, further also checked behaviour of Maven.
Observed that mvn -v crashes in a similar fashion, however after setting below:
export MAVEN_OPTS="-XX:-TieredCompilation -XX:+UseG1GC -Dcount=1000000"
mvn -v always passes.
root@XX:/# mvn -v
OpenJDK 64-Bit Server VM warning: You have loaded library
/apache-maven-3.6.3/lib/jansi-native/linux64/libjansi.so which might have
disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>',
or link it with '-z noexecstack'.
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /apache-maven-3.6.3
Java version: 11.0.7, vendor: Ubuntu, runtime:
/usr/lib/jvm/java-11-openjdk-s390x
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "5.4.0-70-generic", arch: "s390x", family: "unix"
However what I am really interested in, is mvn clean install command which
never passes with above settings.
@davidhildenbrand, any help would be appreciated.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920913
Title:
Openjdk11+ fails to install on s390x
Status in QEMU:
New
Bug description:
While installing openjdk11 or higher from repo, it crashes while configuring
ca-certificates-java.
Although `java -version` passes, `jar -version` crashes. Detailed logs
attached to this issue.
```
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000040126f9980, pid=8425, tid=8430
#
# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build
11.0.10+9-Ubuntu-0ubuntu1.20.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed
mode, tiered, compressed oops, g1 gc, linux-s390x)
# Problematic frame:
# J 4 c1 java.lang.StringLatin1.hashCode([B)I java.base@11.0.10 (42 bytes) @
0x00000040126f9980 [0x00000040126f9980+0x0000000000000000]
#
# Core dump will be written. Default location: Core dumps may be processed
with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to //core.8425)
#
# An error report file with more information is saved as:
# //hs_err_pid8425.log
sed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to
/root/core.10740)
#
# An error report file with more information is saved as:
# /root/hs_err_pid10740.log
```
Observed this on s390x/ubuntu as well as s390x/alpine when run on amd64 host.
Please note, on native s390x, the installation is successful. Also this crash
is not observed while installing openjdk-8-jdk.
Qemu version: 5.2.0
Please let me know if any more details are needed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920913/+subscriptions