-
Notifications
You must be signed in to change notification settings - Fork 74
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
Broken forkserver pipe (invalid handle) #4
Comments
Thanks for the bug report. So, it seems like to me the forkserver process unexpectedly died, which is probably a bug. Could you compile the fuzzer in Debug configuration in Visual Studio and run that build with |
Output of the debug build with
On some runs there is a additional warning about the fuzzer not able to write the current file. Maybe thats the reason the fork server dies? Its strange that the crash seems to apprear after the coverage of
I also attached the harness, which should run out of the box if you copy the files to the |
First of all: awesome project!
I just hacked a PDF library with 280k BPs into the harness. Seems to work, i get increasing coverage for the fuzz cases. But everytime after around 260-280 executions the Pipe crashes at
winnie/afl-fuzz/forkserver.c
Line 637 in 8d71e91
GetLastError()
returns 0x06, which indicates that the handle to the named pipe is no longer valid.Output with
-debug
for the afl-fuzz process during init:Output with
AFL_SAME_CONSOLE
set:Any idea how to debug this issue further?
EDIT: Command line in case it helps:
afl-fuzz -f C:\Users\localadmin\Downloads\winnie\Win32\Release\current.pdf -i inpdf -o out -t 1000 -I 100000 -- -bbfile basicblocks_pdf2dl.bb -- -harness harness.dll -debug -- toy_example.exe @@
The text was updated successfully, but these errors were encountered: