[MacRuby] #1421: GC operation on unregistered thread. Thread registered implicitly.

MacRuby ruby-noreply at macosforge.org
Fri Nov 18 15:03:18 PST 2011


#1421: GC operation on unregistered thread. Thread registered implicitly.
-------------------------------------+--------------------------------------
 Reporter:  florian.hanke@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  minor                    |   Milestone:                       
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 I've been having the above output in James:
 https://github.com/floere/james/issues/12
 It continues to run, but it is unsettling to use and keeps generating
 Github issues.

 The problem is very well described and discussed, including a solution:
 http://www.cocoabuilder.com/archive/cocoa/294771-thread-not-registered-
 mystery-under-gc.html

 The solution seems to be to call objc_registerThreadWithCollector() from
 the thread that wants to be GCed (if that is indeed the problem).

 Thanks!

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1421>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list