[MacRuby] #1050: Segfault occurs with Rake::namespace.
MacRuby
ruby-noreply at macosforge.org
Wed Dec 15 19:02:39 PST 2010
#1050: Segfault occurs with Rake::namespace.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 1.0
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):
* milestone: => MacRuby 1.0
Comment:
Quickly looking inside gcd, we are calling a stub generated by
#define_method with the wrong calling convention. The stub is supposed to
accept 4 arguments (self, sel, argc, argv), arity -1, but we call it
passing (self, sel and array), arity -2. Therefore, argc has an incorrect
value which leads to this memory error.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1050#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list