qemu-devel
[Top][All Lists]
Advanced

[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: Tue, 30 Mar 2021 10:03:54 -0000

Tried building jdk 11 from source, the generated executable still
crashes(fastdebug as well as release mode):

```
root@24d396a17e00:~/jdk# build/linux-s390x-normal-server-release/jdk/bin/java 
-version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x000000400b234440, pid=18175, tid=18178
#
# JRE version: OpenJDK Runtime Environment (11.0) (build 
11-internal+0-adhoc..jdk)
# Java VM: OpenJDK 64-Bit Server VM (11-internal+0-adhoc..jdk, mixed mode, 
tiered, compressed oops, g1 gc, linux-s390x)
# Problematic frame:
# J 78 c1 java.util.HashMap.afterNodeInsertion(Z)V java.base (1 bytes) @ 
0x000000400b234440 [0x000000400b234400+0x0000000000000040]
#
# 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 
/root/jdk/core.18175)
#
# An error report file with more information is saved as:
# /root/jdk/hs_err_pid18175.log
Compiled method (c1)    1795   78       3       
java.util.HashMap::afterNodeInsertion (1 bytes)
 total in heap  [0x000000400b234210,0x000000400b2345b0] = 928
 relocation     [0x000000400b234378,0x000000400b2343a0] = 40
 constants      [0x000000400b2343c0,0x000000400b234400] = 64
 main code      [0x000000400b234400,0x000000400b234500] = 256
 stub code      [0x000000400b234500,0x000000400b234558] = 88
 metadata       [0x000000400b234558,0x000000400b234568] = 16
 scopes data    [0x000000400b234568,0x000000400b234578] = 16
 scopes pcs     [0x000000400b234578,0x000000400b2345a8] = 48
 dependencies   [0x000000400b2345a8,0x000000400b2345b0] = 8
Compiled method (c1)    1806   74       3       java.util.HashMap::putVal (300 
bytes)
 total in heap  [0x000000400b230210,0x000000400b231f20] = 7440
 relocation     [0x000000400b230378,0x000000400b230690] = 792
 constants      [0x000000400b2306c0,0x000000400b230a00] = 832
 main code      [0x000000400b230a00,0x000000400b231980] = 3968
 stub code      [0x000000400b231980,0x000000400b231a68] = 232
 metadata       [0x000000400b231a68,0x000000400b231ad0] = 104
 scopes data    [0x000000400b231ad0,0x000000400b231ce8] = 536
 scopes pcs     [0x000000400b231ce8,0x000000400b231eb8] = 464
 dependencies   [0x000000400b231eb8,0x000000400b231ec0] = 8
 nul chk table  [0x000000400b231ec0,0x000000400b231f20] = 96
Could not load hsdis-s390x.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Aborted (core dumped)
root@24d396a17e00:~/jdk#
```

-- 
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]