Repeatedly segfaulted the JVM when using the mysql gem
------------------------------------------------------
Key: JRUBY-6231
URL: https://jira.codehaus.org/browse/JRUBY-6231
Project: JRuby
Issue Type: Bug
Components: C Extensions
Affects Versions: JRuby 1.6.5
Environment: java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-60.1.10.4.fc15-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Reporter: Postmodern
Assignee: Thomas E Enebo
Attachments: hs_err_pid25574.log
When running benchmarks of the mysql gem (single-threaded vs. multi-threaded) I
was able to reliably Segfault the JVM. The Segfault appears to occur in the new
C-Extension JNI wrapping code.
{code}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f484c8e524d, pid=1126, tid=139948498609920
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed
oops)
# Derivative: IcedTea6 1.10.4
# Distribution: Fedora release 15 (Lovelock), package
fedora-60.1.10.4.fc15-x86_64
# Problematic frame:
# C [libjruby-cext.so+0x2624d] Java_org_jruby_cext_Native_freeHandle+0xb7
#
# An error report file with more information is saved as:
# /home/hal/hs_err_pid1126.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email