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

The size of coverage PC tables does not match #41

Closed
ia0 opened this issue Nov 3, 2019 · 2 comments
Closed

The size of coverage PC tables does not match #41

ia0 opened this issue Nov 3, 2019 · 2 comments

Comments

@ia0
Copy link

ia0 commented Nov 3, 2019

Hi,

I'm not sure the issue is related to this crate, so feel free to redirect me.

I get the following error and I don't understand what it means:

INFO: Seed: 2943382958
INFO: Loaded 1 modules   (10632 inline 8-bit counters): 10632 [0x5566fff84008, 0x5566fff86990), 
INFO: Loaded 1 PC tables (6775 PCs): 6775 [0x5566fff86990,0x5566fffa1100), 
ERROR: The size of coverage PC tables does not match the
number of instrumented PCs. This might be a compiler bug,
please contact the libFuzzer developers.
Also check https://bugs.llvm.org/show_bug.cgi?id=34636
for possible workarounds (tl;dr: don't use the old GNU ld)

To reproduce, you can try:

# In case the version of rust and cargo-fuzz matters:
rustup toolchain install nightly-2019-11-02
cargo +nightly-2019-11-02 install -f --version=0.5.4 cargo-fuzz
# The actual issue:
git clone git@github.com:ia0/data-encoding.git
cd data-encoding/lib
cargo +nightly-2019-11-02 fuzz run -O -a round_trip

Thanks!

@alpire
Copy link
Contributor

alpire commented Nov 22, 2019

Can you try again with cargo-fuzz 0.5.5? rust-fuzz/cargo-fuzz#193 should help with that issue.

@ia0
Copy link
Author

ia0 commented Nov 22, 2019

It works. Thanks a lot!

@ia0 ia0 closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants