[MacRuby] #782: Segfault occurs with exception.

MacRuby ruby-noreply at macosforge.org
Thu Oct 7 22:50:04 PDT 2010


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

Comment(by lsansonetti@…):

 There are 2 problems here.

 First, rb_protect() isn't implemented. It's easy to fix.
 Second, when an exception is raised, rb_format_exception_message() is
 called in objc.m, which causes the call to inspect here, indefinitely. It
 should be done lazily instead. This is harder to fix :)

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



More information about the macruby-tickets mailing list