[MacRuby] #841: Segfault occurs when calls the Rake::Application#const_warning.

MacRuby ruby-noreply at macosforge.org
Mon Aug 9 20:38:11 PDT 2010


#841: Segfault occurs when calls the Rake::Application#const_warning.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 #!ruby
 $ cat test_rake_app_const.rb
 require 'rake'

 TEST = "test"

 app = Rake::Application.new
 app.instance_eval{ const_warning("TEST") }
 }}}

 Result of Ruby 1.9.1:
 {{{
 $ ruby test_rake_app_const.rb
 WARNING: Deprecated reference to top-level constant 'TEST' found at:
 /opt/local/lib/ruby1.9/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2470:in
 `rakefile_location'
     Use --classic-namespace on rake command
     or 'require "rake/classic_namespace"' in Rakefile
 }}}

 Result of MacRuby Trunk:
 {{{
 $ macruby test_rake_app_const.rb
 zsh: segmentation fault  macruby test_rake_app_const.rb
 }}}

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



More information about the macruby-tickets mailing list