BranchMetrics / ios-branch-deep-linking-attribution

The Branch iOS SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://help.branch.io/developers-hub/docs/ios-sdk-overview
MIT License
731 stars 228 forks source link

Randomly crash -[__NSFrozenOrderedSetM dealloc] #1406

Closed billylongta closed 2 weeks ago

billylongta commented 2 months ago

Describe the bug

Our product randomly crashed even after upgrading to v3.4.3.

Crashed: com.apple.root.default-qos
0  libsystem_platform.dylib       0x6250 _os_unfair_lock_corruption_abort + 88
1  libsystem_platform.dylib       0x2f48 _os_unfair_lock_lock_slow + 348
2  CoreFoundation                 0xe47c -[__NSFrozenOrderedSetM dealloc] + 72
3  CoreFoundation                 0xbe7c -[__NSOrderedSetArrayProxy dealloc] + 56
4  libobjc.A.dylib                0x1f84 AutoreleasePoolPage::releaseUntil(objc_object**) + 212
5  libobjc.A.dylib                0x1e10 objc_autoreleasePoolPop + 260
6  libdispatch.dylib              0x3db0 _dispatch_last_resort_autorelease_pool_pop + 40
7  libdispatch.dylib              0x15b18 _dispatch_root_queue_drain + 1036
8  libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
9  libsystem_pthread.dylib        0x1ee4 _pthread_wqthread + 228
10 libsystem_pthread.dylib        0x1fc0 start_wqthread + 8
crash_info_entry_0 | BUG IN CLIENT OF LIBPLATFORM: os_unfair_lock is corrupt |  
-- | -- | --
crash_info_entry_1 | k |  
io.branch.sdk.version | 3.4.3

Steps to reproduce

It has happened randomly.

Expected behavior

The application can work properly without crashing.

SDK Version

3.4.3

XCode Version

15.4

Device

iPhone 11 to iPhone 15

OS

16

Additional Information/Context

No response

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale due to inactivity for 60 days. If this issue is still relevant, please respond with any updates or this issue will be closed in 7 days. If you believe this is a mistake, please comment to let us know. Thank you for your contributions.

github-actions[bot] commented 2 weeks ago

This issue has been closed due to inactivity. If this issue is still relevant, please reopen it or create a new one. Thank you for your contributions.