Closed leontiy closed 6 months ago
Thank you for reporting this issue, we'll look into this shortly and update this issue with more information.
Tracking internally as https://go.mparticle.com/work/SQDSDKS-6192
Should be resolved by https://github.com/mParticle/mparticle-apple-sdk/pull/261
Thanks @einsteinx2! What release can we expect this fix to land with? 8.21? What's the expected timeline for the release?
I see dozens of crashes a week caused by mParticle SDK. with this and similar stack traces:
How it reproduces:
_session
property in https://github.com/mParticle/mparticle-apple-sdk/blob/d604e598b74503ff6f675c0989a014a0f266f21d/mParticle-Apple-SDK/MPBackendController.m#L1986 b. on internal message queue, end old session and begin a new one in https://github.com/mParticle/mparticle-apple-sdk/blob/d604e598b74503ff6f675c0989a014a0f266f21d/mParticle-Apple-SDK/MPBackendController.m#L2200The read on main queue in
logUserNotification:
method is done without synchronisation, resulting in occasional crashes on notification interactions.