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

在borwser显示后,卡住约莫有0.5秒,不能响应事件 #306

Open
weiminghuaa opened this issue Sep 19, 2018 · 2 comments
Open

Comments

@weiminghuaa
Copy link

No description provided.

@xujinhui
Copy link

sometimes gets stuck when Loading pictures,and xcode log like this:
UI API called on a background thread: -[UIView layer]
PID: 4312, TID: 1271737, Thread name: (none), Queue name: NSOperationQueue 0x109651ae0 (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 myOffer 0x0000000105320e30 -[DACircularProgressView circularProgressLayer] + 40
5 myOffer 0x0000000105321098 -[DACircularProgressView progress] + 40
6 myOffer 0x000000010535f70c -[IDMZoomingScrollView setProgress:forPhoto:] + 348
7 myOffer 0x00000001053595ec __42-[IDMPhotoBrowser configurePage:forIndex:]_block_invoke + 116
8 myOffer 0x00000001053509d0 __40-[IDMPhoto loadUnderlyingImageAndNotify]_block_invoke + 216
9 myOffer 0x00000001053897a0 -[SDWebImageDownloaderOperation URLSession:dataTask:didReceiveData:] + 2304
10 myOffer 0x0000000105385e7c -[SDWebImageDownloader URLSession:dataTask:didReceiveData:] + 168
11 CFNetwork 0x0000000184bce5f4 _CFNetworkHTTPConnectionCacheSetLimit + 204768
12 Foundation 0x0000000181bed61c 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1132060
13 Foundation 0x0000000181af73d8 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 123864
14 Foundation 0x0000000181bef8a4 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1140900
15 Foundation 0x0000000181af7070 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 122992
16 Foundation 0x0000000181bf029c 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1143452
17 Foundation 0x0000000181befd68 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1142120
18 libdispatch.dylib 0x00000001094f5298 _dispatch_block_async_invoke2 + 104
19 libdispatch.dylib 0x00000001094e6c04 _dispatch_client_callout + 16
20 libdispatch.dylib 0x00000001094e9808 _dispatch_continuation_pop + 524
21 libdispatch.dylib 0x00000001094e8c88 _dispatch_async_redirect_invoke + 624
22 libdispatch.dylib 0x00000001094f8168 _dispatch_root_queue_drain + 376
23 libdispatch.dylib 0x00000001094f8a90 _dispatch_worker_thread2 + 156
24 libsystem_pthread.dylib 0x0000000181545f64 _pthread_wqthread + 212
25 libsystem_pthread.dylib 0x0000000181548ae0 start_wqthread + 8
2019-09-30 15:28:02.611579+0800 myOffer[4312:1271737] [reports] Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 4312, TID: 1271737, Thread name: (none), Queue name: NSOperationQueue 0x109651ae0 (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 myOffer 0x0000000105320e30 -[DACircularProgressView circularProgressLayer] + 40
5 myOffer 0x0000000105321098 -[DACircularProgressView progress] + 40
6 myOffer 0x000000010535f70c -[IDMZoomingScrollView setProgress:forPhoto:] + 348
7 myOffer 0x00000001053595ec __42-[IDMPhotoBrowser configurePage:forIndex:]_block_invoke + 116
8 myOffer 0x00000001053509d0 __40-[IDMPhoto loadUnderlyingImageAndNotify]_block_invoke + 216
9 myOffer 0x00000001053897a0 -[SDWebImageDownloaderOperation URLSession:dataTask:didReceiveData:] + 2304
10 myOffer 0x0000000105385e7c -[SDWebImageDownloader URLSession:dataTask:didReceiveData:] + 168
11 CFNetwork 0x0000000184bce5f4 _CFNetworkHTTPConnectionCacheSetLimit + 204768
12 Foundation 0x0000000181bed61c 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1132060
13 Foundation 0x0000000181af73d8 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 123864
14 Foundation 0x0000000181bef8a4 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1140900
15 Foundation 0x0000000181af7070 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 122992
16 Foundation 0x0000000181bf029c 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1143452
17 Foundation 0x0000000181befd68 0DF2911E-80CB-3289-8A1E-ED0913D55A12 + 1142120
18 libdispatch.dylib 0x00000001094f5298 _dispatch_block_async_invoke2 + 104
19 libdispatch.dylib 0x00000001094e6c04 _dispatch_client_callout + 16
20 libdispatch.dylib 0x00000001094e9808 _dispatch_continuation_pop + 524
21 libdispatch.dylib 0x00000001094e8c88 _dispatch_async_redirect_invoke + 624
22 libdispatch.dylib 0x00000001094f8168 _dispatch_root_queue_drain + 376
23 libdispatch.dylib 0x00000001094f8a90 _dispatch_worker_thread2 + 156
24 libsystem_pthread.dylib 0x0000000181545f64 _pthread_wqthread + 212
25 libsystem_pthread.dylib 0x0000000181548ae0 start_wqthread + 8

@xujinhui
Copy link

#294 has fixed the issue. link-> #274

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

2 participants