Phil Ross wrote:
> It looks like a fix for the segmentation faults was committed on 21 June
> (revision 17530 in the ruby_1_8 branch):
> 
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17530
> 
> Note that this change is only in the ruby_1_8 branch. It hasn't been
> applied to the separate branches for 1.8.5, 1.8.6 and 1.8.7.
> 
> I've applied the change to 1.8.6-p230 and I'm no longer getting the
> segmentation faults in my Rails app. I haven't tested the change with
> 1.8.5 or 1.8.7.
> 
> The patch I applied to 1.8.6-p230 is available at:
> 
> http://files.philross.co.uk/ruby/ruby-1.8.6-p230-fix.patch
> 
> This just consists of revision 17530 with the change to ChangeLog
> adjusted to apply cleanly.

Phil, thanks for posting the link and patch.

Unfortunately, this patched version fails with segmentation faults when 
applied to 1.8.6-p230 and run against RSpec 1.1.4's test suite:

  lib/spec/example/example_group_methods.rb:384: [BUG] Segmentation 
fault

The 1.8.6-p111 version doesn't segfault.

Therefore, please consider another solution.

-igal
-- 
Posted via http://www.ruby-forum.com/.