收藏
回答

iOS应用集成微信SDK,走微信支付、分享时,造成大量的App卡死/卡顿

微信SDK版本: 1.9.6

iOS系统: 16.0~17.3.1

复现场景: App集成微信SDK后,使用发起微信支付、微信分享时,会造成大量的线上App卡顿止死问题。需要官方加急处理!

堆栈如下:

// remark
Application main thread deadlocked

// 卡死线程
Thread 0 Deadlock:
0      libsystem_kernel.dylib        	_mach_msg2_trap
1      libsystem_kernel.dylib        	_mach_msg2_internal
2      libsystem_kernel.dylib        	_mach_msg_overwrite
3      libsystem_kernel.dylib        	_mach_msg
4      libdispatch.dylib             	__dispatch_mach_send_and_wait_for_reply
5      libdispatch.dylib             	_dispatch_mach_send_with_result_and_wait_for_reply
6      libxpc.dylib                  	_xpc_connection_send_message_with_reply_sync
7      Foundation                    	___NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__
8      Foundation                    	-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]
9      Foundation                    	-[NSXPCConnection _sendSelector:withProxy:arg1:arg2:arg3:arg4:]
10     Foundation                    	__NSXPCDistantObjectSimpleMessageSend4
11     CoreServices                  	-[LSApplicationWorkspace commonClientOpenURL:options:configuration:synchronous:completionHandler:]
12     CoreServices                  	-[LSApplicationWorkspace openURL:configuration:error:]
13     UIKitCore                     	-[UIApplication _openURL:]
14     xxxxApp                  	+[WXApi launchApplicationWithUrl:completion:]	WXApi.m:1077
15     xxxxApp                  	__104+[WXApi launchWechatWithExtralUrl:forceScheme:contextId:paramsDataStr:unnecessaryDataErased:completion:]_block_invoke.418	WXApi.m:935
16     libdispatch.dylib             	__dispatch_call_block_and_release
17     libdispatch.dylib             	__dispatch_client_callout
18     libdispatch.dylib             	__dispatch_main_queue_drain
19     libdispatch.dylib             	__dispatch_main_queue_callback_4CF
20     CoreFoundation                	___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
21     CoreFoundation                	___CFRunLoopRun
22     CoreFoundation                	_CFRunLoopRunSpecific
23     GraphicsServices              	_GSEventRunModal
24     UIKitCore                     	-[UIApplication _run]
25     UIKitCore                     	_UIApplicationMain

回答关注问题邀请回答
收藏

1 个回答

  • 风云
    风云
    11-08

    请问这个问题,有好的处理方法吗

    11-08
    有用
    回复
登录 后发表内容