Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 645
    • Issues 645
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 166
    • Merge Requests 166
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12275

Closed
Open
Opened Jan 05, 2021 by Carole Corley@ccorley
  • Report abuse
  • New issue
Report abuse New issue

openjdk-jre crashes on s390x arch

LinuxForHealth kafdrop alpine image crashes on s390x but works on arm64 and amd64.
Image on Docker Hub: https://hub.docker.com/repository/docker/linuxforhealth/kafdrop-alpine
The kafdrop image is built on an openjdk image, which is in turn built on a base alpine:3.12.1 image.

The same crash occurs with openjdk11-jre-headless and openjdk11-jre.

Ultimately the shell snippet that invokes the jre is

ARGS="--add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Xss256K \
     $JMX_ARGS \
     $HEAP_ARGS \
     $JVM_OPTS"

exec java ${ARGS} -jar /opt/lfh/kafdrop/kafdrop*jar ${CMD_ARGS}

Snippet of error, full error file attached.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGFPE (0x8) at pc=0x000003ff9965b3fe (sent by kill), pid=8, tid=18
#
# JRE version: OpenJDK Runtime Environment (11.0.9+11) (build 11.0.9+11-alpine-r0)
# Java VM: OpenJDK 64-Bit Server VM (11.0.9+11-alpine-r0, mixed mode, tiered, compressed oops, g1 gc, linux-s390x)
# Problematic frame:
# V  [libjvm.so+0x45b402]
#
# 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 /opt/lfh/kafdrop/core.8)
#
# If you would like to submit a bug report, please visit:
#   https://gitlab.alpinelinux.org/alpine/aports/issues
#

---------------  S U M M A R Y ------------

Command Line: --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Xss256K /opt/lfh/kafdrop/kafdrop-3.27.0.jar

Host: 8561, 2 cores, 15G, Alpine Linux v3.12
Time: Mon Jan  4 21:46:25 2021 UTC elapsed time: 0.516111 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread (0x000002aa39fef000):  JavaThread "main" [_thread_in_vm, id=18, stack(0x000003ff9a23d000,0x000003ff9a27dae8)]

Stack: [0x000003ff9a23d000,0x000003ff9a27dae8],  sp=0x000003ff9a27ad80,  free space=247k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x45b402]
V  [libjvm.so+0x6a7728]  JVM_ArrayCopy+0xe0
J 73  java.lang.System.arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V java.base@11.0.9 (0 bytes) @ 0x000003ff8a5cc322 [0x000003ff8a5cc280+0x00000000000000a2]
j  java.lang.AbstractStringBuilder.shift(II)V+33 java.base@11.0.9

hs_err_pid8.log

Edited Jan 05, 2021 by Carole Corley
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
arch:s390x type:bug
Assign labels
  • View project labels
Reference: alpine/aports#12275