[MacRuby] #1435: GC crashing when trying to free a regex currently in use

MacRuby ruby-noreply at macosforge.org
Thu Jan 19 17:49:08 PST 2012


#1435: GC crashing when trying to free a regex currently in use
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |       Owner:  lsansonetti@…        
     Type:  defect                  |      Status:  new                  
 Priority:  blocker                 |   Milestone:                       
Component:  MacRuby                 |    Keywords:                       
------------------------------------+---------------------------------------

Comment(by watson1978@…):

 I think more better for repro that use GC.start:
 {{{
 $ macirb --simple -Ilib -Iext -rubygems -rax_elements
 >> app = Accessibility.application_with_name 'Finder'
 => #<AX::Application 4 children focused[✘] pid=159>
 >> 10_000_000.times { puts app.main_window.children.map &:inspect;
 GC.start }
 }}}

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



More information about the macruby-tickets mailing list