[MacRuby] #840: Segfault occurs when calls the Rake::Application#raw_load_rakefile when Rakefile does not exist.
MacRuby
ruby-noreply at macosforge.org
Mon Aug 9 20:37:12 PDT 2010
#840: Segfault occurs when calls the Rake::Application#raw_load_rakefile when
Rakefile does not exist.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Test Script:
{{{
#!ruby
$ cat test_rake_app_raw_load.rb
require 'rake'
app = Rake::Application.new
app.instance_eval{ raw_load_rakefile }
}}}
Result of Ruby 1.9.1:
{{{
$ ruby test_rake_app_raw_load.rb
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2377:in
`raw_load_rakefile': No Rakefile found (looking for: rakefile, Rakefile,
rakefile.rb, Rakefile.rb) (RuntimeError)
from test_rake_app_raw_load.rb:5:in `block in <main>'
from test_rake_app_raw_load.rb:5:in `instance_eval'
from test_rake_app_raw_load.rb:5:in `<main>'
}}}
Result of MacRuby Trunk:
{{{
$ macruby test_rake_app_raw_load.rb
zsh: segmentation fault macruby test_rake_app_raw_load.rb
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/840>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list