[MacRuby-devel] [MacRuby] #480: NSArray.alloc.initWithObjects('-i', nil) seg faults

MacRuby ruby-noreply at macosforge.org
Wed Dec 2 20:00:40 PST 2009


#480: NSArray.alloc.initWithObjects('-i', nil) seg faults
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
Description changed by mattaimonetti@…:

Old description:

> {{{macruby -e "p NSArray.alloc.initWithObjects('-i', nil)"
> Segmentation fault
> }}}
>

> {{{
> Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
> 0   com.apple.CoreFoundation            0x00007fff85f46604
> __CFTypeCollectionRetain + 84
> 1   com.apple.CoreFoundation            0x00007fff85f461b2 CFArrayCreate
> + 242
> 2   com.apple.CoreFoundation            0x00007fff85f9b356
> -[__NSPlaceholderArray initWithObjects:count:] + 486
> 3   com.apple.CoreFoundation            0x00007fff85fa0b31 -[NSArray
> initWithObjects:] + 449
> 4   ???                                 0x00000001011001ac 0 + 4312793516
> 5   ???                                 0x00000001011000cb 0 + 4312793291
> 6   libmacruby.dylib                    0x0000000100040ef9 ruby_run_node
> + 73 (eval.c:199)
> 7   macruby                             0x0000000100000dd8 main + 152
> (main.cpp:42)
> 8   macruby                             0x0000000100000d34 start + 52
>
> Thread 1:
> 0   libSystem.B.dylib                   0x00007fff867729da
> __workq_kernreturn + 10
> 1   libSystem.B.dylib                   0x00007fff86772dec
> _pthread_wqthread + 917
> 2   libSystem.B.dylib                   0x00007fff86772a55 start_wqthread
> + 13
> }}}

New description:

 {{{
 macruby -e "p NSArray.alloc.initWithObjects('-i', nil)"
 Segmentation fault
 }}}


 {{{
 Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
 0   com.apple.CoreFoundation            0x00007fff85f46604
 __CFTypeCollectionRetain + 84
 1   com.apple.CoreFoundation            0x00007fff85f461b2 CFArrayCreate +
 242
 2   com.apple.CoreFoundation            0x00007fff85f9b356
 -[__NSPlaceholderArray initWithObjects:count:] + 486
 3   com.apple.CoreFoundation            0x00007fff85fa0b31 -[NSArray
 initWithObjects:] + 449
 4   ???                                 0x00000001011001ac 0 + 4312793516
 5   ???                                 0x00000001011000cb 0 + 4312793291
 6   libmacruby.dylib                    0x0000000100040ef9 ruby_run_node +
 73 (eval.c:199)
 7   macruby                             0x0000000100000dd8 main + 152
 (main.cpp:42)
 8   macruby                             0x0000000100000d34 start + 52

 Thread 1:
 0   libSystem.B.dylib                   0x00007fff867729da
 __workq_kernreturn + 10
 1   libSystem.B.dylib                   0x00007fff86772dec
 _pthread_wqthread + 917
 2   libSystem.B.dylib                   0x00007fff86772a55 start_wqthread
 + 13
 }}}

--

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



More information about the MacRuby-devel mailing list