[MacRuby] #1311: Segfault on nested method call with block

MacRuby ruby-noreply at macosforge.org
Tue May 31 20:03:47 PDT 2011


#1311: Segfault on nested method call with block
------------------------------+---------------------------------------------
 Reporter:  kouji@…           |       Owner:  lsansonetti@…        
     Type:  defect            |      Status:  new                  
 Priority:  major             |   Milestone:  MacRuby Later        
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------
 I got SEGV with HEAD and 2099c43a78f24f5108ba7205a4a1933c17202661(Sun Apr
 24 21:43:50 2011 +0900) below
 {{{
 $ ./miniruby -e 'num = 1; 1.times { num.times { class A; 1.times {}; end }
 }'
 zsh: segmentation fault  ./miniruby -e 'num = 1; 1.times { num.times {
 class A; 1.times {}; end } }'
 }}}

 Actually, I want to check how many memory leak below when I got SEGV :<
 {{{
 $ ./miniruby -e '
 num = 10000
 loop {
   num.times {
     class A
       instance_eval {}
     end
   }
 }'
 }}}

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



More information about the macruby-tickets mailing list