You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mixpanel SDK: 4.1.0
Xcode: 14.3
iOS: Seems to happen on 16.0+
So we've been noticing a crash inside our notification service extension, which is very simple/only a few lines of code but it does setup the Mixpanel SDK in order to send events that the user has received a push notification successfully.
The exception code
0xdead10cc
indicates that an application has been terminated by the OS because it held on to a file lock or sqlite database lock during suspension. If your application is performing operations on a locked file or sqlite database at suspension time, it must [request additional background execution time](https://developer.apple.com/reference/uikit/uiapplication/1623051-beginbackgroundtask) to complete those operations and relinquish the lock before suspending.“
Our app doesn't use sqlite at all, and we're down to just Mixpanel and Lottie as dependencies (Lottie is a UI animation library, so no sqlite there, also it's not imported/part of the notification extension) so I'm 99.9% sure it's in the Mixpanel SDK.
I've never heard a of crash like this (requiring you to release a lock on a resource before suspension, or crash?!), so it's possible this could be the root cause of a lot of "weird" crashes that are otherwise hard to pin down.
The text was updated successfully, but these errors were encountered:
Mixpanel SDK: 4.1.0
Xcode: 14.3
iOS: Seems to happen on 16.0+
So we've been noticing a crash inside our notification service extension, which is very simple/only a few lines of code but it does setup the Mixpanel SDK in order to send events that the user has received a push notification successfully.
Looking into the stack trace this stood out:
Which lead me to here:
https://developer.apple.com/forums/thread/111259
Our app doesn't use sqlite at all, and we're down to just Mixpanel and Lottie as dependencies (Lottie is a UI animation library, so no sqlite there, also it's not imported/part of the notification extension) so I'm 99.9% sure it's in the Mixpanel SDK.
I've never heard a of crash like this (requiring you to release a lock on a resource before suspension, or crash?!), so it's possible this could be the root cause of a lot of "weird" crashes that are otherwise hard to pin down.
The text was updated successfully, but these errors were encountered: