Projects

Ticket #364 (closed defect: duplicate)

Opened 2 years ago

Last modified 23 months ago

priority queue program crashes MacRuby

Reported by: jordan.breeding@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.5
Component: MacRuby Keywords:
Cc:

Description

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@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.

Attachments

priority_queue_bug.zip Download (111.2 KB) - added by jordan.breeding@… 2 years ago.

Change History

Changed 2 years ago by jordan.breeding@…

Changed 2 years ago by jordan.breeding@…

I think that #412 might actually be a valid reduction for this ticket as well.

Changed 2 years ago by jordan.breeding@…

#412 does fix this one, this one can be closed.

Changed 23 months ago by martinlagardette@…

  • status changed from new to closed
  • resolution set to duplicate
Note: See TracTickets for help on using tickets.