[MacRuby] #1444: MacRuby crashes when parsing some files with ripper

MacRuby ruby-noreply at macosforge.org
Thu Feb 2 00:11:00 PST 2012


#1444: MacRuby crashes when parsing some files with ripper
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------
 My rubygems-compile plugin seems to crash with the following backtrace for
 every gem that I have tried to compile so far (rspec-core, rspec-
 expectations, minitest, activesupport).

 The relevant backtrace info is this:

 {{{

 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

 VM Regions Near 0:
 -->
     __TEXT                 000000010be8a000-000000010be8b000 [    4K]
 r-x/rwx SM=COW
 /Library/Frameworks/MacRuby.framework/Versions/0.12/usr/bin/macruby

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

 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   libsystem_c.dylib                   0x00007fff838c64f0 strlen + 16
 1   ripper.bundle                       0x000000010eb6ad50
 shadowing_lvar_gen + 528
 2   ripper.bundle                       0x000000010eb59b5d ripper_yyparse
 + 58461
 3   ripper.bundle                       0x000000010eb5eaa6 ripper_parse0 +
 262
 4   libmacruby.dylib                    0x000000010bfa7b7e rb_ensure + 30
 5   ripper.bundle                       0x000000010eb5e6aa ripper_parse +
 122
 6   libmacruby.dylib                    0x000000010bfa3314 rb_vm_dispatch
 + 3844
 7   ???                                 0x000000010d8e09c4 0 + 4522379716
 8   ???                                 0x000000010d95e12a 0 + 4522893610
 9   libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 10  ???                                 0x000000010d8e09c4 0 + 4522379716
 11  ???                                 0x000000010d95d27d 0 + 4522889853
 12  libmacruby.dylib                    0x000000010bfa55b8
 rb_vm_yield_args + 1640
 13  libmacruby.dylib                    0x000000010bf67827 rb_yield + 39
 14  libmacruby.dylib                    0x000000010be94e14 0x10be91000 +
 15892
 15  libmacruby.dylib                    0x000000010bfa3314 rb_vm_dispatch
 + 3844
 16  ???                                 0x000000010d8e09c4 0 + 4522379716
 17  ???                                 0x000000010d91b96a 0 + 4522621290
 18  libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 19  ???                                 0x000000010d8e09c4 0 + 4522379716
 20  ???                                 0x000000010d95c7bb 0 + 4522887099
 21  libmacruby.dylib                    0x000000010bfa55b8
 rb_vm_yield_args + 1640
 22  libmacruby.dylib                    0x000000010bf67827 rb_yield + 39
 23  libmacruby.dylib                    0x000000010be94e14 0x10be91000 +
 15892
 24  libmacruby.dylib                    0x000000010bfa3314 rb_vm_dispatch
 + 3844
 25  ???                                 0x000000010d8e09c4 0 + 4522379716
 26  ???                                 0x000000010d90407f 0 + 4522524799
 27  libmacruby.dylib                    0x000000010bfa3314 rb_vm_dispatch
 + 3844
 28  command.rbo                         0x000000010da1a745 0x10da19000 +
 5957
 29  command.rbo                         0x000000010da1f988 0x10da19000 +
 27016
 30  libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 31  command_manager.rbo                 0x000000010da10bf5 0x10da0f000 +
 7157
 32  command_manager.rbo                 0x000000010da135b9 0x10da0f000 +
 17849
 33  libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 34  command_manager.rbo                 0x000000010da10bf5 0x10da0f000 +
 7157
 35  command_manager.rbo                 0x000000010da12bd0 0x10da0f000 +
 15312
 36  libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 37  gem_runner.rbo                      0x000000010da09195 0x10da08000 +
 4501
 38  gem_runner.rbo                      0x000000010da0a5d5 0x10da08000 +
 9685
 39  libmacruby.dylib                    0x000000010bfa3332 rb_vm_dispatch
 + 3874
 40  ???                                 0x000000010d8e09c4 0 + 4522379716
 41  ???                                 0x000000010d8e03d5 0 + 4522378197
 42  libmacruby.dylib                    0x000000010bfb3196 rb_vm_run + 534
 43  libmacruby.dylib                    0x000000010bebe133 ruby_run_node +
 83
 44  macruby                             0x000000010be8ad18 main + 152
 45  macruby                             0x000000010be8ac74 start + 52

 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1444>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list