Matt Segvich
2007-Apr-20 00:57 UTC
[Cruisecontrolrb-users] consistently get segmentation fault
I consistently get a daily core dump when running CruiseControl.rb. Note it''s just the rails app that dies, not the builder process for the projects. I''m using 1.0 and haven''t taken the time to upgrade to 1.1. Here''s some info about our environment: Solaris 10 (x86) Ruby 1.8.5 (built from source) Here''s the output for when it died on 3 different occasions. /usr/local/ruby/ruby-1.8.5/lib/ruby/1.8/timeout.rb:59: [BUG] Segmentation fault ./script/../config/../vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb:26: [BUG] Segmentation fault ./script/../config/../vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:59: [BUG] Segmentation fault I started using the fastthread gem yesterday just on hunch that it might be threading related, but that didn''t help. My belief is it really doesn''t have anything to do with ccrb, but for whatever reason ccrb exposes the bug in Ruby or Rails rather quickly. Don''t know if anyone else has experience this or has suggestions. Any help is appreciated. Matt Segvich
Marcus Crafter
2007-Apr-20 01:07 UTC
[Cruisecontrolrb-users] consistently get segmentation fault
Hi Matt, I''ve had a similar problem, not with CC.rb but with Ruby seg faulting before under OSX on my older PowerBook - are you using GCC4 on your Solaris box by chance? http://crafterm.net/blog/articles/2006/11/24/segmentation-faults-with- ruby-1-8-4-in-fink-10-4-tree-with-gcc-4 In my case, rebuilding Ruby on my PowerBook without optimisation or using GCC 3 fixed it all up. Hope this helps somewhat. Cheers, Marcus On 20/04/2007, at 10:57 AM, Matt Segvich wrote:> I consistently get a daily core dump when running CruiseControl.rb. > Note it''s just the rails app that dies, not the builder process for > the projects. I''m using 1.0 and haven''t taken the time to upgrade to > 1.1. Here''s some info about our environment: > > Solaris 10 (x86) > Ruby 1.8.5 (built from source) > > Here''s the output for when it died on 3 different occasions. > > /usr/local/ruby/ruby-1.8.5/lib/ruby/1.8/timeout.rb:59: [BUG] > Segmentation fault > ./script/../config/../vendor/rails/actionpack/lib/action_view/ > helpers/text_helper.rb:26: > [BUG] Segmentation fault > ./script/../config/../vendor/rails/actionpack/lib/action_view/ > helpers/capture_helper.rb:59: > [BUG] Segmentation fault > > I started using the fastthread gem yesterday just on hunch that it > might be threading related, but that didn''t help. My belief is it > really doesn''t have anything to do with ccrb, but for whatever reason > ccrb exposes the bug in Ruby or Rails rather quickly. Don''t know if > anyone else has experience this or has suggestions. Any help is > appreciated. > > Matt Segvich > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users