[MacRuby] #1003: Copied Proc objects cause crash when used as Objective-C blocks
MacRuby
ruby-noreply at macosforge.org
Sat Nov 20 03:01:05 PST 2010
#1003: Copied Proc objects cause crash when used as Objective-C blocks
----------------------------------+-----------------------------------------
Reporter: al_skipp@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by martinlagardette@…):
That's just a guess, but I think MacRuby is creating the wrong type of
block:
{{{
## Objective-C block
2010-11-20 11:58:46.104 CallObjectiveCBlocks[44528:a0f] Block:
<__NSGlobalBlock__: 0x100001240>
## Ruby block
2010-11-20 11:58:46.111 CallObjectiveCBlocks[44528:a0f] Block:
<__NSAutoBlock__: 0x2009e7620>
}}}
It may be that auto means "auto-released", in which case it would be the
reason.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1003#comment:3>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list