-
Notifications
You must be signed in to change notification settings - Fork 148
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
Count overflow warning #613
Comments
Cool thx, I'll have a look on that. |
And I can reproduce with:
|
Interestingly, faulty counters are not same from a run to an other, so I'd say that some counters are concurrently accessed from the different threads. |
I wanted to run grcov on one of my older crates and got a In the hope that this might help in further investigating the issue. The repo is https://github.com/dnaka91/chronver and I ran the following commands on it: RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="coverage-%p-%m.profraw" cargo +nightly test --all-features
rustup run nightly grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage |
|
Looks like reports ARE generated, it's just a warning it seems. |
Yes, it is just a warning and doesn't affect the line level coverage, just the number of times a line is hit. |
Following #555 (comment), you can find a project that triggers the problem:
https://gitlab.com/damienrg/grcov-count-overflow
/cc @calixteman
The text was updated successfully, but these errors were encountered: