qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash on jar (openjdk-15.0.1_p9) in the alpine docker container with qem


From: Hyounggyu Choi
Subject: Crash on jar (openjdk-15.0.1_p9) in the alpine docker container with qemu-user-static, but working on the native arch
Date: Thu, 14 Jan 2021 16:37:25 +0000

Dear the community members,
 
I ran into a crash when I tried the commands below on my x86_64 laptop:
 
==============
docker run --rm --privileged multiarch/qemu-user-static:5.2.0-2 --reset -p yes
$ docker run --rm -it --entrypoint /bin/sh ghcr.io/openzipkin/alpine:3.12.3@sha256:2236f4fd8f9b4e595661a5886f1b075401c2b8d4f5357bc30fff7a50404c07cd
---- inside the docker container ----
# apk --no-cache add openjdk15-jmods=~15.0.1_p9 openjdk15-jdk=~15.0.1_p9 binutils tar wget
----- installation progress -----
/usr/lib/jvm/default-jvm/bin/jar --version
 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x0000004011e1ac40, pid=46, tid=50
#
# JRE version: OpenJDK Runtime Environment (15.0.1+9) (build 15.0.1+9-alpine-r1)
# Java VM: OpenJDK 64-Bit Server VM (15.0.1+9-alpine-r1, mixed mode, sharing, tiered, compressed oops, serial gc, linux-s390x)
# Problematic frame:
# J 26 c1 java.util.HashMap.afterNodeInsertion(Z)V java.base@15.0.1 (1 bytes) @ 0x0000004011e1ac40 [0x0000004011e1ac00+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 //core.46)
#
# An error report file with more information is saved as:
# //hs_err_pid46.log
Compiled method (c1)     513   26       3       java.util.HashMap::afterNodeInsertion (1 bytes)
 total in heap  [0x0000004011e1aa10,0x0000004011e1adb0] = 928
 relocation     [0x0000004011e1ab68,0x0000004011e1ab98] = 48
 constants      [0x0000004011e1abc0,0x0000004011e1ac00] = 64
 main code      [0x0000004011e1ac00,0x0000004011e1ad00] = 256
 stub code      [0x0000004011e1ad00,0x0000004011e1ad58] = 88
 metadata       [0x0000004011e1ad58,0x0000004011e1ad68] = 16
 scopes data    [0x0000004011e1ad68,0x0000004011e1ad78] = 16
 scopes pcs     [0x0000004011e1ad78,0x0000004011e1ada8] = 48
 dependencies   [0x0000004011e1ada8,0x0000004011e1adb0] = 8
Compiled method (c1)     521   23       3       java.util.HashMap::putVal (300 bytes)
 total in heap  [0x0000004011e16310,0x0000004011e17fe0] = 7376
 relocation     [0x0000004011e16468,0x0000004011e16830] = 968
 constants      [0x0000004011e16840,0x0000004011e16b40] = 768
 main code      [0x0000004011e16b40,0x0000004011e17a40] = 3840
 stub code      [0x0000004011e17a40,0x0000004011e17b28] = 232
 metadata       [0x0000004011e17b28,0x0000004011e17b90] = 104
 scopes data    [0x0000004011e17b90,0x0000004011e17da8] = 536
 scopes pcs     [0x0000004011e17da8,0x0000004011e17f78] = 464
 dependencies   [0x0000004011e17f78,0x0000004011e17f80] = 8
 nul chk table  [0x0000004011e17f80,0x0000004011e17fe0] = 96
Compiled method (c1)     529   23       3       java.util.HashMap::putVal (300 bytes)
 total in heap  [0x0000004011e16310,0x0000004011e17fe0] = 7376
 relocation     [0x0000004011e16468,0x0000004011e16830] = 968
 constants      [0x0000004011e16840,0x0000004011e16b40] = 768
 main code      [0x0000004011e16b40,0x0000004011e17a40] = 3840
 stub code      [0x0000004011e17a40,0x0000004011e17b28] = 232
 metadata       [0x0000004011e17b28,0x0000004011e17b90] = 104
 scopes data    [0x0000004011e17b90,0x0000004011e17da8] = 536
 scopes pcs     [0x0000004011e17da8,0x0000004011e17f78] = 464
 dependencies   [0x0000004011e17f78,0x0000004011e17f80] = 8
 nul chk table  [0x0000004011e17f80,0x0000004011e17fe0] = 96
#
# If you would like to submit a bug report, please visit:
#   https://gitlab.alpinelinux.org/alpine/aports/issues
#
Aborted (core dumped)
==============
 
I got the version when I ran the same commands without the `docker run --rm --privileged multiarch/qemu-user-static:5.2.0-2 --reset -p yes` on the z system.
 
==============
# /usr/lib/jvm/default-jvm/bin/jar --version
jar 15.0.1
==============
 
I was wondering if anyone could point me out to why this happens and how to solve it.
 
Last but not least, here is my docker version:
==============
Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:52 2020
 OS/Arch:           linux/amd64
 Experimental:      true
Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:01:20 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
==============
 
Thank you very much.
 
Best regards 
 
Hyounggyu Choi
 
Container and Cloud Technology Linux on IBM Z Development

Phone: +49-151-28369428  IBM Deutschland Research & Development GmbH
Email: Hyounggyu.Choi@ibm.com  Schoenaicher Str. 220
 71032 Boeblingen
 Germany

 
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294


reply via email to

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