[MacRuby-devel] Another Cucumber Related Bug

M. Scott Ford scott at vaderpi.com
Thu Feb 12 11:01:48 PST 2009


One more piece of data. The module that is being extended does not  
matter. The following block dies the same way.

fred = Module.new
args = []
args.extend(fred)
args.clear

On Feb 12, 2009, at 1:56 PM, M. Scott Ford wrote:

> Hello,
>
> The following block of code generates a segmentation fault. I am  
> going to try to track down where it is coming from. Commenting out  
> the args.extend line will prevent the failure.
>
> I am going to digg in and try to figure out what is wrong, but I  
> thought that an extra pair of eyes would be nice. Especially since I  
> have no idea where to start. :) Any tips?
>
> require 'optparse'
> args = []
> args.extend(OptionParser::Arguable)
> args.clear
>
> -Scott
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list