[MacRuby] #1375: GC doesn't like Hello World
#1375: GC doesn't like Hello World -------------------------+-------------------------------------------------- Reporter: emil@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: gc -------------------------+-------------------------------------------------- Hello World example works, but the GC doesn't seem happy when you click the hello world button: $ curl https://raw.github.com/mattetti/MacRuby--The-Definitive- Guide/master/chapter_1/hello_world.rb > hello_world.rb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1074 100 1074 0 0 2152 0 --:--:-- --:--:-- --:--:-- 2658 $ macruby hello_world.rb Hello World! macruby(52532,0x10de04000) malloc: *** auto malloc[52532]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug. Running os x 10.7 with MacRuby 0.10 installed from binary. -- Ticket URL: <http://www.macruby.org/trac/ticket/1375> MacRuby <http://macruby.org/>
#1375: GC doesn't like Hello World -------------------------+-------------------------------------------------- Reporter: emil@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: gc -------------------------+-------------------------------------------------- Comment(by watson1978@…): I rewrote a hello_world app by Objective-C. (enabled Objective-C's Garbage Collector) Similarly MacRuby app, this application prints a GC error message as following. {{{ hello_world(15357,0x108b39000) malloc: *** auto malloc[15357]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug. }}} Is this Apple's framework issues? -- Ticket URL: <http://www.macruby.org/trac/ticket/1375#comment:1> MacRuby <http://macruby.org/>
#1375: GC doesn't like Hello World -------------------------+-------------------------------------------------- Reporter: emil@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: wontfix Keywords: gc | -------------------------+-------------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => wontfix * milestone: MacRuby 0.11 => Comment: Good catch Watson, it looks like a bug in one of Mac OS X's frameworks, not in MacRuby itself. Closing the ticket as wontfix, the bug reporter should file an Apple bug: http://bugreporter.apple.com -- Ticket URL: <http://www.macruby.org/trac/ticket/1375#comment:2> MacRuby <http://macruby.org/>
#1375: GC doesn't like Hello World -------------------------+-------------------------------------------------- Reporter: emil@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: wontfix Keywords: gc | -------------------------+-------------------------------------------------- Comment(by emil@…): bug reported to apple on http://bugreporter.apple.com -- Ticket URL: <http://www.macruby.org/trac/ticket/1375#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby