scott
2008-Sep-14 00:10 UTC
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a segmentation fault when "rake spec:rcov" is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test_blog/tree/master so maybe someone can try to replicate my error so i know if the problem is with my code or something installed on my pc. here is a copy of my shell output>> rake spec:rcov --trace(in C:/Documents and Settings/Scott/My Documents/NetBeansProjects/ blog) ** Invoke spec:rcov (first_time) ** Invoke spec:clobber_rcov (first_time) ** Execute spec:clobber_rcov ** Execute spec:rcov ......................................................................................................................generated code (c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/ action_controller/routing/route.rb:86):1: [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. rake aborted! Command c:/ruby/bin/ruby -I"C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/vendor/plugins/rspec/lib" -S rcov -- exclude "spec/*,gems/*" --rails -o "coverage" "C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/vendor/plugins/rspec/ bin/spec" -- "spec/controllers/access_control_spec.rb" "spec/ controllers/authenticated_system_spec.rb" "spec/controllers/ blogs_controller_spec.rb" "spec/controllers/blogs_routing_spec.rb" "spec/controllers/sessions_controller_spec.rb" "spec/controllers/ users_controller_spec.rb" "spec/helpers/blogs_helper_spec.rb" "spec/ helpers/users_helper_spec.rb" "spec/models/blog_spec.rb" "spec/models/ user_spec.rb" "spec/views/blogs/edit.html.erb_spec.rb" "spec/views/ blogs/index.html.erb_spec.rb" "spec/views/blogs/new.html.erb_spec.rb" "spec/views/blogs/show.html.erb_spec.rb" --options " C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ spec/spec.opts" failed C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ vendor/plugins/rspec/lib/spec/rake/spectask.rb:177:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in `verbose'' C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 c:/ruby/bin/rake:16:in `load'' c:/ruby/bin/rake:16 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rob Sanheim
2008-Sep-16 03:10 UTC
Re: rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
Try installing this version: http://github.com/spicycode/rcov/tree/master Its from a colleague, and collects a lot of the patches that fix segfaults with rcov + latest rails. - Rob On Sat, Sep 13, 2008 at 8:10 PM, scott <scottnj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > i have a rails app that tests fine with "rake spec" but gets a > segmentation fault when "rake spec:rcov" is run. > i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 > > my app is at > http://github.com/scottnj/test_blog/tree/master > so maybe someone can try to replicate my error so i know if the > problem is with my code or something installed on my pc. > > here is a copy of my shell output > >>> rake spec:rcov --trace > > (in C:/Documents and Settings/Scott/My Documents/NetBeansProjects/ > blog) > ** Invoke spec:rcov (first_time) > ** Invoke spec:clobber_rcov (first_time) > ** Execute spec:clobber_rcov > ** Execute spec:rcov > ......................................................................................................................generated > code (c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/ > action_controller/routing/route.rb:86):1: [BUG] Segmentation fault > ruby 1.8.6 (2007-09-24) [i386-mswin32] > > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application''s support team for more information. > rake aborted! > Command c:/ruby/bin/ruby -I"C:/Documents and Settings/Scott/My > Documents/NetBeansProjects/blog/vendor/plugins/rspec/lib" -S rcov -- > exclude "spec/*,gems/*" --rails -o "coverage" "C:/Documents and > Settings/Scott/My Documents/NetBeansProjects/blog/vendor/plugins/rspec/ > bin/spec" -- "spec/controllers/access_control_spec.rb" "spec/ > controllers/authenticated_system_spec.rb" "spec/controllers/ > blogs_controller_spec.rb" "spec/controllers/blogs_routing_spec.rb" > "spec/controllers/sessions_controller_spec.rb" "spec/controllers/ > users_controller_spec.rb" "spec/helpers/blogs_helper_spec.rb" "spec/ > helpers/users_helper_spec.rb" "spec/models/blog_spec.rb" "spec/models/ > user_spec.rb" "spec/views/blogs/edit.html.erb_spec.rb" "spec/views/ > blogs/index.html.erb_spec.rb" "spec/views/blogs/new.html.erb_spec.rb" > "spec/views/blogs/show.html.erb_spec.rb" --options " > C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ > spec/spec.opts" failed > C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ > vendor/plugins/rspec/lib/spec/rake/spectask.rb:177:in `define'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in > `verbose'' > C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ > vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in `define'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in > `invoke_with_call_chain'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in > `synchronize'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in > `invoke_with_call_chain'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in > `invoke_task'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in > `top_level'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in > `top_level'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in > `top_level'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 > c:/ruby/bin/rake:16:in `load'' > c:/ruby/bin/rake:16 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
seth b
2008-Sep-16 03:46 UTC
Re: rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
Thanks, that fixed some issues I was having with color.rb segfaulting rcov as well. -------------------- seth - subimage llc ----- http://sublog.subimage.com ----- Cashboard - Estimates, invoices, and time tracking software - for free! http://www.getcashboard.com ----- Substruct - Open source RoR e-commerce software. http://code.google.com/p/substruct/ On Mon, Sep 15, 2008 at 8:10 PM, Rob Sanheim <rsanheim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Try installing this version: > > http://github.com/spicycode/rcov/tree/master > > Its from a colleague, and collects a lot of the patches that fix > segfaults with rcov + latest rails. > > - Rob > > On Sat, Sep 13, 2008 at 8:10 PM, scott <scottnj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> i have a rails app that tests fine with "rake spec" but gets a >> segmentation fault when "rake spec:rcov" is run. >> i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 >> >> my app is at >> http://github.com/scottnj/test_blog/tree/master >> so maybe someone can try to replicate my error so i know if the >> problem is with my code or something installed on my pc. >> >> here is a copy of my shell output >> >>>> rake spec:rcov --trace >> >> (in C:/Documents and Settings/Scott/My Documents/NetBeansProjects/ >> blog) >> ** Invoke spec:rcov (first_time) >> ** Invoke spec:clobber_rcov (first_time) >> ** Execute spec:clobber_rcov >> ** Execute spec:rcov >> ......................................................................................................................generated >> code (c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/ >> action_controller/routing/route.rb:86):1: [BUG] Segmentation fault >> ruby 1.8.6 (2007-09-24) [i386-mswin32] >> >> >> This application has requested the Runtime to terminate it in an >> unusual way. >> Please contact the application''s support team for more information. >> rake aborted! >> Command c:/ruby/bin/ruby -I"C:/Documents and Settings/Scott/My >> Documents/NetBeansProjects/blog/vendor/plugins/rspec/lib" -S rcov -- >> exclude "spec/*,gems/*" --rails -o "coverage" "C:/Documents and >> Settings/Scott/My Documents/NetBeansProjects/blog/vendor/plugins/rspec/ >> bin/spec" -- "spec/controllers/access_control_spec.rb" "spec/ >> controllers/authenticated_system_spec.rb" "spec/controllers/ >> blogs_controller_spec.rb" "spec/controllers/blogs_routing_spec.rb" >> "spec/controllers/sessions_controller_spec.rb" "spec/controllers/ >> users_controller_spec.rb" "spec/helpers/blogs_helper_spec.rb" "spec/ >> helpers/users_helper_spec.rb" "spec/models/blog_spec.rb" "spec/models/ >> user_spec.rb" "spec/views/blogs/edit.html.erb_spec.rb" "spec/views/ >> blogs/index.html.erb_spec.rb" "spec/views/blogs/new.html.erb_spec.rb" >> "spec/views/blogs/show.html.erb_spec.rb" --options " >> C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ >> spec/spec.opts" failed >> C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ >> vendor/plugins/rspec/lib/spec/rake/spectask.rb:177:in `define'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in >> `verbose'' >> C:/Documents and Settings/Scott/My Documents/NetBeansProjects/blog/ >> vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in `define'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in >> `invoke_with_call_chain'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in >> `synchronize'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in >> `invoke_with_call_chain'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in >> `invoke_task'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in >> `top_level'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in >> `top_level'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in >> `standard_exception_handling'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in >> `top_level'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in >> `standard_exception_handling'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 >> c:/ruby/bin/rake:16:in `load'' >> c:/ruby/bin/rake:16 >> >> > >> > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---