Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Fuzzing failure #147

Closed
slide-bot opened this issue Jun 29, 2020 · 1 comment · Fixed by #148
Closed

Fuzzing failure #147

slide-bot opened this issue Jun 29, 2020 · 1 comment · Fixed by #148
Assignees

Comments

@slide-bot
Copy link
Collaborator

Daily slide fuzzing failed. Last 30 lines of the output log are as follows:

    #25 0x7f3133fcab96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #26 0x557f30ed2ba9  (/home/runner/work/slide/slide/slide/fuzz/target/x86_64-unknown-linux-gnu/release/slide+0xbeba9)

NOTE: libFuzzer has rudimentary signal handlers.
      Combine libFuzzer with AddressSanitizer or similar for better crash reports.
SUMMARY: libFuzzer: deadly signal
MS: 2 ChangeBit-CopyPart-; base unit: aad4fd048990e91bf5e146bceeae37f1ab6c1083
artifact_prefix='/home/runner/work/slide/slide/slide/fuzz/artifacts/slide/'; Test unit written to /home/runner/work/slide/slide/slide/fuzz/artifacts/slide/crash-eb81d7f61ee84bc4492eb35026a9913d48dbf3a5

────────────────────────────────────────────────────────────────────────────────

Failing input:

	fuzz/artifacts/slide/crash-eb81d7f61ee84bc4492eb35026a9913d48dbf3a5

Output of `std::fmt::Debug`:

	"11\u{0}\u{1a}00000000.000011\u{0}\u{1a}00000000.000000004\u{0}\u{1a}00000000.0000000000004\u{0}\u{1a}00000000.00555555555555555555550000000.000011\u{0}\u{1a}00000000.000000004\u{0}\u{1a}00000000.0000000000004\u{0}\u{1a}00000000.005555555555555555555555555555555555555555555555555554555555555555555555555555555555555555555555555555555000000555555555555555555555555555555545555555555555555555555555555555555555555555555555550000004\u{1c}"

Reproduce with:

	cargo fuzz run slide fuzz/artifacts/slide/crash-eb81d7f61ee84bc4492eb35026a9913d48dbf3a5

Minimize test case with:

	cargo fuzz tmin slide fuzz/artifacts/slide/crash-eb81d7f61ee84bc4492eb35026a9913d48dbf3a5

────────────────────────────────────────────────────────────────────────────────

Error: Fuzz target exited with exit code: 77

Command run output

@ayazhafiz ayazhafiz self-assigned this Jun 29, 2020
@ayazhafiz
Copy link
Collaborator

ayazhafiz added a commit that referenced this issue Jun 29, 2020
Per rust-lang/rust#31407, rustc's float parser
may drop some valid float literals. For now use an external parser that
does not have these problems.

Closes #147
ayazhafiz added a commit that referenced this issue Jun 29, 2020
Per rust-lang/rust#31407, rustc's float parser
may drop some valid float literals. For now use an external parser that
does not have these problems.

Closes #147
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants