Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of Singelton causes with --xrefs, --callsites, --annotate, and --failure-threshold 50 options #70

Open
jordandm opened this issue Mar 17, 2011 · 1 comment
Labels

Comments

@jordandm
Copy link

If I use the --xrefs, --callsites, --annotate, or --failure-threshold 50 options, rcov (rcov 0.9.8 2010-02-28) throws an exception and I get the following stack dump:

/Users/jordan/.rvm/gems/ruby-1.8.7-p334@ooyala-web-rails/gems/rcov-0.9.9/bin/rcov:350:in
dump': singleton class can't be dumped (TypeError) from /Users/jordan/.rvm/gems/ruby-1.8.7-p334@ooyala-web-rails/gems/rcov-0.9.9/bin/rcov:350:inrcov_save_aggregate_data'
from /Users/jordan/.rvm/gems/ruby-1.8.7-p334@ooyala-web-rails/gems/rcov-0.9.9/bin/rcov:349:in open' from /Users/jordan/.rvm/gems/ruby-1.8.7-p334@ooyala-web-rails/gems/rcov-0.9.9/bin/rcov:349:inrcov_save_aggregate_data'
from /Users/jordan/.rvm/gems/ruby-1.8.7-p334@ooyala-web-rails/gems/rcov-0.9.9/bin/rcov:432
from /Users/jordan/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279

@abedra
Copy link
Contributor

abedra commented Jan 23, 2012

Can you please add some sample code that can reproduce this? Also, what version of OSX are you running, and what version of gcc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants