Skip to content

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

@jordandm

Description

@jordandm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions