Rake segmentation fault


#1

Hello, I have a problem not directly related with the language itself
but (maybe) with rake : I get a segfault when running rake:functionals
since I’ve updated my system (to rails 1.2.2 and rake 0.7.2)
I don’t have any idea about the file causing the seg fault, I just see
that the seg fault occurs, without any clue.

oaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/rake_test_loader
Started
…(eval):5: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-linux]

rake aborted!
Command failed with status (): [/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/ge…]

(See full trace by running task with --trace)

Using --trace gives some more :

Command failed with status (): [/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/ge…]
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:730:in sh' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:737:insh’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:816:in sh' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:811:insh’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:751:in ruby' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:816:inruby’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:811:in ruby' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/testtask.rb:117:indefine’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:835:in verbose' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake/testtask.rb:102:indefine’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:399:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:399:inexecute’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:369:in invoke' /usr/lib/ruby/1.8/thread.rb:135:insynchronize’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:362:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:1935:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib/rake.rb:1935:in `run’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/bin/rake:7
/usr/bin/rake:16

I’ve tried to run each individual test, none of them produced a seg
fault.

Ruby version is 1.8.4 (CentOS, the OS I’m using don’t provide an
official 1.8.6 release)

BTW, does anybody knows about a CentOS (Redhat Ent Server) compatible
package ? Thanks

Thanks


#2

On Wed, Apr 11, 2007 at 06:30:08AM +0900, Zouplaz wrote:

Ruby version is 1.8.4 (CentOS, the OS I’m using don’t provide an
official 1.8.6 release)

BTW, does anybody knows about a CentOS (Redhat Ent Server) compatible
package ? Thanks

http://dev.centos.org/centos/4/testing/i386/RPMS/
gives you 1.8.5, so maybe that’s worth a try.