-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Killing multi process fuzzer #2110
Comments
we do have the handler for ctrl-c. |
This is more of a problem as you should not see this log. |
@rmalmain can you check? |
i noticed one issue withou t signal handling i'll fix it soon |
Can you try if #2124 fixes your issue? |
I just saw that #2124 got merged into main, and the child processes now react correctly to getting SIGTERMed. However, the propagation from parent to child still doesn't seem to work. |
can you explain what do you mean by "However, the propagation from parent to child still doesn't seem to work."? What we do is
Note that, for example, if you run it on N cores, you will see 2N + 1 processes. For me, as far as I tried with qemu_launcher
What exactly do you want to propagate from the parent to the child? won't the signal be sent to the all the foreground process in the same process group? (assuming you press ctrl-c |
also can you give me an example to reproduce other than qemu_systemmode? |
Okay, I am an absolute novice, so all I was aware of was the From here on, I will use your terminology, because it is more precise. I'm unsure how
As I see the
is not working as expected for me.
I'll look into finding a better reproducer. Thanks for taking the time to debug this with me. |
wait.. i think you don't have fork feature enabled right? |
I'm using this unmodified Cargo.toml and since |
Can you try #2132 ? |
Just tried it, but unfortunately, I'm still getting the same behaviour as described an hour ago. |
for sure something (something outside libafl) is overriding sigint handler then. |
I cannot reproduce what you said
For me, after I run |
I think now with #2133 we gave it proper exit handling and removing this stack trace |
Report based on abcb2bf
Describe the bug
When killing a fuzzer using the launcher, using ctrl+C in the attached terminal only the root process gets killed while others keeps running in the background
To Reproduce
Steps to reproduce the behavior:
fuzzers/qemu_systemmode
cargo make build
cargo make run
ctrl+C
Expected behavior
I would expect an orderly shutdown of all involved processes. The other ones don't even respond to a SIGTERM but have to be SIGKILLed by the kernel
Screen output/Screenshots
If applicable, add copy-paste of the screen output or screenshot that shows the issue. Please ensure the output is in English and not in Chinese, Russian, German, etc.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: