Closed
Description
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which SDK and version?
sentry.cocoa 7.0.3
Steps to Reproduce
- Explicitly ignore
SIGIPE
:signal(SIGPIPE, SIG_IGN)
- Send
SIGPIPE
to the process (kill -SIGPIPE {pid}
)
Expected Result
No crash in sentry--the signal was explicitly ignored by Sentry.
Actual Result
A fatal crash in Sentry--I think this because Sentry sets a custom signal handler but doesn't check if the previous handler is SIG_IGN first: