Bug #3105: seg faults and bus errors with ruby 1.8.7 p249
http://redmine.ruby-lang.org/issues/show/3105

Author: Greg Ferguson
Status: Open, Priority: Normal
ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]

I am seeing a lot of segmentation faults and bus errors when running 

    gem rdoc --all --overwrite

with my rvm installed ruby 1.8.7 p249 instance.

Ruby is reporting these errors repeatedly:

/Users/greg/.rvm/gems/ruby-1.8.7-p249/gems/rdoc-2.5/lib/rdoc/ri/store.rb:121: [BUG] Segmentation fault
/Users/greg/.rvm/gems/ruby-1.8.7-p249/gems/rdoc-2.5/lib/rdoc/ri/store.rb:224: [BUG] Segmentation fault
/Users/greg/.rvm/gems/ruby-1.8.7-p249/gems/rdoc-2.5/lib/rdoc/ri/store.rb:243: [BUG] Bus Error

All three errors appear to be in Marshal.

Here's the shell script I ran to get the attached output log.

#!/bin/sh
for i in `gem list | awk '{print $1}' | sort`
do
    gem rdoc --overwrite $i
done

Let me know if there is anything else you need to know.


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