[MacRuby] #1200: stringWithFormat seg faults when %@ is used
#1200: stringWithFormat seg faults when %@ is used -------------------------------------+-------------------------------------- Reporter: aliabbasrizvi@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.10 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- irb(main):002:0> NSString.stringWithFormat("X %@", "abc") Segmentation fault -- Ticket URL: <http://www.macruby.org/trac/ticket/1200> MacRuby <http://macruby.org/>
#1200: stringWithFormat seg faults when %@ is used -------------------------------------+-------------------------------------- Reporter: aliabbasrizvi@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: Component: MacRuby | Resolution: wontfix Keywords: | -------------------------------------+-------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => wontfix * milestone: MacRuby 0.10 => Comment: You need to load the Foundation framework before. {{{ $ ./miniruby -e "p NSString.stringWithFormat('foo %@', 'bar')" Segmentation fault: 11 $ ./miniruby -e "framework 'Foundation'; p NSString.stringWithFormat('foo %@', 'bar')" "foo bar" }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1200#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby