[MacRuby-devel] [MacRuby] #527: Segmentation fault when stack overflows

MacRuby ruby-noreply at macosforge.org
Wed Dec 30 21:38:51 PST 2009


#527: Segmentation fault when stack overflows
-------------------------------------+--------------------------------------
 Reporter:  haruki.zaemon@…          |       Owner:  lsansonetti@…          
     Type:  defect                   |      Status:  new                    
 Priority:  major                    |   Milestone:                         
Component:  MacRuby                  |    Keywords:  stack overflow segfault
-------------------------------------+--------------------------------------
Description changed by lsansonetti@…:

Old description:

> irb --> def a(n); n == 0 ? "DONE" : b(n - 1); end
> irb --> def b(n); n == 0 ? "DONE" : a(n - 1); end
> irb --> a(10000)
> Segmentation fault

New description:

 {{{
 irb --> def a(n); n == 0 ? "DONE" : b(n - 1); end
 irb --> def b(n); n == 0 ? "DONE" : a(n - 1); end
 irb --> a(10000)
 Segmentation fault
 }}}

--

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



More information about the MacRuby-devel mailing list