[MacRuby-devel] [MacRuby] #364: priority queue program crashes MacRuby
MacRuby
ruby-noreply at macosforge.org
Tue Oct 6 11:36:41 PDT 2009
#364: priority queue program crashes MacRuby
-------------------------------------+--------------------------------------
Reporter: jordan.breeding@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
So, I have been trying to track down a crash in MacRuby for some time. The
crash is inside of a priority queue program I wrote earlier this year for
an artificial intelligence class. In MacRuby 0.4 the program was non-
deterministic but would run. Under MacRuby 0.5 (trunk) it currently
doesn't run at all, crashing instead.
crash text:
{{{
126 jordan at thetourist ...tificial Intelligence/Assignment No.
1/priority_queue_bug > ./search.cocoa -m -c a-star
input_files/input13_7.txt
uncaught Objective-C/C++ exception...
terminate called after throwing an instance of
'RoxorReturnFromBlockException*'
zsh: abort ./search.cocoa -m -c a-star input_files/input13_7.txt
}}}
The current search.cocoa file will only run under MacRuby, but it could
probably be made to work on RubyCocoa.
search.pqueue will work under Ruby 1.8.6 and Ruby 1.9, but crash with the
same error under MacRuby.
I originally wanted to narrow this down to a smaller, more management test
case that could easily be turned into a test for MacRuby's test suite, but
everything I try works as a small test even though the original larger
program crashes.
Since I have had no luck tracking this down for sometime I am just
uploading it as a bug.
--
Ticket URL: <http://www.macruby.org/trac/ticket/364>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list