Bug #3241: gem update --system Segmentation fault
http://redmine.ruby-lang.org/issues/show/3241

Author: Benedikt Eickhoff
Status: Open, Priority: Normal
ruby -v: 1.9.2-head

[2010-05-03 09:39:48] /home/bene/.rvm/rubies/ruby-1.9.2-head/bin/gem update --system
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:210: [BUG] Segmentation fault
ruby 1.9.2dev (2010-05-03 trunk 27592) [i686-linux]

-- control frame ----------
c:0019 p:---- s:0057 b:0057 l:000056 d:000056 CFUNC  :replace
c:0018 p:0045 s:0053 b:0053 l:000052 d:000052 METHOD /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:210
c:0017 p:0018 s:0047 b:0047 l:000038 d:000046 BLOCK  /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:214
c:0016 p:---- s:0044 b:0044 l:000043 d:000043 FINISH
c:0015 p:---- s:0042 b:0042 l:000041 d:000041 CFUNC  :each_value
c:0014 p:3812 s:0039 b:0039 l:000038 d:000038 CLASS  /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:213
c:0013 p:0009 s:0037 b:0037 l:000036 d:000036 TOP    /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:5
c:0012 p:---- s:0035 b:0035 l:000034 d:000034 FINISH
c:0011 p:---- s:0033 b:0033 l:000032 d:000032 CFUNC  :require
c:0010 p:0060 s:0029 b:0029 l:000028 d:000028 CLASS  /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:123
c:0009 p:0056 s:0027 b:0027 l:000026 d:000026 TOP    /home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:102
c:0008 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0007 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC  :require
c:0006 p:0123 s:0018 b:0018 l:000017 d:000017 METHOD <internal:gem_prelude>:158
c:0005 p:0017 s:0015 b:0015 l:000014 d:000014 METHOD <internal:gem_prelude>:270
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 FINISH
c:0003 p:0045 s:0009 b:0009 l:000324 d:000940 EVAL   /home/bene/.rvm/rubies/ruby-1.9.2-head/bin/gem:12
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000324 d:000324 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
/home/bene/.rvm/rubies/ruby-1.9.2-head/bin/gem:12:in `<main>'
<internal:gem_prelude>:270:in `const_missing'
<internal:gem_prelude>:158:in `load_full_rubygems_library'
<internal:gem_prelude>:158:in `require'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:102:in `<top (required)>'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:123:in `<module:Gem>'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:123:in `require'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:5:in `<top (required)>'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:213:in `<module:RbConfig>'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:213:in `each_value'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:214:in `block in <module:RbConfig>'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:210:in `expand'
/home/bene/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/i686-linux/rbconfig.rb:210:in `replace'

-- C level backtrace information -------------------------------------------
ruby(rb_vm_bugreport+0xa5) [0x8160415]
ruby() [0x819e759]
ruby(rb_bug+0x28) [0x819e808]
ruby() [0x80f33e8]
[0xb7701410]
ruby() [0x80685ff]
ruby(st_foreach+0x9e) [0x80fb13e]
ruby() [0x8067c76]
ruby() [0x80686e8]
ruby(st_foreach+0x9e) [0x80fb13e]
ruby() [0x8067bc3]
ruby() [0x80686e8]
ruby(st_foreach+0x9e) [0x80fb13e]
ruby() [0x8067bc3]
ruby() [0x80686e8]
ruby(st_foreach+0x40) [0x80fb0e0]
ruby() [0x8067bc3]
ruby() [0x80686e8]
ruby(st_foreach+0x40) [0x80fb0e0]
ruby() [0x8067bc3]
ruby() [0x806796f]
ruby() [0x806796f]
ruby() [0x80686e8]
ruby(st_foreach+0x40) [0x80fb0e0]
ruby() [0x8067bc3]
ruby() [0x80686e8]
ruby(st_foreach+0x40) [0x80fb0e0]
ruby() [0x8067bc3]
ruby() [0x806796f]
ruby() [0x806796f]
ruby() [0x806796f]
ruby() [0x806796f]
ruby() [0x806a0d2]
ruby(rb_newobj+0x3e) [0x806a48e]
ruby() [0x8101102]
ruby(rb_str_new_frozen+0x91) [0x8101481]
ruby() [0x8101880]
ruby() [0x81019bf]
ruby(rb_str_replace+0x108) [0x8106b48]
ruby() [0x8157131]
ruby() [0x8159508]
ruby() [0x815ce06]
ruby(rb_yield+0x50) [0x815e4b0]
ruby() [0x806c527]
ruby() [0x806c96e]
ruby(st_foreach+0x9e) [0x80fb13e]
ruby() [0x806d022]
ruby(rb_ensure+0x81) [0x805dd41]
ruby() [0x806e46e]
ruby() [0x8157131]
ruby() [0x8159508]
ruby() [0x815ce06]
ruby(rb_iseq_eval+0x117) [0x815d317]
ruby() [0x81a0cba]
ruby(rb_require_safe+0x54a) [0x81a233a]
ruby() [0x8157131]
ruby() [0x8159508]
ruby() [0x815ce06]
ruby(rb_iseq_eval+0x117) [0x815d317]
ruby() [0x81a0cba]
ruby(rb_require_safe+0x54a) [0x81a233a]
ruby() [0x8157131]
ruby() [0x8159508]
ruby() [0x815ce06]
ruby() [0x815120d]
ruby(rb_funcall+0x9a) [0x8151b8a]
ruby() [0x813824e]
ruby() [0x8150882]
ruby() [0x81578cb]
ruby() [0x815ce06]
ruby(rb_iseq_eval_main+0x1b8) [0x815d1c8]
ruby() [0x805e272]
ruby(ruby_run_node+0x32) [0x805fa82]
ruby(main+0x5a) [0x805d4aa]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb752dbd6]
ruby() [0x805d3b1]

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

/home/bene/.rvm/scripts/utility: line 174: 19353 Aborted


----------------------------------------
http://redmine.ruby-lang.org