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

MacRuby ruby-noreply at macosforge.org
Mon Aug 30 05:20:32 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:                       
----------------------------------+-----------------------------------------
 {{{
 #!ruby
 # spec/frozen/language/catch_spec.rb
 # it "does not match objects that are not exactly the same" do
 catch("exit") { throw :exit }
 catch("exit") { throw "exit" }
 }}}

 Result:
 {{{
 $ DYLD_LIBRARY_PATH=. ./macruby -v -I./lib t.rb
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, i386]
 zsh: bus error  DYLD_LIBRARY_PATH=. ./macruby -v -I./lib t.rb
 }}}

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



More information about the macruby-tickets mailing list