Bug #5263
closedRuby crash when installing yard-0.7.2 installation
Description
$ sudo gem install yard
Successfully installed yard-0.7.2
1 gem installed
/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard.rb:38: [BUG] Bus Error
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
-- control frame ----------
c:0019 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC :callcc
c:0018 p:0080 s:0071 b:0071 l:001a20 d:001a20 TOP /usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard.rb:38
c:0017 p:---- s:0068 b:0068 l:000067 d:000067 FINISH
c:0016 p:---- s:0066 b:0066 l:000065 d:000065 CFUNC :require
c:0015 p:0053 s:0062 b:0062 l:000b98 d:000b98 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36
c:0014 p:0030 s:0055 b:0055 l:001b58 d:001b58 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/doc_manager.rb:5
c:0013 p:0162 s:0052 b:0052 l:0004f8 d:0004f8 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/doc_manager.rb:42
c:0012 p:0011 s:0049 b:0049 l:001058 d:001058 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:115
c:0011 p:0037 s:0046 b:0046 l:000e90 d:000f00 BLOCK /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:148
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :each
c:0008 p:0200 s:0038 b:0038 l:000e90 d:000e90 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147
c:0007 p:0076 s:0032 b:0032 l:000510 d:000510 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278
c:0006 p:0193 s:0028 b:0028 l:001380 d:001380 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147
c:0005 p:0013 s:0022 b:0022 l:0013b8 d:0013b8 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117
c:0004 p:0178 s:0017 b:0017 l:002080 d:002080 METHOD /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65
c:0003 p:0164 s:0009 b:0009 l:000aa8 d:0014f0 EVAL /usr/local/bin/gem:21
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000aa8 d:000aa8 TOP
-- Ruby level backtrace information ----------------------------------------
/usr/local/bin/gem:21:in <main>' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in
run'
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in run' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in
process_args'
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in invoke' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in
execute'
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:147:in each' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:148:in
block in execute'
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:115:in generate_ri' /usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/doc_manager.rb:42:in
setup_rdoc'
/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard/rubygems/doc_manager.rb:5:in load_yardoc' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' /usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard.rb:38:in
<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard.rb:38:in `callcc'
-- C level backtrace information -------------------------------------------
0 ruby 0x000000010830962e rb_vm_bugreport + 110
1 ruby 0x00000001081fe283 report_bug + 259
2 ruby 0x00000001081fe3f1 rb_bug + 161
3 ruby 0x00000001082a0542 sigbus + 18
4 libsystem_c.dylib 0x00007fff83f07cfa _sigtramp + 26
5 ??? 0x0000000108500848 0x0 + 4434430024
[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
Files