Hi Michael, It's likely not a problem in your code neither in MacRubyi (I hope!), but in a framework you use. This warning typically happen when a native thread makes use of the GC without being registered. Do you use any 3rd party framework in your app?
In any case, try setting a breakpoint on auto_zone_thread_registration_error in Xcode, run your app, and once it breaks type "bt". It should tell you where exactly the problem is. Laurent On Jul 27, 2010, at 9:08 AM, Michael Jackson wrote: > Hi all, > > I'm getting a malloc error every time I run my app. Here's what I'm > getting in the console: > > Running… > Bottlefly(45475,0x116a20000) malloc: *** auto malloc[45475]: error: GC > operation on unregistered thread. Thread registered implicitly. Break > on auto_zone_thread_registration_error() to debug. > > Being a Ruby developer and not familiar with C debugging techniques, > I'm a bit lost as to what to do to track down this bug. I noticed > there's another thread going on right now, but with a slightly > different error. Does this seem like something that may be fixed in > trunk? > > -- > Michael Jackson > http://mjijackson.com > @mjijackson > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel