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

MacRuby ruby-noreply at macosforge.org
Thu Jan 19 16:26:14 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 mrada@…):

 I have found that using AXElements from the master branch, I can get a GC
 crash in irb like so:

 {{{

 [mrada at ferrous] /Users/mrada/Developer/AXElements ⌘ master✗
  ± rake console
 (in /Users/mrada/Developer/AXElements)
 irb -Ilib -Iext -rubygems -rax_elements
 irb(main):001:0> app = Accessibility.application_with_name 'Finder'
 => #<AX::Application 4 children focused[✘] pid=170>
 irb(main):002:0> 10_000_000.times { puts app.main_window.children.map
 &:inspect }

 }}}

 It crashes in a few seconds when I do that. Also with Adium.

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



More information about the macruby-tickets mailing list