[MacRuby] #882: Bus error with catch / throw, Using 32bit arch.

MacRuby ruby-noreply at macosforge.org
Mon Aug 30 18:45:36 PDT 2010


#882: Bus error with catch / throw, Using 32bit arch.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 I think that initialization is insufficient.
 {{{
 #!diff
 diff --git a/vm.cpp b/vm.cpp
 index 3751fc2..acccfb5 100644
 --- a/vm.cpp
 +++ b/vm.cpp
 @@ -400,6 +400,7 @@ RoxorVM::RoxorVM(void)
      parse_in_eval = false;
      has_ensure = false;
      return_from_block = -1;
 +    special_exc = NULL;
      current_super_class = NULL;
      current_super_sel = 0;
 }}}

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



More information about the macruby-tickets mailing list