umeng / MultiFunctioniOSDemo

友盟多功能iOS Demo
112 stars 50 forks source link

UMLocation 被bugly 卡顿检测 #36

Open aiquantong opened 4 years ago

aiquantong commented 4 years ago

你好 最近公司上线 bugly 卡顿检测

7 Foundation -[NSXPCConnection _sendSelector:withProxy:arg1:] + 124
8 Foundation __NSXPCDistantObjectSimpleMessageSend1 + 36
9 CoreLocation CLClientCreateIso6709Notation + 41668
10 CoreLocation CLClientIsLocationServicesEnabled + 224
11 CoreLocation CLClientStopVehicleHeadingUpdates + 24644
12 CoreFoundation invoking + 144
13 CoreFoundation -[NSInvocation invoke] + 300
14 XXX -[UMLocation invoke:selString:argument:returnValue:] + 276
15 XXX -[UMLocation umLocationServicesEnabled] + 76
16 XXX -[UMLocation onceWithBlock:] + 52
17 XXX +[UMLocation registerOnceBlock:] + 84
18 libdispatch.dylib __dispatch_call_block_and_release + 24
19 libdispatch.dylib __dispatch_client_callout + 16
20 libdispatch.dylib __dispatch_main_queue_callback_4CF$VARIANT$mp + 904
21 CoreFoundation _CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
22 CoreFoundation ___CFRunLoopRun + 1724
23 CoreFoundation CFRunLoopRunSpecific + 424
24 GraphicsServices GSEventRunModal + 160
25 UIKitCore UIApplicationMain + 1932
26 XXX main (main.m:17)

UMLocation 函数执行导致卡顿,麻烦支持看看

focuseyes360 commented 4 months ago

应用上架被apple驳回了,就是集成了unity友盟统计,掉这坑里了,初始化耗时导致崩溃。都2024年中了,居然还没解决!!!

focuseyes360 commented 4 months ago

Thread 0 name: Dispatch queue: com.apple.main-thread\ Thread 0 Crashed:\ 0 libsystem_kernel.dylib 0x1d3acc808 mach_msg2_trap + 8\ 1 libsystem_kernel.dylib 0x1d3ad0008 mach_msg2_internal + 80\ 2 libsystem_kernel.dylib 0x1d3acff20 mach_msg_overwrite + 436\ 3 libsystem_kernel.dylib 0x1d3acfd60 mach_msg + 24\ 4 libdispatch.dylib 0x192940b18 _dispatch_mach_send_and_wait_for_reply + 544\ 5 libdispatch.dylib 0x192940eb8 dispatch_mach_send_with_result_and_wait_for_reply + 60\ 6 libxpc.dylib 0x1e7882ac8 xpc_connection_send_message_with_reply_sync + 264\ 7 Foundation 0x18990f998 NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY + 16\ 8 Foundation 0x18990c004 -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2160\ 9 Foundation 0x18998420c -[NSXPCConnection _sendSelector:withProxy:arg1:] + 116\ 10 Foundation 0x189983e80 NSXPCDistantObjectSimpleMessageSend1 + 60\ 11 CoreLocation 0x197c3ac04 0x197c1f000 + 113668\ 12 CoreLocation 0x197c35610 CLClientIsLocationServicesEnabled + 284\ 13 CoreLocation 0x197c3ac5c 0x197c1f000 + 113756\ 14 CoreFoundation 0x18aa1d814 invoking + 148\ 15 CoreFoundation 0x18aa1c860 -[NSInvocation invoke] + 428\ 16 UnityFramework 0x10c59cc28 -[UMLocation invoke:selString:argument:returnValue:] (in UnityFramework) + 276 + 69291048\ 17 UnityFramework 0x10c59cd00 -[UMLocation umLocationServicesEnabled] (in UnityFramework) + 76 + 69291264\ 18 UnityFramework 0x10c59c1ec -[UMLocation onceWithBlock:] (in UnityFramework) + 52 + 69288428\ 19 UnityFramework 0x10c59bfd0 +[UMLocation registerOnceBlock:] (in UnityFramework) + 84 + 69287888\ 20 libdispatch.dylib 0x19292413c _dispatch_call_block_and_release + 32\ 21 libdispatch.dylib 0x192925dd4 _dispatch_client_callout + 20\ 22 libdispatch.dylib 0x1929345a4 _dispatch_main_queue_drain + 988\ 23 libdispatch.dylib 0x1929341b8 _dispatch_main_queue_callback_4CF + 44\ 24 CoreFoundation 0x18aa53710 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16\ 25 CoreFoundation 0x18aa50914 __CFRunLoopRun + 1996\ 26 CoreFoundation 0x18aa4fcd8 CFRunLoopRunSpecific + 608\ 27 GraphicsServices 0x1cf9001a8 GSEventRunModal + 164\ 28 UIKitCore 0x18d08890c -[UIApplication _run] + 888\ 29 UIKitCore 0x18d13c9d0 UIApplicationMain + 340\ 30 UnityFramework 0x10a399460 -[UnityFramework runUIApplicationMainWithArgc:argv:] (in UnityFramework) (main.mm:96) + 33625184\ 31 ProductName 0x1002a417c main (in ProductName) (main.mm:28) + 16764\ 32 dyld 0x1ae101e4c start + 2240\