Joseph Chiu created JRUBY-6345:
----------------------------------

             Summary: sigsegv at BitMap::set_union(BitMap)+0x20 while updating 
rubygems
                 Key: JRUBY-6345
                 URL: https://jira.codehaus.org/browse/JRUBY-6345
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.7
         Environment: Linux (Ubuntu 10.04LTS)
Oracle JRE7u2
rubygems 1.3.7 or 1.8.5
            Reporter: Joseph Chiu
            Assignee: Thomas E Enebo


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#



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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


Reply via email to