[MacRuby] #815: Macrake crashes at initialization
MacRuby
ruby-noreply at macosforge.org
Tue Aug 10 12:41:05 PDT 2010
#815: Macrake crashes at initialization
-------------------------------+--------------------------------------------
Reporter: legrand@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
Comment(by martinlagardette@…):
The problem comes from the fact that the `-copy` selector is overridden on
NSObject by Rake, which causes some problems when comes the time to handle
exceptions. Because we use Obj-C exceptions and some Obj-C methods, some
`-copy` messages are sent to the object, which goes through the MacRuby-
defined `-copy` implementation, instead of the original implementation.
What this means is that whenever rake and exceptions are involved and it
crashes, you can be sure the reason is this bug :D (#839 and #840 deal
with exceptions with rake, and they are duplicate of this bug).
--
Ticket URL: <http://www.macruby.org/trac/ticket/815#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list