[MacRuby-devel] error: gc operation on unregistered thread

Laurent Sansonetti lsansonetti at apple.com
Wed Feb 9 17:14:16 PST 2011


It is not a MacRuby problem. This message is triggered by the GC when an operation (allocation, collection, whatever) happens on a thread that has not been registered. I suspect macfuse spawns new pthreads without calling the objc_registerThreadWithCollector() function.

Laurent

On Feb 9, 2011, at 4:43 PM, Joel Reymont wrote:

> I get a bunch of errors like this when running the hellofs MacFUSE example [1]:
> 
> macruby(25346,0x107082000) malloc: *** auto malloc[25346]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
> 
> Is this a MacRuby problem? How do I fix it?
> 
> 	Thanks, Joel
> 
> [1] http://www.macruby.org/trac/ticket/922
> 
> --------------------------------------------------------------------------
> - mac osx device driver ninja, kernel extensions and user-land usb drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110209/3f9368c4/attachment.html>


More information about the MacRuby-devel mailing list