[MacRuby] #749: Regexp issues / crashes affecting StringScanner

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 13:39:36 PST 2010


#749: Regexp issues / crashes affecting StringScanner
------------------------------------+---------------------------------------
 Reporter:  kitchen.andy@…          |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  minor                   |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------

Comment(by mattaimonetti@…):

 I can still reproduce the problem with the following stack trace:

 {{{

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0000007300000018
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:
 objc[47662]: garbage collection is ON

 Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
 0   libicucore.A.dylib                  0x00007fff89085048
 icu::RegexMatcher::~RegexMatcher() + 106
 1   libicucore.A.dylib                  0x00007fff890bb7e3 uregex_find +
 136
 2   libicucore.A.dylib                  0x00007fff890bc4a7 uregex_close +
 35
 3   libmacruby.dylib                    0x00000001000b9631
 rb_unicode_regex_new_retained + 673
 4   libmacruby.dylib                    0x00000001000b976e
 rb_unicode_regex_new_retained + 990
 5   libmacruby.dylib                    0x000000010014a6f5 rb_vm_dispatch
 + 6981
 6   ???                                 0x0000000100ef7bbc 0 + 4310662076
 7   ???                                 0x0000000100ef8f5b 0 + 4310667099
 8   libmacruby.dylib                    0x000000010014acad rb_vm_dispatch
 + 8445
 9   ???                                 0x0000000100ef7bbc 0 + 4310662076
 10  ???                                 0x0000000100ef8a46 0 + 4310665798
 11  libmacruby.dylib                    0x000000010014ad2b rb_vm_dispatch
 + 8571
 12  ???                                 0x0000000100ef7bbc 0 + 4310662076
 13  ???                                 0x0000000100ef73b1 0 + 4310660017
 14  libmacruby.dylib                    0x0000000100161ca3 rb_vm_run + 531
 15  libmacruby.dylib                    0x00000001000406f0 ruby_run_node +
 80
 16  macruby                             0x0000000100000d28 main + 152
 17  macruby                             0x0000000100000c88 start + 52

 Thread 1:
 0   libSystem.B.dylib                   0x00007fff8355ef8a
 __workq_kernreturn + 10
 1   libSystem.B.dylib                   0x00007fff8355f39c
 _pthread_wqthread + 917
 2   libSystem.B.dylib                   0x00007fff8355f005 start_wqthread
 + 13

 Thread 0 crashed with X86 Thread State (64-bit):
   rax: 0x0000000102e99908  rbx: 0x0000000102e99890  rcx:
 0x00007fff70435630  rdx: 0x00000000001f8100
   rdi: 0x0000007300000018  rsi: 0x0000000102e00000  rbp:
 0x00007fff5fbfc210  rsp: 0x00007fff5fbfc200
    r8: 0x0000000000000001   r9: 0x0000000102e99960  r10:
 0x0000000102e96920  r11: 0x0000000000000008
   r12: 0x0000000000000073  r13: 0x0000000000000000  r14:
 0x0000000000000000  r15: 0x000000020005f600
   rip: 0x00007fff89085048  rfl: 0x0000000000010206  cr2:
 0x0000007300000018
 }}}

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



More information about the macruby-tickets mailing list