sentry-cocoa
sentry-cocoa copied to clipboard
Stack tracer is crashing during captureException
Platform
macOS
Environment
Production
Installed
Swift Package Manager
Version
8.46.0
Xcode Version
16.2
Did it work on previous versions?
No idea, this has happened a few times
Steps to Reproduce
- App throws NSException during a work queue for tag reading
- Exception is pushed to [SentrySDK captureException:]
- App crashes
Expected Result
Exception should be logged, not sure if it should be fatal.
Actual Result
App crashes on this thread dump:
NSInvalidArgumentException: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
Are you willing to submit a PR?
I am willing to submit a PR, if I can figure out where it went wrong.