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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to