[MacRuby-devel] [MacRuby] #782: Segfault occurs with exception.

MacRuby ruby-noreply at macosforge.org
Fri Jul 9 11:51:36 PDT 2010


#782: Segfault occurs with exception.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by martinlagardette@…):

 So the problem here is that when `#foo` is called, `#inspect` is called
 for the error message, which calls `#bar`, which raises, which calls
 `#inspect`, which calls `#bar`, etc.

 I'd like to know how the ruby guys fixed this without just spouting stack
 overflow.

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



More information about the MacRuby-devel mailing list