[MacRuby-devel] [MacRuby] #447: GCD Crashes
MacRuby
ruby-noreply at macosforge.org
Sun Nov 22 16:27:45 PST 2009
#447: GCD Crashes
------------------------------+---------------------------------------------
Reporter: pete@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
------------------------------+---------------------------------------------
I've been playing with the GCD support in 0.5, and I can get it to
misbehave consistently with a fairly simple script (attached.)
Various things happen when this script is run. Sometimes I get a crash
with the assertion below, sometimes I get a seg fault.
Assertion failed: ((arity.max == -1) | | (argc <= arity.max)), function
!__rb_vm_fix_args, file dispatcher.cpp, line 29.
Sometimes it runs mostly ok, but spits out NaN instead of the correct
value at random intervals.
Something to do with the block being prematurely garbage collected
perhaps?
--
Ticket URL: <http://www.macruby.org/trac/ticket/447>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list