[MacRuby] #841: Segfault occurs when calls the Rake::Application#const_warning.
#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/>
#841: Segfault occurs when calls the Rake::Application#const_warning. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Seems to work for me with trunk: {{{ $ DYLD_LIBRARY_PATH=. ./macruby t.rb WARNING: Deprecated reference to top-level constant 'TEST' found at: /Library/Frameworks/MacRuby.framework/Versions/0.7/usr/lib/ruby/1.9.2/rake.rb:2450:in `rakefile_location' Use --classic-namespace on rake command or 'require "rake/classic_namespace"' in Rakefile }}} I suspect it has been fixed by r4418. Please retry with trunk and re-open if necessary. -- Ticket URL: <http://www.macruby.org/trac/ticket/841#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby