[MacRuby-devel] [MacRuby] #306: NSPredicate.predicateWithFormat crashes with Segmentation fault

MacRuby ruby-noreply at macosforge.org
Sat Aug 8 02:44:58 PDT 2009


#306: NSPredicate.predicateWithFormat crashes with Segmentation fault
------------------------+---------------------------------------------------
 Reporter:  dev@…       |       Owner:  lsansonetti@…        
     Type:  defect      |      Status:  new                  
 Priority:  major       |   Milestone:  MacRuby 0.5          
Component:  MacRuby     |    Keywords:  NSPredicate          
------------------------+---------------------------------------------------
 {{{
 macruby -e "framework 'Cocoa'; p NSPredicate.predicateWithFormat(%q/a ==
 'b'/)"
 }}}

 causes (in most of the cases) the following result:

 {{{
 unknown: [BUG] Segmentation fault
 MacRuby version 0.5 (ruby 1.9.0) [universal-darwin9.0, x86_64]

 Abort trap
 }}}

 In some rare cases it works:

 {{{
 #<NSComparisonPredicate:0x80030c440>
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/306>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list