[MacRuby] #1308: MacRuby does not invoke a free function which was specified in Data_Wrap_Struct().

MacRuby ruby-noreply at macosforge.org
Tue Jun 28 17:39:56 PDT 2011


#1308: MacRuby does not invoke a free function which was specified in
Data_Wrap_Struct().
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:  0.11-blocker         
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 I see the following crash when running the nokogiri example:

 {{{
 Thread 3 Crashed:  Dispatch queue: Garbage Collection Work Queue
 0   libmacruby.1.9.2.dylib              0x00000001000b52e1 st_foreach + 81
 (st.c:638)
 1   nokogiri.bundle                     0x0000000105796bda dealloc + 58
 (xml_document.c:31)
 2   libmacruby.1.9.2.dylib              0x000000010003cf00 rdata_finalize
 + 32 (gc.c:432)
 3   libobjc.A.dylib                     0x00007fff82771f67
 finalizeOneObject + 48
 4   libauto.dylib                       0x00007fff8701d3d5
 Auto::foreach_block_do(auto_zone_cursor*, void (*)(void*, void*), void*) +
 85
 5   libobjc.A.dylib                     0x00007fff82771b5c batchFinalize +
 64
 6   libauto.dylib                       0x00007fff87017137
 Auto::Zone::invalidate_garbage(unsigned long, unsigned long const*) + 71
 7   libauto.dylib                       0x00007fff87007b21
 auto_collect_internal(Auto::Zone*, unsigned int) + 481
 8   libauto.dylib                       0x00007fff870080bd
 auto_collection_work(Auto::Zone*) + 157
 9   libSystem.B.dylib                   0x00007fff8246b284
 _dispatch_call_block_and_release + 15
 10  libSystem.B.dylib                   0x00007fff82449df2
 _dispatch_queue_drain + 251
 11  libSystem.B.dylib                   0x00007fff82449c54
 _dispatch_queue_invoke + 57
 12  libSystem.B.dylib                   0x00007fff824497fe
 _dispatch_worker_thread2 + 252
 13  libSystem.B.dylib                   0x00007fff82449128
 _pthread_wqthread + 353
 14  libSystem.B.dylib                   0x00007fff82448fc5 start_wqthread
 + 13
 }}}

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



More information about the macruby-tickets mailing list