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

线程异常问题,如何解决? #250

Open
wccw opened this issue Jun 27, 2019 · 2 comments
Open

线程异常问题,如何解决? #250

wccw opened this issue Jun 27, 2019 · 2 comments

Comments

@wccw
Copy link

wccw commented Jun 27, 2019

=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 13252, TID: 5221689, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 XiaoKa 0x000000010411faa8 -[UTSelfStaticsManager getAppState] + 60
5 XiaoKa 0x000000010411f9a4 -[UTSelfStaticsManager onEventForCrash] + 256
6 XiaoKa 0x00000001040fe830 __40-[UTMCSystemHook appDIdEnterBackground:]_block_invoke.51 + 196
7 libdispatch.dylib 0x00000001079676f0 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x0000000107968c74 _dispatch_client_callout + 16
9 libdispatch.dylib 0x000000010796bad4 _dispatch_queue_override_invoke + 876
10 libdispatch.dylib 0x0000000107979dc8 _dispatch_root_queue_drain + 372
11 libdispatch.dylib 0x000000010797a7ac _dispatch_worker_thread2 + 156
12 libsystem_pthread.dylib 0x0000000188ffd1b4 _pthread_wqthread + 464
13 libsystem_pthread.dylib 0x0000000188fffcd4 start_wqthread + 4
2019-06-27 14:07:14.063581+0800 XiaoKa[13252:5221689] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 13252, TID: 5221689, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0
Backtrace:
4 XiaoKa 0x000000010411faa8 -[UTSelfStaticsManager getAppState] + 60
5 XiaoKa 0x000000010411f9a4 -[UTSelfStaticsManager onEventForCrash] + 256
6 XiaoKa 0x00000001040fe830 __40-[UTMCSystemHook appDIdEnterBackground:]_block_invoke.51 + 196
7 libdispatch.dylib 0x00000001079676f0 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x0000000107968c74 _dispatch_client_callout + 16
9 libdispatch.dylib 0x000000010796bad4 _dispatch_queue_override_invoke + 876
10 libdispatch.dylib 0x0000000107979dc8 _dispatch_root_queue_drain + 372
11 libdispatch.dylib 0x000000010797a7ac _dispatch_worker_thread2 + 156
12 libsystem_pthread.dylib 0x0000000188ffd1b4 _pthread_wqthread + 464
13 libsystem_pthread.dylib 0x0000000188fffcd4 start_wqthread + 4
(lldb)

@BakerInGit
Copy link

多少时间的烂代码。还不更新,每次都卡一次,晕死

@skyinemas
Copy link
Contributor

skyinemas commented Oct 11, 2019

此问题已在AlicloudUT 5.2.0.8版本中修复,有2个升级方法:
1、请执行pod update并在Podfile.lock查看AlicloudUT版本是否为5.2.0.8
2、下载压缩包,解压得到UTMini.framework,替换同名库

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

3 participants