Skip to content

jruby dies with fatal error on jdk8-ea-b83 on ubuntu #626

@edubkendo

Description

@edubkendo

I have previously used jruby with jdk8 ea build's, up to build 80, without problem. However, with build 83, any attempt to run any script with jruby, or to run jirb, it dies immediately with the error attached below. I can get jirb to run if I disable native with jruby -Xnative.enabled=false -S jirb, but otherwise it does this also.

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/eric/installs/jruby-1.7.3/lib/native/arm-Linux/libjffi-1.2.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'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6ad31614c4, pid=6325, tid=140096765916928
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b83) (build 1.8.0-ea-b83)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b24 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x964c4]  envz_strip+0x214
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/eric/hs_err_pid6325.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Logfile:

https://gist.github.com/edubkendo/5469502#file-logfile

(Replaced some of the text with link to a gist at the suggestion of github support staff, after no longer being able to comment here)

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