Skip to content

sigsev on installing gems on aarch64 #5447

@cpuguy83

Description

@cpuguy83

Environment

Provide at least:

  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc)
    9.2., 9.1.
  • Operating system and platform (e.g. uname -a)
    unknown atm (build server not in my control)
  • Using openjdk-8

Expected Behavior

gem install should not crash

Actual Behavior

When building jruby images for Docker, upon installing some base gems we hit a sigsev.
This is happening only on armv8 (aarch64) on alpine linux (which uses musl-libc).

Step 8/13 : RUN gem install bundler rake net-telnet xmlrpc
 ---> Running in ac6b889e4615
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000005e30, pid=1, tid=0x0000ffff86683a78
#
# JRE version: OpenJDK Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.171-b11 mixed mode linux-aarch64 compressed oops)
# Derivative: IcedTea 3.8.0
# Distribution: Custom build (Wed Jun 13 18:28:34 UTC 2018)
# Problematic frame:
# C  0x0000000000005e30
#
# Core dump written. Default location: //core or core.1
#
# An error report file with more information is saved as:
# //hs_err_pid1.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions