PINRemoteImage icon indicating copy to clipboard operation
PINRemoteImage copied to clipboard

EXC_BAD_ACCESS in PINURLSessionManager Operation Queue

Open granoff opened this issue 4 years ago • 3 comments

I recently released an update to an app, built with Xcode 12, and released for iOS 13+. I am now seeing this crash quite often. We use PINRemoteImage in one place, and this code has been in place long before this update, which makes me think something subtle changed in the iOS SDK. I've not seen anything in my searches related to anyone else experiencing this issue, so I thought posting here would be helpful. Let me know what else I can do to help diagnose this. So far I have not been able to reproduce this locally.

Crashed: PINURLSessionManager Operation Queue (QOS: UNSPECIFIED)
0  CoreFoundation                 0x1b2154af8 CFDictionaryGetValue + 88
1  Foundation                     0x1b25d4cb8 _NSSetLongLongValueAndNotify + 92
2  CFNetwork                      0x1b56426b8 _CFNetworkHTTPConnectionCacheSetLimit + 195740
3  Foundation                     0x1b25f2004 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 24
4  Foundation                     0x1b24f45a4 -[NSBlockOperation main] + 104
5  Foundation                     0x1b25f4344 __NSOPERATION_IS_INVOKING_MAIN__ + 24
6  Foundation                     0x1b24f427c -[NSOperation start] + 752
7  Foundation                     0x1b25f4d70 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 24
8  Foundation                     0x1b25f4830 __NSOQSchedule_f + 184
9  libdispatch.dylib              0x1b1ebff24 _dispatch_block_async_invoke2 + 144
10 libdispatch.dylib              0x1b1eb35ac _dispatch_client_callout + 20
11 libdispatch.dylib              0x1b1eb5d60 _dispatch_continuation_pop + 408
12 libdispatch.dylib              0x1b1eb54c0 _dispatch_async_redirect_invoke + 588
13 libdispatch.dylib              0x1b1ec2724 _dispatch_root_queue_drain + 348
14 libdispatch.dylib              0x1b1ec2ed0 _dispatch_worker_thread2 + 116
15 libsystem_pthread.dylib        0x1b1f196dc _pthread_wqthread + 216
16 libsystem_pthread.dylib        0x1b1f1f9c8 start_wqthread + 8

granoff avatar Nov 21 '20 15:11 granoff

A second similar crash is occurring too:

Crashed: PINURLSessionManager Operation Queue (QOS: UNSPECIFIED)
0  CoreFoundation                 0x1865c1028 CFDictionaryGetValue + 100
1  Foundation                     0x18799e754 _NSSetLongLongValueAndNotify + 92
2  CFNetwork                      0x186e52864 _CFNetworkHTTPConnectionCacheSetLimit + 153292
3  Foundation                     0x1879c8850 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 24
4  Foundation                     0x1878b5740 -[NSBlockOperation main] + 104
5  Foundation                     0x1879caca4 __NSOPERATION_IS_INVOKING_MAIN__ + 24
6  Foundation                     0x1878b53c8 -[NSOperation start] + 808
7  Foundation                     0x1879cb74c __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 24
8  Foundation                     0x1879cb1d4 __NSOQSchedule_f + 184
9  libdispatch.dylib              0x18627efb8 _dispatch_block_async_invoke2 + 148
10 libdispatch.dylib              0x186270db0 _dispatch_client_callout + 20
11 libdispatch.dylib              0x18627412c _dispatch_continuation_pop + 416
12 libdispatch.dylib              0x186273854 _dispatch_async_redirect_invoke + 592
13 libdispatch.dylib              0x18628193c _dispatch_root_queue_drain + 356
14 libdispatch.dylib              0x186282120 _dispatch_worker_thread2 + 116
15 libsystem_pthread.dylib        0x1cfa947c8 _pthread_wqthread + 216
16 libsystem_pthread.dylib        0x1cfa9b75c start_wqthread + 8

granoff avatar Nov 21 '20 20:11 granoff

@granoff are you still facing this issue?

soumyamahunt avatar Nov 16 '21 06:11 soumyamahunt

@granoff are you still facing this issue?

No, but I also stopped using this library. Can't say if the problem persists or not. Sorry!

granoff avatar Nov 16 '21 13:11 granoff