On 6/24/08, Kornelius Kalnbach <murphy / rubychan.de> wrote:
>  r17222 | shyouhei | 2008-06-15 14:06:33 +0200 (Sun, 15 Jun 2008)
>
>  merge revision(s) 15856:
>         * class.c (clone_method): should copy cref as well.
>           [ruby-core:15833]
>
>  makes my Ruby produce weird errors. I don't know how to fix it, and since
> it happens deep within Rails, I can't provide a simple test file.
>  this is the output:
>
>  Loaded suite test/functional/characters_controller_test
>  Started
>  ..(eval):2: [BUG] Bus Error
>  ruby 1.8.6 (2008-06-15) [i686-darwin9.3.0]

All available official versions of Ruby either suffer from
vulnerabilities or defects like the ones you encountered.

There are currently two unofficial patches submitted by ruby-talk
members that seem to fix these problems:
* http://www.ruby-forum.com/topic/157034#693292
* http://www.ruby-forum.com/topic/157034#693303

I've personally confirmed that both of these pass the RubySpec, Ruby
on Rails 2.0 and RSpec 1.1.4 test suites just as well as 1.8.6p111.

Please join the existing discussion at ruby-talk or the online thread
at http://www.ruby-forum.com/topic/157034

Thanks.

-igal