Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: JRuby 1.6.5
-
Fix Version/s: None
-
Component/s: C Extensions
-
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)
-
Number of attachments :
Description
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.
# # 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)