[MacRuby] #1074: Abort occurs when install the rubygems.

MacRuby ruby-noreply at macosforge.org
Wed Dec 29 14:41:28 PST 2010


#1074: Abort occurs when install the rubygems.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by justin@…):

 I've also been running into this malloc error in my own codebase, which
 makes heavy use of regular expressions.  I have been trying to create an
 isolated piece of code to reproduce the problem but have been unable to so
 far.  I have seen it occur with MacRuby 0.6, 0.7 and 0.8.

 Here is a stack trace from 0.6, looking very similar to Thread 2 of
 lsansonetti's comment above.  This might rule out the bug being caused by
 recent changes...

 Thread 3 (process 61841):
 #0  0x90a88f82 in malloc_error_break ()
 #1  0x90a8a12c in szone_error ()
 #2  0x90a8a29f in free_list_checksum_botch ()
 #3  0x9099a4ae in tiny_free_list_remove_ptr ()
 #4  0x90999664 in szone_free_definite_size ()
 #5  0x90998be8 in free ()
 #6  0x93f13823 in icu::UnicodeSet::~UnicodeSet ()
 #7  0x93fd93fe in icu::RegexPattern::zap ()
 #8  0x93fd9450 in icu::RegexPattern::~RegexPattern ()
 #9  0x0014628a in regexp_finalize [inlined] () at
 /Users/justin/Documents/Thinkingtree/Projects/MacRuby-0.6/re.cpp:77
 #10 0x0014628a in regexp_finalize_imp (rcv=0x2ae8700, sel=0x991c0be0) at
 re.cpp:91
 #11 0x90bcd74d in finalizeOneObject ()
 #12 0x91869502 in Auto::foreach_block_do ()
 #13 0x90bcd3ce in batchFinalize ()
 #14 0x90bcd452 in batchFinalizeOnTwoThreads ()
 #15 0x91862d69 in Auto::Zone::invalidate_garbage ()
 #16 0x9189126a in __process_local_garbage_block_invoke_5 ()
 #17 0x909c6024 in _dispatch_call_block_and_release ()
 #18 0x909b8a8c in _dispatch_queue_drain ()
 #19 0x909b84e8 in _dispatch_queue_invoke ()
 #20 0x909b82fe in _dispatch_worker_thread2 ()
 #21 0x909b7d81 in _pthread_wqthread ()
 #22 0x909b7bc6 in start_wqthread ()

 Here it is again occurring in 0.8:


 Thread 3 (process 13540):
 #0  0x90a88f82 in malloc_error_break ()
 #1  0x90a8a12c in szone_error ()
 #2  0x90a8a29f in free_list_checksum_botch ()
 #3  0x9099948a in szone_free_definite_size ()
 #4  0x90998be8 in free ()
 #5  0x93f88621 in icu::UVector32::~UVector32 ()
 #6  0x93fd937c in icu::RegexPattern::zap ()
 #7  0x93fd9450 in icu::RegexPattern::~RegexPattern ()
 #8  0x9400f8ea in uregex_find ()
 #9  0x940105c1 in uregex_close ()
 #10 0x0014c87a in rb_char_to_icu_option ()
 #11 0x90bcd74d in finalizeOneObject ()
 #12 0x91869502 in Auto::foreach_block_do ()
 #13 0x90bcd3ce in batchFinalize ()
 #14 0x90bcd452 in batchFinalizeOnTwoThreads ()
 #15 0x91862d69 in Auto::Zone::invalidate_garbage ()
 #16 0x9189126a in __process_local_garbage_block_invoke_5 ()
 #17 0x909c6024 in _dispatch_call_block_and_release ()
 #18 0x909b8a8c in _dispatch_queue_drain ()
 #19 0x909b84e8 in _dispatch_queue_invoke ()
 #20 0x909b82fe in _dispatch_worker_thread2 ()
 #21 0x909b7d81 in _pthread_wqthread ()
 #22 0x909b7bc6 in start_wqthread ()

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



More information about the macruby-tickets mailing list