Bug #2062
closedBUS Error on Kernel#gem
Description
=begin
According to nobu, the following code causes Bus Error.
gem("rdoc", ">=2.2.2")
This is a showstopper for Ruby 1.9.2 preview2. Ruby 1.9.2 preview2 will be soon released after this bug will be fixed.
=end
Updated by runpaint (Run Paint Run Run) over 15 years ago
=begin
Confirmed.
$ ruby -ve 'gem("rdoc", ">=2.2.2")'
ruby 1.9.2dev (2009-09-05 trunk 24762) [i686-linux]
internal:gem_prelude:143: warning: method redefined; discarding old dir
internal:gem_prelude:143: warning: method redefined; discarding old path
internal:gem_prelude:143: warning: method redefined; discarding old post_install
internal:gem_prelude:143: warning: method redefined; discarding old post_uninstall
internal:gem_prelude:143: warning: method redefined; discarding old pre_install
internal:gem_prelude:143: warning: method redefined; discarding old pre_uninstall
internal:gem_prelude:143: warning: method redefined; discarding old set_home
internal:gem_prelude:143: warning: method redefined; discarding old set_paths
internal:gem_prelude:143: warning: method redefined; discarding old user_home
internal:gem_prelude:143: warning: method redefined; discarding old default_sources
internal:gem_prelude:143: warning: method redefined; discarding old default_dir
internal:gem_prelude:143: warning: method redefined; discarding old user_dir
internal:gem_prelude:143: warning: method redefined; discarding old default_path
internal:gem_prelude:143: warning: method redefined; discarding old default_exec_format
internal:gem_prelude:143: warning: method redefined; discarding old default_bindir
internal:gem_prelude:143: warning: method redefined; discarding old default_system_source_cache_dir
internal:gem_prelude:143: warning: method redefined; discarding old default_user_source_cache_dir
internal:gem_prelude:143: warning: method redefined; discarding old ruby_engine
internal:gem_prelude:150: warning: method redefined; discarding old gem
/usr/local/lib/ruby/1.9.1/rubygems.rb:1093: [BUG] Segmentation fault
ruby 1.9.2dev (2009-09-05 trunk 24762) [i686-linux]
-- control frame ----------
c:0010 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :require
c:0009 p:0209 s:0032 b:0032 l:000031 d:000031 TOP /usr/local/lib/ruby/1.9.1/rubygems.rb:1093
c:0008 p:---- s:0029 b:0029 l:000028 d:000028 FINISH
c:0007 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC :require
c:0006 p:0092 s:0023 b:0023 l:000022 d:000022 METHOD internal:gem_prelude:159
c:0005 p:0314 s:0020 b:0020 l:000019 d:000019 METHOD internal:gem_prelude:213
c:0004 p:38898153 s:0011 b:0011 l:000010 d:000010 METHOD
c:0003 p:0013 s:0006 b:0006 l:00194c d:00187c EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00194c d:00194c TOP
-e:1:in `'
Segmentation fault
=end
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r24790.
=end