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

Does not work on Windows Subsystem for Linux #55

Closed
abonander opened this issue Mar 4, 2017 · 6 comments
Closed

Does not work on Windows Subsystem for Linux #55

abonander opened this issue Mar 4, 2017 · 6 comments

Comments

@abonander
Copy link

abonander commented Mar 4, 2017

This is a known issue:

I just figured it'd be a good idea to have some notice here to save other Windows users from having to find the answer themselves. (Maybe add a note to the README as well?)

This is the kind of error message you get:

==6089==Sanitizer CHECK failed: [...]/sanitizer_common/sanitizer_procmaps_linux.cc:57 ((IsOneOf(*current_, 's', 'p'))) != (0) (0, 0)

Not very helpful, but Googling Sanitizer CHECK failed IsOneOf turned up the above issues.

@whitequark
Copy link
Member

Not much we can do except documenting it.

@abonander
Copy link
Author

abonander commented Oct 5, 2017 via email

@PaulGrandperrin
Copy link
Member

@abonander if you want you can try honggfuzz-rs which should work on WSL.

Disclaimer: I'm the author of honggfuzz-rs.

@abonander
Copy link
Author

abonander commented Sep 27, 2018

The underlying issue is supposedly resolved now, though one frustrated commentor seems to beg to differ: microsoft/WSL#121 (comment)

I'm not getting the same error anymore, but I'm not getting useful stack backtraces either:

==2652== ERROR: libFuzzer: deadly signal
    #0 0x7f62d012b747  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x12b747)
    #1 0x7f62d01c751b  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1c751b)
    #2 0x7f62d0199b68  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x199b68)
    #3 0x7f62d0199a1d  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x199a1d)
    #4 0x7f62d01c7eb7  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1c7eb7)
    #5 0x7f62cf24288f  (/lib/x86_64-linux-gnu/libpthread.so.0+0x1288f)
    #6 0x7f62cec4ee96  (/lib/x86_64-linux-gnu/libc.so.6+0x3ee96)
    #7 0x7f62cec50800  (/lib/x86_64-linux-gnu/libc.so.6+0x40800)
    #8 0x7f62d01d4205  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1d4205)
    #9 0x7f62d01d68a5  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1d68a5)
    #10 0x7f62d0180c87  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x180c87)
    #11 0x7f62d01ce6d3  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1ce6d3)
    #12 0x7f62d01ce269  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1ce269)
    #13 0x7f62d01ce165  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1ce165)
    #14 0x7f62d01e8afb  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1e8afb)
    #15 0x7f62d01e8aaf  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1e8aaf)
    #16 0x7f62d0067530  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x67530)
    #17 0x7f62d0066c83  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x66c83)
    #18 0x7f62d007aba1  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x7aba1)
    #19 0x7f62d005aebf  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x5aebf)
    #20 0x7f62d001e001  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1e001)
    #21 0x7f62d00206af  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x206af)
    #22 0x7f62d0020c86  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x20c86)
    #23 0x7f62d0056cbb  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x56cbb)
    #24 0x7f62d0050b51  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x50b51)
    #25 0x7f62d018091d  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x18091d)
    #26 0x7f62d01cd07b  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1cd07b)
    #27 0x7f62d01e3098  (/home/austin/mvp-tree-rs/fuzz/target/x86_64-unknown-linux-gnu/debug/tree_iter+0x1e3098)

Edit: running in an Ubuntu server VM produces the same output so this probably has nothing to do with WSL.

@abonander
Copy link
Author

@PaulGrandperrin Tried honggfuzz-rs but ran into a couple of problems, reported them on the repo.

@abonander
Copy link
Author

Works now on WSL, so closing.

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

No branches or pull requests

3 participants