sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

sentry_toIso8601String crashes when adding breadcrumbs

Open philipphofmann opened this issue 2 years ago • 1 comments

Description

Crashes with SIGPIPE or EXC_BAD_ACCESS. The stacktrace looks like this

-[NSDate(SentryExtras) sentry_toIso8601String] 
-[SentryBreadcrumb serialize] 
-[SentryBreadcrumb description] 

Internal SDK crashes show a couple of occurrences.

philipphofmann avatar Jan 05 '24 10:01 philipphofmann

Console log: -[__NSTaggedDate sentry_toIso8601String]: unrecognized selector sent to instance 0xaf9eaa6a23e8b051

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSTaggedDate sentry_toIso8601String]: unrecognized selector sent to instance 0xaf9eaa6a23e8b051'

Version: "@sentry/react-native": "5.13.0" Mode: Release

usmanghani-em avatar Jan 09 '24 07:01 usmanghani-em

I don't see any occurrence anymore of this crash in our SDK crash detection. I think this was fixed with #3764 and if it happens on sentry-maui it's related to a dotnet runtime bug; see https://github.com/getsentry/sentry-dotnet/issues/3235. We can close this.

philipphofmann avatar Apr 29 '24 15:04 philipphofmann