{"action":"opened","issue":{"url":"https://api.github.com/repos/Adobe-Marketing-Cloud/mobile-services/issues/283","repository_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/mobile-services","labels_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/mobile-services/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/mobile-services/issues/283/comments","events_url":"https://api.github.com/repos/Adobe-Marketing-Cloud/mobile-services/issues/283/events","html_url":"https://github.com/Adobe-Marketing-Cloud/mobile-services/issues/283","id":330247460,"node_id":"MDU6SXNzdWUzMzAyNDc0NjA=","number":283,"title":"[iOS SDK] UIKit non-main thread crash","user":{"login":"zierka","id":1207412,"node_id":"MDQ6VXNlcjEyMDc0MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1207412?v=4","gravatar_id":"","url":"https://api.github.com/users/zierka","html_url":"https://github.com/zierka","followers_url":"https://api.github.com/users/zierka/followers","following_url":"https://api.github.com/users/zierka/following{/other_user}","gists_url":"https://api.github.com/users/zierka/gists{/gist_id}","starred_url":"https://api.github.com/users/zierka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zierka/subscriptions","organizations_url":"https://api.github.com/users/zierka/orgs","repos_url":"https://api.github.com/users/zierka/repos","events_url":"https://api.github.com/users/zierka/events{/privacy}","received_events_url":"https://api.github.com/users/zierka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T12:20:34Z","updated_at":"2018-06-07T12:20:34Z","closed_at":null,"author_association":"NONE","body":"Hi! We got 2 crashes recently on background threads. `ADBUpdateLastKnownTimestamp` is involved. \r\n\r\nOur crash reporting says that UIKit was accessed on a non-main thread. \r\n\r\nSDK version: `4.16.0`\r\nWe couldn't reproduce.\r\n\r\nCrash 1:\r\n\r\nCrashed: com.adobe.mobile.analytics.queue\r\nEXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000020\r\n\r\n```\r\nCrashed: com.adobe.mobile.analytics.queue\r\n0  libobjc.A.dylib                0x1836f41a0 objc_retain + 16\r\n1  CoreFoundation                 0x184565b50 +[__NSArrayI __new::::] + 184\r\n2  CoreFoundation                 0x1843eb514 -[NSArray initWithArray:range:copyItems:] + 464\r\n3  UIKit                          0x18e0eb9a4 +[_UICanvas canvases] + 32\r\n4  UIKit                          0x18e0eb8dc +[_UIApplicationCanvas canvases] + 52\r\n5  UIKit                          0x18e0eb840 +[_UIApplicationCanvas mostActiveCanvas] + 28\r\n6  UIKit                          0x18e0eb9e0 -[UIApplication isSuspendedEventsOnly] + 32\r\n7  UIKit                          0x18e42c778 UpdateSystemSoundActiveStatus + 116\r\n8  UIKit                          0x18e42c8f8 IsSystemSoundEnabled + 104\r\n9  UIKit                          0x18e42c72c UpdateSystemSoundActiveStatus + 40\r\n10 UIKit                          0x18e2fd764 -[UIDevice _updateSystemSoundActiveStatus:] + 144\r\n11 CoreFoundation                 0x1844b0c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20\r\n12 CoreFoundation                 0x1844b01b8 _CFXRegistrationPost + 428\r\n13 CoreFoundation                 0x1844aff14 ___CFXNotificationPost_block_invoke + 216\r\n14 CoreFoundation                 0x18452d84c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408\r\n15 CoreFoundation                 0x1843e6f38 _CFXNotificationPost + 384\r\n16 Foundation                     0x184e57bbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68\r\n17 AdobeMobileSDK                 0x1012725e0 ADBUpdateLastKnownTimestamp + 116\r\n18 AdobeMobileSDK                 0x101254010 __38-[ADBAnalyticsWorker queue:timestamp:]_block_invoke + 264\r\n19 libdispatch.dylib              0x183e10aa0 _dispatch_call_block_and_release + 24\r\n20 libdispatch.dylib              0x183e10a60 _dispatch_client_callout + 16\r\n21 libdispatch.dylib              0x183e1a9b4 _dispatch_queue_serial_drain$VARIANT$mp + 608\r\n22 libdispatch.dylib              0x183e1b2fc _dispatch_queue_invoke$VARIANT$mp + 336\r\n23 libdispatch.dylib              0x183e1bcc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340\r\n24 libdispatch.dylib              0x183e24098 _dispatch_workloop_worker_thread$VARIANT$mp + 668\r\n25 libsystem_pthread.dylib        0x184143e70 _pthread_wqthread + 860\r\n26 libsystem_pthread.dylib        0x184143b08 start_wqthread + 4\r\n```\r\n\r\nCrash 2:\r\n\r\nCrashed: com.adobe.mobile.analytics.queue\r\nEXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x6f697461bceeb66f\r\n\r\n```\r\nCrashed: com.adobe.mobile.analytics.queue\r\n0  libobjc.A.dylib                0x183c9c91c objc_msgSend + 28\r\n1  CoreFoundation                 0x184b15b50 +[__NSArrayI __new::::] + 184\r\n2  CoreFoundation                 0x18499b514 -[NSArray initWithArray:range:copyItems:] + 464\r\n3  UIKit                          0x18e65fa20 +[_UICanvas canvases] + 32\r\n4  UIKit                          0x18e65f958 +[_UIApplicationCanvas canvases] + 52\r\n5  UIKit                          0x18e65f8bc +[_UIApplicationCanvas mostActiveCanvas] + 28\r\n6  UIKit                          0x18e65f86c -[UIApplication isSuspended] + 32\r\n7  UIKit                          0x18e9a0780 UpdateSystemSoundActiveStatus + 72\r\n8  UIKit                          0x18e8717cc -[UIDevice _updateSystemSoundActiveStatus:] + 144\r\n9  CoreFoundation                 0x184a60c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20\r\n10 CoreFoundation                 0x184a601b8 _CFXRegistrationPost + 428\r\n11 CoreFoundation                 0x184a5ff14 ___CFXNotificationPost_block_invoke + 216\r\n12 CoreFoundation                 0x184add84c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408\r\n13 CoreFoundation                 0x184996f38 _CFXNotificationPost + 384\r\n14 Foundation                     0x185407bbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68\r\n15 AdobeMobileSDK                 0x1010325e0 ADBUpdateLastKnownTimestamp + 116\r\n16 AdobeMobileSDK                 0x101014010 __38-[ADBAnalyticsWorker queue:timestamp:]_block_invoke + 264\r\n17 libdispatch.dylib              0x1843c0b24 _dispatch_call_block_and_release + 24\r\n18 libdispatch.dylib              0x1843c0ae4 _dispatch_client_callout + 16\r\n19 libdispatch.dylib              0x1843caa38 _dispatch_queue_serial_drain$VARIANT$mp + 608\r\n20 libdispatch.dylib              0x1843cb380 _dispatch_queue_invoke$VARIANT$mp + 336\r\n21 libdispatch.dylib              0x1843cbd4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340\r\n22 libdispatch.dylib              0x1843d411c _dispatch_workloop_worker_thread$VARIANT$mp + 668\r\n23 libsystem_pthread.dylib        0x1846f3e70 _pthread_wqthread + 860\r\n24 libsystem_pthread.dylib        0x1846f3b08 start_wqthread + 4\r\n```"}}
{"actor":{"display_login":"zierka"}}