[MacRuby] #306: NSPredicate.predicateWithFormat crashes with Segmentation fault
#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/>
#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 ------------------------+--------------------------------------------------- Comment(by lsansonetti@…): Most likely a bug with variadic methods, since NSLog seems to suffer from the same problem. -- Ticket URL: <http://www.macruby.org/trac/ticket/306#comment:1> MacRuby <http://macruby.org/>
#306: NSPredicate.predicateWithFormat crashes with Segmentation fault -------------------------+-------------------------------------------------- Reporter: dev@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: NSPredicate | -------------------------+-------------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r2694. -- Ticket URL: <http://www.macruby.org/trac/ticket/306#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby