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

MacRuby ruby-noreply at macosforge.org
Mon Aug 30 14:50:28 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 martinlagardette@…):

 Mmmh, I can't reproduce with trunk:
 {{{
 $> cat /tmp/t.rb
 # 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" }

 $> DYLD_LIBRARY_PATH=. arch -i386 ./macruby -v -I./lib /tmp/t.rb
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, i386]
 /tmp/t.rb:3:in `block': uncaught throw :exit (ArgumentError)
         from /tmp/t.rb:3:in `<main>'

 $> DYLD_LIBRARY_PATH=. arch -i386 ./macruby -v -e 'p MACRUBY_REVISION'
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, i386]
 "svn revision 4478 from
 http://svn.macosforge.org/repository/ruby/MacRuby/trunk"
 $>
 }}}

 Did you try rebuilding everything? Sometimes it helps (`rake clean; mkdir
 doc; rake jobs=4`)

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



More information about the macruby-tickets mailing list