-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
SentryCrashMonitor_MachException
crashes on macOS
#1589
Comments
Thanks for reporting this @sindresorhus. I noticed that KSCrash has a few fixes for KSCrashMonitor_MachException over the past year, that we don't include in SentryCrash. I think we should apply those fixes to your repo. |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Please keep this open. |
Experiencing (I think) similar issue on iOS |
I had to remove Sentry from one of my apps as there were too many random crashes caused by Sentry itself. For example: https://sentry.io/organizations/sindresorhus/issues/3474609924/events/578f5959e32b4da18217e6af63587102/ |
I'm sorry about that, @sindresorhus. I will bump the priority for this issue. |
#2662 could fix this, but I'm not sure, as the crash happened sentry-cocoa/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_MachException.c Lines 265 to 267 in 2814f3c
but we didn't change the code there with #2662 |
@sindresorhus, do you still see this crash happening? If yes, can you provide us with a link? |
@sindresorhus, sorry for getting back to you so late. I checked our internal SDK crashes and see around 50 crashes like that still happening in the past 90 days. It also occurs in v 8.x. As pointed out by me above, the crash happens while waiting for mach messages. This may happen after closing the SDK, and we don't correctly clear up our mach exception handler. Do you call Internal note for further investigation: We made some changes to enable and disable the mach exception handler in this PR #2440, released with 7.31.3 in Nov 2022. |
No |
Environment
Sentry SaaS (sentry.io)
Sentry Cocoa 7.7.0
Steps to Reproduce
Expected Result
I expected the crash monitor to not crash.
Actual Result
It crashed.
The crash happened for a random user. I cannot reproduce it myself.
The text was updated successfully, but these errors were encountered: