[MacRuby-devel] [MacRuby] #160: Opening a TCPSocket causes GC exception

MacRuby ruby-noreply at macosforge.org
Tue Nov 11 20:22:37 PST 2008


#160: Opening a TCPSocket causes GC exception
---------------------------------+------------------------------------------
 Reporter:  jamis at 37signals.com  |        Owner:  lsansonetti at apple.com
     Type:  defect               |       Status:  new                  
 Priority:  major                |    Milestone:                       
Component:  MacRuby              |   Resolution:                       
 Keywords:  ext socket           |  
---------------------------------+------------------------------------------

Comment(by jamis at 37signals.com):

 I managed to track it down to rb_fd_init in thread.c, the call to GC_WB,
 when rb_fd_init is called via wait_connectable in socket.c, called via
 ruby_connect (also in socket.c). I'm afraid I don't know the auto_zone API
 at all, so I'm unsure of how to proceed, but maybe this will save someone
 a little time investigating.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/160#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list