My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 122: Rcov segmentation faults with Rails 2.1
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Sep 2008


 
Reported by edmundo...@gmail.com, Aug 21, 2008
What steps will reproduce the problem?
1. Run "rake substruct:test:coverage"

What is the expected output? What do you see instead?
It should finish the test coverage and build reports. It segmentation fault.

What version of the product are you using? On what operating system?
Substruct trunk (tested with r138), rcov gem 8.1.2.0. Ubuntu 7.10

Please provide any additional information below.

edmundo@toshibau305:~/workspace_aptana/trunk$ rake substruct:test:coverage
(in /home/edmundo/workspace_aptana/trunk)
Deleting any previous coverage report generated...
Generating a test coverage report for all tests using rcov...
rcov -o
"/home/edmundo/workspace_aptana/trunk/test/coverage/plugins/substruct/all"
-Ilib:test -T --exclude-only
"\A\/usr\/local\/lib,\A\/usr\/lib,\btc_[^.]*.rb,_test\.rb\z,\btest\/,\A\/usr\/lib\/ruby\/gems\/1\.8\/gems\/rcov\-0\.8\.1\.2\.0\/lib\/rcov\/report\.rb\z,\bconfig\/,\benvironment\/,\bvendor\/rails\/,\bvendor\/plugins\/(active_merchant|will_paginate|acts_as_tree|attachment_fu|engines|ar_fixtures)\/"
"vendor/plugins/substruct/test/unit/user_upload_test.rb"
"vendor/plugins/substruct/test/unit/order_line_item_test.rb"
"vendor/plugins/substruct/test/unit/order_user_test.rb"
"vendor/plugins/substruct/test/unit/content_node_test.rb"
"vendor/plugins/substruct/test/unit/image_test.rb"
"vendor/plugins/substruct/test/unit/item_test.rb"
"vendor/plugins/substruct/test/unit/product_test.rb"
"vendor/plugins/substruct/test/unit/order_shipping_weight_test.rb"
"vendor/plugins/substruct/test/unit/product_image_test.rb"
"vendor/plugins/substruct/test/unit/session_test.rb"
"vendor/plugins/substruct/test/unit/preference_test.rb"
"vendor/plugins/substruct/test/unit/asset_test.rb"
"vendor/plugins/substruct/test/unit/variation_test.rb"
"vendor/plugins/substruct/test/unit/order_account_type_test.rb"
"vendor/plugins/substruct/test/unit/country_test.rb"
"vendor/plugins/substruct/test/unit/page_test.rb"
"vendor/plugins/substruct/test/unit/order_account_test.rb"
"vendor/plugins/substruct/test/unit/order_test.rb"
"vendor/plugins/substruct/test/unit/promotion_test.rb"
"vendor/plugins/substruct/test/unit/blog_test.rb"
"vendor/plugins/substruct/test/unit/orders_mailer_test.rb"
"vendor/plugins/substruct/test/unit/order_shipping_type_test.rb"
"vendor/plugins/substruct/test/unit/section_test.rb"
"vendor/plugins/substruct/test/unit/snippet_test.rb"
"vendor/plugins/substruct/test/unit/right_test.rb"
"vendor/plugins/substruct/test/unit/wishlist_item_test.rb"
"vendor/plugins/substruct/test/unit/role_test.rb"
"vendor/plugins/substruct/test/unit/order_status_code_test.rb"
"vendor/plugins/substruct/test/unit/user_test.rb"
"vendor/plugins/substruct/test/unit/question_test.rb"
"vendor/plugins/substruct/test/unit/order_address_test.rb"
"vendor/plugins/substruct/test/unit/tag_test.rb"
"vendor/plugins/substruct/test/integration/buyer_test.rb"
"vendor/plugins/substruct/test/functional/accounts_controller_test.rb"
"vendor/plugins/substruct/test/functional/main_controller_test.rb"
"vendor/plugins/substruct/test/functional/countries_controller_test.rb"
"vendor/plugins/substruct/test/functional/paypal_controller_test.rb"
"vendor/plugins/substruct/test/functional/customers_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/preferences_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/roles_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/products_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/tags_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/sections_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/orders_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/promotions_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/questions_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/users_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/general_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/files_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/content_nodes_controller_test.rb"
"vendor/plugins/substruct/test/functional/admin/base_controller_test.rb"
"vendor/plugins/substruct/test/functional/questions_controller_test.rb"
"vendor/plugins/substruct/test/functional/store_controller_test.rb"
"vendor/plugins/substruct/test/functional/content_nodes_controller_test.rb"
Loaded suite /usr/bin/rcov
Started
............................................................................................................................/home/edmundo/workspace_aptana/trunk/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:397:
[BUG] Segmentation fault
ruby 1.8.6 (2007-06-07) [i486-linux]

Aborted (core dumped)
rake aborted!
Command failed with status (134): [rcov -o
"/home/edmundo/workspace_aptana/tr...]

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



I saw in some posts around that people using Debian/Ubuntu were having
problems like that. I didn't found a solution yet.

Can someone test with Windows, Mac or another Linux distro?
Aug 21, 2008
#1 edmundo...@gmail.com
Sorry, rcov version 0.8.1.2.0.
Aug 21, 2008
Project Member #2 subim...@gmail.com
Works here on trunk using Mac OS X 10.4.11

-> rcov --version
rcov 0.8.1.2 2007-11-22
Sep 8, 2008
#3 alancfra...@gmail.com
Hitting me also on Debian, but works fine on Leopard.
rcov 0.8.1.2 2007-11-22


Sep 15, 2008
Project Member #4 subim...@gmail.com
This seems to be an issue with rcov, not Substruct or Rails.

I was having similar issues with color.rb segfaulting Cashboard tests.

Installing this seems to fix the issue:
http://github.com/spicycode/rcov/tree/master

That's a branch of rcov with a bunch of fixes/patches rolled in. Closing this issue now.
Status: WontFix

Powered by Google Project Hosting