Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main thread issues in xcode 9 / ios 11 #150

Open
rhaining opened this issue Aug 18, 2017 · 0 comments
Open

Main thread issues in xcode 9 / ios 11 #150

rhaining opened this issue Aug 18, 2017 · 0 comments

Comments

@rhaining
Copy link

Seeing these errors in the console when running FastImageCache on iOS 11 using Xcode 9 beta 5:

Main Thread Checker: UI API called on a background thread: -[UIApplication isProtectedDataAvailable]
PID: 5517, TID: 94612, Thread name: (none), Queue name: com.path.FastImageCacheQueue, QoS: 0
Backtrace:
4   FastImageCache                      0x0000000115bd9d18 -[FICImageTable canAccessEntryData] + 1336
5   FastImageCache                      0x0000000115bda47e -[FICImageTable _entryDataAtIndex:] + 702
6   FastImageCache                      0x0000000115bd2682 -[FICImageTable setEntryForEntityUUID:sourceImageUUID:imageDrawingBlock:] + 3186
7   FastImageCache                      0x0000000115bf23f1 __69-[FICImageCache _processImage:forEntity:imageTable:completionBlocks:]_block_invoke + 689
8   libclang_rt.asan_iossim_dynamic.dylib 0x000000010f67a412 __wrap_dispatch_async_block_invoke + 290
9   libdispatch.dylib                   0x000000011b5422cf _dispatch_call_block_and_release + 12
10  libdispatch.dylib                   0x000000011b543314 _dispatch_client_callout + 8
11  libdispatch.dylib                   0x000000011b54b7a2 _dispatch_queue_serial_drain + 1162
12  libdispatch.dylib                   0x000000011b54c12a _dispatch_queue_invoke + 340
13  libdispatch.dylib                   0x000000011b54f044 _dispatch_root_queue_drain + 772
14  libdispatch.dylib                   0x000000011b54ece2 _dispatch_worker_thread3 + 132
15  libsystem_pthread.dylib             0x000000011b9b15a2 _pthread_wqthread + 1299
16  libsystem_pthread.dylib             0x000000011b9b107d start_wqthread + 13
2017-08-18 14:26:26.100570-0400 Venmo[5517:94612] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication isProtectedDataAvailable]
PID: 5517, TID: 94612, Thread name: (none), Queue name: com.path.FastImageCacheQueue, QoS: 0
Backtrace:
4   FastImageCache                      0x0000000115bd9d18 -[FICImageTable canAccessEntryData] + 1336
5   FastImageCache                      0x0000000115bda47e -[FICImageTable _entryDataAtIndex:] + 702
6   FastImageCache                      0x0000000115bd2682 -[FICImageTable setEntryForEntityUUID:sourceImageUUID:imageDrawingBlock:] + 3186
7   FastImageCache                      0x0000000115bf23f1 __69-[FICImageCache _processImage:forEntity:imageTable:completionBlocks:]_block_invoke + 689
8   libclang_rt.asan_iossim_dynamic.dylib 0x000000010f67a412 __wrap_dispatch_async_block_invoke + 290
9   libdispatch.dylib                   0x000000011b5422cf _dispatch_call_block_and_release + 12
10  libdispatch.dylib                   0x000000011b543314 _dispatch_client_callout + 8
11  libdispatch.dylib                   0x000000011b54b7a2 _dispatch_queue_serial_drain + 1162
12  libdispatch.dylib                   0x000000011b54c12a _dispatch_queue_invoke + 340
13  libdispatch.dylib                   0x000000011b54f044 _dispatch_root_queue_drain + 772
14  libdispatch.dylib                   0x000000011b54ece2 _dispatch_worker_thread3 + 132
15  libsystem_pthread.dylib             0x000000011b9b15a2 _pthread_wqthread + 1299
16  libsystem_pthread.dylib             0x000000011b9b107d start_wqthread + 13

We're currently pulling in commit e4b19dfe57c8368b3a730cf98b2d411950c30f18.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant