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

Use default handler for SIGPIPE #56

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

yotamN
Copy link
Member

@yotamN yotamN commented Jun 12, 2021

Python override the SIGPIPE signal handler with its own handler. Ideally we would leave the default handler and catch the raised exception (BrokenPipeError) but there's no way to supress the unhandled error completly. So instead of catching the exception we prevent it from being raised by using the default handler.

Should fix #16

Python override the SIGPIPE signal handler with its own handler. Ideally
we would leave the default handler and catch the raised exception
(BrokenPipeError) but there's no way to supress the unhandled error
completly. So instead of catching the exception we prevent it from being
raised by using the default handler.
@oleavr oleavr merged commit 4e4545d into frida:master Sep 2, 2021
@oleavr
Copy link
Member

oleavr commented Sep 2, 2021

Thanks!

oleavr pushed a commit that referenced this pull request Sep 2, 2021
Python overrides the SIGPIPE signal handler with its own handler.
Ideally we would leave the default handler and catch the raised
exception (BrokenPipeError) but there's no way to suppress the unhandled
error completely. So instead of catching the exception we prevent it
from being raised by using the default handler.
oleavr pushed a commit that referenced this pull request Sep 2, 2021
Python overrides the SIGPIPE signal handler with its own handler.
Ideally we would leave the default handler and catch the raised
exception (BrokenPipeError) but there's no way to suppress the unhandled
error completely. So instead of catching the exception we prevent it
from being raised by using the default handler.
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

Successfully merging this pull request may close these issues.

Cannot pipe frida-ps
2 participants