error: gc operation on unregistered thread
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 ---------------------+------------+---------------------------------------
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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Joel Reymont
-
Laurent Sansonetti