[MacRuby] #1101: Rake test tasks for minitest and rspec2 cause a segfault
#1101: Rake test tasks for minitest and rspec2 cause a segfault ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- These are the two cases I found so far. If I have a minitest rake task like this (generated by jeweler): require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end And then `rake test` I see: ± rake test (in /Users/mrada/Developer/test) /Library/Frameworks/MacRuby.framework/Versions/0.9/usr/bin/macruby -I"lib:lib:test" "/Users/mrada/.rvm/gems/macruby- nightly/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/test_test.rb" [1] 77800 segmentation fault rake test I will also attach a crash report. I am using MACRUBY_REVISION 5120 (nightly build from Jan 5). -- Ticket URL: <http://www.macruby.org/trac/ticket/1101> MacRuby <http://macruby.org/>
#1101: Rake test tasks for minitest and rspec2 cause a segfault ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): I have played with this issue some more and it seems that I will get the segfault whenever the #sh method is called from a rake task. Every pre-packaged rake task that I use (yard, rspec, reek) uses this method, so they are all broken. -- Ticket URL: <http://www.macruby.org/trac/ticket/1101#comment:1> MacRuby <http://macruby.org/>
#1101: Rake test tasks for minitest and rspec2 cause a segfault ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): This bug is no longer valid because I was using the rubygems version of rake. Once I uninstalled it (and modded the hoe gemspec), I was able to use the version of rake that ships with MacRuby, which has the same version number, but works. -- Ticket URL: <http://www.macruby.org/trac/ticket/1101#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby