Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Linux (Ubuntu 10.04LTS)
Oracle JRE7u2
rubygems 1.3.7 or 1.8.5
-
Number of attachments :
Description
While doing a fresh install of JRuby 1.7.0dev (2012-01-12 11:11 build) and then running update_rubygems (with rubygems-update version 1.3.7 or 1.8.5 - both behave the same), I get the following sigsev error if I use the Oracle JRE7u2 without turning off the invokedynamic:
root@jic:/home/jchiu/jr17# update_rubygems RubyGems 1.8.5 installed # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb6d8e9c0, pid=21281, tid=2425326448 # # JRE version: 7.0_02-b13 # Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode linux-x86 ) # Problematic frame: # V [libjvm.so+0xa09c0] BitMap::set_union(BitMap)+0x20 # # Core dump written. Default location: /usr/lib/ruby/gems/shared/gems/rubygems-update-1.8.5/core or core.21281 # # An error report file with more information is saved as: # /usr/lib/ruby/gems/shared/gems/rubygems-update-1.8.5/hs_err_pid21281.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # root@jic:/home/jchiu/jr17# JAVA_OPTS="-Xcompile.invokedynamic=false" update_rubygems RubyGems 1.8.5 installed === 1.8.5 / 2011-05-31 * 2 minor enhancement: * The -u option to 'update local source cache' is official deprecated. * Remove has_rdoc deprecations from Specification. * 2 bug fixes: * Handle bad specs more gracefully. * Reset any Gem paths changed in the installer. ------------------------------------------------------------------------------ RubyGems installed the following executables: /usr/bin/jgem root@jic:/home/jchiu/jr17# update_rubygems RubyGems 1.8.5 installed # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb6cff9c0, pid=21413, tid=2430110576 # # JRE version: 7.0_02-b13 # Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode linux-x86 ) # Problematic frame: # V [libjvm.so+0xa09c0] BitMap::set_union(BitMap)+0x20 # # Core dump written. Default location: /usr/lib/ruby/gems/shared/gems/rubygems-update-1.8.5/core or core.21413 # # An error report file with more information is saved as: # /usr/lib/ruby/gems/shared/gems/rubygems-update-1.8.5/hs_err_pid21413.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # root@jic:/home/jchiu/jr17# java -version java version "1.7.0_02" Java(TM) SE Runtime Environment (build 1.7.0_02-b13) Java HotSpot(TM) Server VM (build 22.0-b10, mixed mode) root@jic:/home/jchiu/jr17#
Apologies for bad formatting - first time using this bug-tracking system... Also, thanks to
JRUBY-6297which made me realize to test invoke dynamic