bytedance / Bytedance-UnionAD

MIT License
170 stars 54 forks source link

[BUG] iOS 16 开屏闪退 #156

Closed iOSleep closed 1 year ago

iOSleep commented 2 years ago

Describe the bug | 问题描述

本项目 demo 在 iOS 16 上开屏闪退

Environmental information | 环境信息

To Reproduce | 如何复现

启动项目的 demo 开屏即可 为了获取到堆栈,添加了 runtime issue breakpoint 符号断点

Screenshots | 截图

If applicable, add screenshots to help explain your problem. | 如果有必要,请在这里粘贴问题相关的截图。

Backtrace | 相关堆栈

(lldb) bt all
  thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00000001fb4ede70 libsystem_platform.dylib`_platform_strlen + 48
    frame #1: 0x0000000103f8e6e4 libclang_rt.asan_ios_dynamic.dylib`wrap_strlen + 68
    frame #2: 0x00000001945ffe38 libsystem_c.dylib`__vfprintf + 3432
    frame #3: 0x0000000194604878 libsystem_c.dylib`_vasprintf + 276
    frame #4: 0x0000000103f98004 libclang_rt.asan_ios_dynamic.dylib`wrap_vasprintf + 508
    frame #5: 0x0000000103f983a4 libclang_rt.asan_ios_dynamic.dylib`wrap_asprintf + 84
    frame #6: 0x00000001842e21cc CoreFoundation`-[NSObject(NSObject) __dealloc_zombie] + 92
    frame #7: 0x0000000184da829c Foundation`-[NSKeyValueObservationInfo dealloc] + 76
    frame #8: 0x0000000184dbc040 Foundation`_NSKeyValueCreateImplicitObservationInfo + 256
    frame #9: 0x0000000184dab494 Foundation`-[NSOperation init] + 332
    frame #10: 0x0000000184e0cc48 Foundation`-[NSDirectoryTraversalOperation initWithPath:] + 72
    frame #11: 0x0000000184d68ee0 Foundation`-[NSFilesystemItemCopyOperation initWithSourcePath:destinationPath:options:] + 76
    frame #12: 0x0000000184d68e74 Foundation`+[NSFilesystemItemCopyOperation filesystemItemCopyOperationWithSourcePath:destinationPath:options:] + 60
    frame #13: 0x0000000184dd5d8c Foundation`-[NSFileManager copyItemAtPath:toPath:options:error:] + 96
    frame #14: 0x0000000102d8cef8 BUADDemo`-[CSJDynamicJSAnalysisEngineManager pbu_handleCompletionWithURLString:location:response:error:] + 536
    frame #15: 0x0000000102d8cccc BUADDemo`__68-[CSJDynamicJSAnalysisEngineManager pbu_startDownloadWithURLString:]_block_invoke_2 + 40
    frame #16: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #17: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #18: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #19: 0x0000000104a2e814 libdispatch.dylib`_dispatch_main_queue_drain + 1196
    frame #20: 0x0000000104a2e358 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 44
    frame #21: 0x00000001841b597c CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
    frame #22: 0x00000001841704d0 CoreFoundation`__CFRunLoopRun + 2036
    frame #23: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #24: 0x00000001a69e7360 GraphicsServices`GSEventRunModal + 164
    frame #25: 0x000000018b343a34 UIKitCore`-[UIApplication _run] + 888
    frame #26: 0x000000018b149e04 UIKitCore`UIApplicationMain + 340
    frame #27: 0x00000001024c21a4 BUADDemo`main(argc=1, argv=0x000000016d98f7c8) at main.m:14:16
    frame #28: 0x0000000213c488f8 dyld`start + 2296
  thread #2, queue = 'com.Metal.DeviceArray'
    frame #0: 0x00000001c3485248 libsystem_kernel.dylib`stat + 8
    frame #1: 0x0000000103fac4f8 libclang_rt.asan_ios_dynamic.dylib`wrap_stat + 444
    frame #2: 0x000000018423495c CoreFoundation`_CFGetFileProperties + 164
    frame #3: 0x0000000184233b24 CoreFoundation`_CFBundleCouldBeBundle + 84
    frame #4: 0x00000001842087e4 CoreFoundation`__CFBundleCopyFrameworkURLForExecutablePath + 612
    frame #5: 0x0000000184232df4 CoreFoundation`_CFBundleEnsureBundleExistsForImagePath + 24
    frame #6: 0x000000018423afcc CoreFoundation`_CFBundleEnsureBundlesExistForImagePaths + 64
    frame #7: 0x0000000184272bec CoreFoundation`_CFBundleEnsureAllBundlesUpToDate + 36
    frame #8: 0x00000001841ff818 CoreFoundation`_CFBundleGetBundleWithIdentifier + 288
    frame #9: 0x0000000184db3500 Foundation`+[NSBundle bundleWithIdentifier:] + 40
    frame #10: 0x00000001a51248a4 Metal`_MTLGetToolsClass(NSString*) + 52
    frame #11: 0x00000001a5124638 Metal`MTLWrapWithDebugDevice(id<MTLDeviceSPI>) + 32
    frame #12: 0x00000001a50a9564 Metal`__MTLAddDevice_block_invoke + 96
    frame #13: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #14: 0x0000000104a2f888 libdispatch.dylib`_dispatch_lane_barrier_sync_invoke_and_complete + 172
    frame #15: 0x00000001a50a1dd0 Metal`MTLAddDevice + 268
    frame #16: 0x00000001a5168930 Metal`MTLRegisterDevices + 204
    frame #17: 0x00000001a5089ec8 Metal`invocation function for block in MTLDeviceArrayInitialize() + 968
    frame #18: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #19: 0x0000000104a1fc30 libdispatch.dylib`_dispatch_once_callout + 136
    frame #20: 0x00000001a5086d24 Metal`MTLCreateSystemDefaultDevice + 244
    frame #21: 0x00000001b1668740 PencilKit`+[PKMetalUtility defaultDevice] + 16
    frame #22: 0x00000001b15938d8 PencilKit`+[PKTiledCanvasView prewarmFutureCanvasesIfNecessarySecureRendering:prewarmSharedResourceHandler:] + 44
    frame #23: 0x00000001b1648f38 PencilKit`+[PKTextInputCanvasController prewarmFutureCanvasesIfNecessarySecureRendering:] + 52
    frame #24: 0x00000001b15c5f04 PencilKit`__40-[PKTextInputInteraction didMoveToView:]_block_invoke + 204
    frame #25: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #26: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #27: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #28: 0x0000000104a326b0 libdispatch.dylib`_dispatch_root_queue_drain + 972
    frame #29: 0x0000000104a32e6c libdispatch.dylib`_dispatch_worker_thread2 + 196
    frame #30: 0x00000001fb4f4dbc libsystem_pthread.dylib`_pthread_wqthread + 228
  thread #3, queue = 'com.apple.libtrace.state.block-list'
    frame #0: 0x00000001c3485680 libsystem_kernel.dylib`__ulock_wait + 8
    frame #1: 0x0000000104a1ec40 libdispatch.dylib`_dlock_wait + 56
    frame #2: 0x0000000104a1e9f4 libdispatch.dylib`_dispatch_thread_event_wait_slow + 56
    frame #3: 0x0000000104a2fc58 libdispatch.dylib`__DISPATCH_WAIT_FOR_QUEUE__ + 384
    frame #4: 0x0000000104a2f598 libdispatch.dylib`_dispatch_sync_f_slow + 180
    frame #5: 0x00000001a5638cfc libsystem_trace.dylib`___os_state_request_for_self_block_invoke + 372
    frame #6: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #7: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #8: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #9: 0x0000000104a26170 libdispatch.dylib`_dispatch_lane_serial_drain + 988
    frame #10: 0x0000000104a26ecc libdispatch.dylib`_dispatch_lane_invoke + 472
    frame #11: 0x0000000104a33cb4 libdispatch.dylib`_dispatch_workloop_worker_thread + 740
    frame #12: 0x00000001fb4f4df8 libsystem_pthread.dylib`_pthread_wqthread + 288
  thread #4
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #5
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #6, name = 'com.apple.uikit.eventfetch-thread'
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x000000018416bc30 CoreFoundation`__CFRunLoopServiceMachPort + 160
    frame #5: 0x00000001841701ac CoreFoundation`__CFRunLoopRun + 1232
    frame #6: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #7: 0x0000000184d6e3b4 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
    frame #8: 0x0000000184da8eec Foundation`-[NSRunLoop(NSRunLoop) runUntilDate:] + 64
    frame #9: 0x000000018b2d7670 UIKitCore`-[UIEventFetcher threadMain] + 436
    frame #10: 0x0000000184db5d98 Foundation`__NSThread__start__ + 716
    frame #11: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
  thread #7
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #8
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #9, queue = 'com.apple.root.user-initiated-qos'
    frame #0: 0x00000001c3485680 libsystem_kernel.dylib`__ulock_wait + 8
    frame #1: 0x0000000104a1ec40 libdispatch.dylib`_dlock_wait + 56
    frame #2: 0x0000000104a1e9f4 libdispatch.dylib`_dispatch_thread_event_wait_slow + 56
    frame #3: 0x0000000104a2fc58 libdispatch.dylib`__DISPATCH_WAIT_FOR_QUEUE__ + 384
    frame #4: 0x0000000104a2f598 libdispatch.dylib`_dispatch_sync_f_slow + 180
    frame #5: 0x0000000102c1a4d4 BUADDemo`-[BUPlistStorage setObject:forKey:] + 136
    frame #6: 0x0000000102c06c68 BUADDemo`-[BUDiskCache setObject:forKey:] + 96
    frame #7: 0x0000000102c16e74 BUADDemo`-[BUPersistence _pbu_internal_setObject:forKey:] + 120
    frame #8: 0x0000000102f2075c BUADDemo`-[CSJTrackerStorage _pbu_internal_insertV1Track:] + 904
    frame #9: 0x0000000102f1baa0 BUADDemo`-[CSJTrackerProxy saveData:] + 76
    frame #10: 0x0000000102f1ba0c BUADDemo`__46-[CSJTrackerProxy startHandleTrack:clockType:]_block_invoke + 64
    frame #11: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #12: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #13: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #14: 0x0000000104a326b0 libdispatch.dylib`_dispatch_root_queue_drain + 972
    frame #15: 0x0000000104a32e6c libdispatch.dylib`_dispatch_worker_thread2 + 196
    frame #16: 0x00000001fb4f4dbc libsystem_pthread.dylib`_pthread_wqthread + 228
  thread #10
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #11, name = 'com.buadsdk.permanent.4.5.1.6.thread'
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x000000018416bc30 CoreFoundation`__CFRunLoopServiceMachPort + 160
    frame #5: 0x00000001841701ac CoreFoundation`__CFRunLoopRun + 1232
    frame #6: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #7: 0x0000000184d6e3b4 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
    frame #8: 0x0000000184d6eb5c Foundation`-[NSRunLoop(NSRunLoop) run] + 64
    frame #9: 0x0000000102f17b10 BUADDemo`-[CSJThreadMonitor threadEntryPoint:] + 352
    frame #10: 0x0000000184db5d98 Foundation`__NSThread__start__ + 716
    frame #11: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
  thread #12, queue = 'com.bytedance.4.5.1.6.concurrent.foundation.BUPlistStorage.CSJBUEventTrack_CN.plist_plistStorage'
    frame #0: 0x00000001c3484b9c libsystem_kernel.dylib`swtch_pri + 8
    frame #1: 0x00000001fb4fa73c libsystem_pthread.dylib`cthread_yield + 32
    frame #2: 0x0000000103fd0e94 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::internal_sched_yield() + 16
    frame #3: 0x0000000103fd3f50 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StaticSpinMutex::LockSlow() + 64
    frame #4: 0x0000000103fdd93c libclang_rt.asan_ios_dynamic.dylib`__sanitizer::PersistentAllocator<unsigned long>::refillAndAlloc(unsigned long) + 300
    frame #5: 0x0000000103fdccb0 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StackDepotNode::store(unsigned int, __sanitizer::StackTrace const&, unsigned long long) + 116
    frame #6: 0x0000000103fdd098 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) + 464
    frame #7: 0x0000000103f7dcac libclang_rt.asan_ios_dynamic.dylib`__asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) + 880
    frame #8: 0x0000000103f7e114 libclang_rt.asan_ios_dynamic.dylib`__asan::Allocator::Calloc(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) + 80
    frame #9: 0x0000000103f7e098 libclang_rt.asan_ios_dynamic.dylib`__asan::asan_calloc(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) + 40
    frame #10: 0x0000000103fb8be0 libclang_rt.asan_ios_dynamic.dylib`__sanitizer_mz_calloc + 248
    frame #11: 0x000000019bb17660 libsystem_malloc.dylib`_malloc_zone_calloc + 88
    frame #12: 0x0000000184173368 CoreFoundation`__CFBasicHashRehash + 208
    frame #13: 0x0000000184184e9c CoreFoundation`__CFBasicHashAddValue + 108
    frame #14: 0x00000001841c52b8 CoreFoundation`CFDictionarySetValue + 340
    frame #15: 0x0000000184d88f60 Foundation`_decodeObjectBinary + 2324
    frame #16: 0x0000000184d71868 Foundation`_decodeObject + 184
    frame #17: 0x0000000184d8cb10 Foundation`-[NSKeyedUnarchiver decodeObjectForKey:] + 168
    frame #18: 0x0000000184de6470 Foundation`+[NSKeyedUnarchiver unarchiveObjectWithData:] + 68
    frame #19: 0x0000000102f1feec BUADDemo`__62-[CSJTrackerStorage _pbu_internal_updateV1TrackOfIDs:sending:]_block_invoke_2 + 212
    frame #20: 0x0000000184172448 CoreFoundation`__NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 24
    frame #21: 0x00000001841a26cc CoreFoundation`-[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 156
    frame #22: 0x0000000102f1fd8c BUADDemo`__62-[CSJTrackerStorage _pbu_internal_updateV1TrackOfIDs:sending:]_block_invoke + 284
    frame #23: 0x0000000102c1a820 BUADDemo`__49-[BUPlistStorage updateObjectsForKeys:WithBlock:]_block_invoke + 136
    frame #24: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #25: 0x0000000104a2f888 libdispatch.dylib`_dispatch_lane_barrier_sync_invoke_and_complete + 172
    frame #26: 0x0000000102c1a760 BUADDemo`-[BUPlistStorage updateObjectsForKeys:WithBlock:] + 152
    frame #27: 0x0000000102c06bf0 BUADDemo`-[BUDiskCache updateObjectsForKeys:WithBlock:] + 116
    frame #28: 0x0000000102c16f24 BUADDemo`-[BUPersistence _pbu_internal_updateObjectsForKeys:WithBlock:] + 140
    frame #29: 0x0000000102f1fc54 BUADDemo`-[CSJTrackerStorage _pbu_internal_updateV1TrackOfIDs:sending:] + 184
    frame #30: 0x0000000102f1bbcc BUADDemo`-[CSJTrackerProxy startSendTrack:v1TrackIDs:] + 172
    frame #31: 0x0000000102f1a74c BUADDemo`-[CSJTrackerCleaner _sendTracks:] + 700
    frame #32: 0x0000000102f1a028 BUADDemo`__32-[CSJTrackerCleaner startClean:]_block_invoke + 1200
    frame #33: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #34: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #35: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #36: 0x0000000104a26170 libdispatch.dylib`_dispatch_lane_serial_drain + 988
    frame #37: 0x0000000104a26e98 libdispatch.dylib`_dispatch_lane_invoke + 420
    frame #38: 0x0000000104a33cb4 libdispatch.dylib`_dispatch_workloop_worker_thread + 740
    frame #39: 0x00000001fb4f4df8 libsystem_pthread.dylib`_pthread_wqthread + 288
  thread #13
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #14
    frame #0: 0x00000001fb4f4b90 libsystem_pthread.dylib`start_wqthread
  thread #15, queue = 'com.apple.CFNetwork.LoaderQ'
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x00000001fb5342ac libxpc.dylib`_xpc_pipe_mach_msg + 56
    frame #5: 0x00000001fb533c84 libxpc.dylib`_xpc_send_serializer + 88
    frame #6: 0x00000001fb533a64 libxpc.dylib`_xpc_pipe_simpleroutine + 128
    frame #7: 0x00000001a564068c libsystem_trace.dylib`___os_activity_stream_reflect_block_invoke + 40
    frame #8: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #9: 0x0000000104a21b3c libdispatch.dylib`_dispatch_block_invoke_direct + 368
    frame #10: 0x0000000104a219bc libdispatch.dylib`dispatch_block_perform + 112
    frame #11: 0x00000001a56400dc libsystem_trace.dylib`_os_activity_stream_reflect + 564
    frame #12: 0x00000001a564429c libsystem_trace.dylib`_os_log_impl_stream + 500
    frame #13: 0x00000001a563464c libsystem_trace.dylib`_os_log_impl_flatten_and_send + 7128
    frame #14: 0x00000001a56311d8 libsystem_trace.dylib`_os_log + 152
    frame #15: 0x00000001a563685c libsystem_trace.dylib`_os_log_impl + 24
    frame #16: 0x0000000184950758 CFNetwork`___lldb_unnamed_symbol3295 + 1860
    frame #17: 0x000000018493c654 CFNetwork`___lldb_unnamed_symbol3074 + 1144
    frame #18: 0x000000018493b098 CFNetwork`___lldb_unnamed_symbol3055 + 116
    frame #19: 0x000000018496e3e8 CFNetwork`___lldb_unnamed_symbol3689 + 32
    frame #20: 0x000000018492ef20 CFNetwork`___lldb_unnamed_symbol2904 + 60
    frame #21: 0x0000000103fb727c libclang_rt.asan_ios_dynamic.dylib`__wrap_dispatch_async_block_invoke + 196
    frame #22: 0x0000000104a1c60c libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #23: 0x0000000104a1e0c0 libdispatch.dylib`_dispatch_client_callout + 20
    frame #24: 0x0000000104a26170 libdispatch.dylib`_dispatch_lane_serial_drain + 988
    frame #25: 0x0000000104a26ecc libdispatch.dylib`_dispatch_lane_invoke + 472
    frame #26: 0x0000000104a2851c libdispatch.dylib`_dispatch_workloop_invoke + 2368
    frame #27: 0x0000000104a33cb4 libdispatch.dylib`_dispatch_workloop_worker_thread + 740
    frame #28: 0x00000001fb4f4df8 libsystem_pthread.dylib`_pthread_wqthread + 288
  thread #16, name = 'com.apple.NSURLConnectionLoader'
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x000000018416bc30 CoreFoundation`__CFRunLoopServiceMachPort + 160
    frame #5: 0x00000001841701ac CoreFoundation`__CFRunLoopRun + 1232
    frame #6: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #7: 0x0000000184b6f704 CFNetwork`___lldb_unnamed_symbol14269 + 392
    frame #8: 0x0000000184db5d98 Foundation`__NSThread__start__ + 716
    frame #9: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
  thread #17
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x000000018416bc30 CoreFoundation`__CFRunLoopServiceMachPort + 160
    frame #5: 0x00000001841701ac CoreFoundation`__CFRunLoopRun + 1232
    frame #6: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #7: 0x0000000184202b38 CoreFoundation`CFRunLoopRun + 64
    frame #8: 0x0000000102d03fec BUADDemo`-[CSJAdPCMThreadManager task] + 228
    frame #9: 0x0000000184db5d98 Foundation`__NSThread__start__ + 716
    frame #10: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
  thread #18, name = 'NetworkCacheThread-0-tid:50435'
    frame #0: 0x00000001c3484b9c libsystem_kernel.dylib`swtch_pri + 8
    frame #1: 0x00000001fb4fa73c libsystem_pthread.dylib`cthread_yield + 32
    frame #2: 0x0000000103fd0e94 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::internal_sched_yield() + 16
    frame #3: 0x0000000103fd3f50 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StaticSpinMutex::LockSlow() + 64
    frame #4: 0x0000000103fdd93c libclang_rt.asan_ios_dynamic.dylib`__sanitizer::PersistentAllocator<unsigned long>::refillAndAlloc(unsigned long) + 300
    frame #5: 0x0000000103fdccb0 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StackDepotNode::store(unsigned int, __sanitizer::StackTrace const&, unsigned long long) + 116
    frame #6: 0x0000000103fdd098 libclang_rt.asan_ios_dynamic.dylib`__sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) + 464
    frame #7: 0x0000000103f7dcac libclang_rt.asan_ios_dynamic.dylib`__asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) + 880
    frame #8: 0x0000000103f7e114 libclang_rt.asan_ios_dynamic.dylib`__asan::Allocator::Calloc(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) + 80
    frame #9: 0x0000000103f7e098 libclang_rt.asan_ios_dynamic.dylib`__asan::asan_calloc(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*) + 40
    frame #10: 0x0000000103fb8be0 libclang_rt.asan_ios_dynamic.dylib`__sanitizer_mz_calloc + 248
    frame #11: 0x000000019bb17660 libsystem_malloc.dylib`_malloc_zone_calloc + 88
    frame #12: 0x0000000184173368 CoreFoundation`__CFBasicHashRehash + 208
    frame #13: 0x0000000184184e9c CoreFoundation`__CFBasicHashAddValue + 108
    frame #14: 0x00000001841788ac CoreFoundation`CFBasicHashAddValue + 2512
    frame #15: 0x00000001841c0960 CoreFoundation`CFDictionaryAddValue + 340
    frame #16: 0x00000001853b842c Foundation`_decodeObject + 1376
    frame #17: 0x0000000184d7d058 Foundation`-[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 148
    frame #18: 0x0000000184d8137c Foundation`_NSXPCSerializationDecodeTypedObjCValuesFromArray + 848
    frame #19: 0x0000000184db2ab8 Foundation`_NSXPCSerializationDecodeInvocationArgumentArray + 416
    frame #20: 0x00000001853b8b70 Foundation`-[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:] + 708
    frame #21: 0x00000001853b8880 Foundation`-[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:] + 76
    frame #22: 0x0000000184da53b0 Foundation`-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 252
    frame #23: 0x00000001853b3968 Foundation`__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188
    frame #24: 0x0000000184d95b58 Foundation`-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2300
    frame #25: 0x00000001841929c0 CoreFoundation`___forwarding___ + 1016
    frame #26: 0x0000000184191d90 CoreFoundation`_CF_forwarding_prep_0 + 96
    frame #27: 0x0000000184598ce8 CoreServices`__51-[LSApplicationWorkspace deviceIdentifierForVendor]_block_invoke + 264
    frame #28: 0x000000018458dda0 CoreServices`_LSRetryForConnectionInterrupted + 56
    frame #29: 0x000000018459f514 CoreServices`-[LSApplicationWorkspace deviceIdentifierForVendor] + 160
    frame #30: 0x000000018b938e80 UIKitCore`-[UIDevice identifierForVendor] + 40
    frame #31: 0x00000001029471c0 BUADDemo`___lldb_unnamed_symbol124602 + 5152
    frame #32: 0x0000000102925fac BUADDemo`___lldb_unnamed_symbol124069 + 136
    frame #33: 0x00000001029264f0 BUADDemo`___lldb_unnamed_symbol124070 + 1312
    frame #34: 0x0000000102923cac BUADDemo`___lldb_unnamed_symbol124065 + 4060
    frame #35: 0x00000001028cf354 BUADDemo`___lldb_unnamed_symbol121927 + 52
    frame #36: 0x0000000102927bec BUADDemo`___lldb_unnamed_symbol124148 + 56
    frame #37: 0x00000001029276e4 BUADDemo`___lldb_unnamed_symbol124140 + 372
    frame #38: 0x00000001028c5fc8 BUADDemo`___lldb_unnamed_symbol121605 + 404
    frame #39: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
* thread #19, name = 'NetworkCacheThread-1-tid:50691', stop reason = breakpoint 2.1
  * frame #0: 0x00000001a563dd24 libsystem_trace.dylib`os_log_fault_default_callback
    frame #1: 0x00000001a5634328 libsystem_trace.dylib`_os_log_impl_flatten_and_send + 6324
    frame #2: 0x00000001a56311d8 libsystem_trace.dylib`_os_log + 152
    frame #3: 0x00000001a5639184 libsystem_trace.dylib`_os_log_fault_impl + 24
    frame #4: 0x000000018529e96c Foundation`-[NSCoder _warnAboutPlistType:forKey:missingInAllowedClasses:] + 356
    frame #5: 0x0000000184d848f8 Foundation`-[NSKeyedUnarchiver _validatePropertyListClass:forKey:] + 252
    frame #6: 0x0000000184d88820 Foundation`_decodeObjectBinary + 468
    frame #7: 0x0000000184dc9234 Foundation`-[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1344
    frame #8: 0x0000000184dc297c Foundation`-[NSDictionary(NSDictionary) initWithCoder:] + 152
    frame #9: 0x0000000184d88f6c Foundation`_decodeObjectBinary + 2336
    frame #10: 0x0000000184d71868 Foundation`_decodeObject + 184
    frame #11: 0x0000000184d8cb10 Foundation`-[NSKeyedUnarchiver decodeObjectForKey:] + 168
    frame #12: 0x0000000184d83eb8 Foundation`-[NSKeyedUnarchiver decodeObjectOfClasses:forKey:] + 328
    frame #13: 0x0000000184d7fb58 Foundation`-[NSCoder __tryDecodeObjectForKey:error:decodeBlock:] + 96
    frame #14: 0x0000000184da2f48 Foundation`-[NSCoder decodeTopLevelObjectOfClasses:forKey:error:] + 128
    frame #15: 0x0000000184d9f4e4 Foundation`+[NSKeyedUnarchiver unarchivedObjectOfClasses:fromData:error:] + 100
    frame #16: 0x0000000184dbb25c Foundation`+[NSKeyedUnarchiver unarchivedObjectOfClass:fromData:error:] + 104
    frame #17: 0x00000001029522d0 BUADDemo`___lldb_unnamed_symbol125034 + 484
    frame #18: 0x00000001029519ac BUADDemo`___lldb_unnamed_symbol125031 + 276
    frame #19: 0x0000000102951e68 BUADDemo`___lldb_unnamed_symbol125032 + 448
    frame #20: 0x0000000102900f04 BUADDemo`___lldb_unnamed_symbol123035 + 44
    frame #21: 0x00000001029408fc BUADDemo`___lldb_unnamed_symbol124301 + 176
    frame #22: 0x000000010290e6c4 BUADDemo`___lldb_unnamed_symbol123421 + 76
    frame #23: 0x000000010292dfdc BUADDemo`___lldb_unnamed_symbol124238 + 1748
    frame #24: 0x00000001029336d0 BUADDemo`___lldb_unnamed_symbol124240 + 11976
    frame #25: 0x00000001028cf4b8 BUADDemo`___lldb_unnamed_symbol121929 + 224
    frame #26: 0x0000000102927bec BUADDemo`___lldb_unnamed_symbol124148 + 56
    frame #27: 0x00000001029276e4 BUADDemo`___lldb_unnamed_symbol124140 + 372
    frame #28: 0x00000001028c5fc8 BUADDemo`___lldb_unnamed_symbol121605 + 404
    frame #29: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
  thread #20, name = 'com.apple.CoreMotion.MotionThread'
    frame #0: 0x00000001c3484b48 libsystem_kernel.dylib`mach_msg2_trap + 8
    frame #1: 0x00000001c3497008 libsystem_kernel.dylib`mach_msg2_internal + 80
    frame #2: 0x00000001c3497248 libsystem_kernel.dylib`mach_msg_overwrite + 388
    frame #3: 0x00000001c348508c libsystem_kernel.dylib`mach_msg + 24
    frame #4: 0x000000018416bc30 CoreFoundation`__CFRunLoopServiceMachPort + 160
    frame #5: 0x00000001841701ac CoreFoundation`__CFRunLoopRun + 1232
    frame #6: 0x0000000184183bac CoreFoundation`CFRunLoopRunSpecific + 612
    frame #7: 0x0000000184202b38 CoreFoundation`CFRunLoopRun + 64
    frame #8: 0x00000001969472ec CoreMotion`___lldb_unnamed_symbol1582 + 1208
    frame #9: 0x00000001fb4f56cc libsystem_pthread.dylib`_pthread_start + 148
(lldb) 

Additional context | 附言

Add any other context about the problem here. | 请留下你认为可以帮助解决这个问题的任何信息。

2022-07-14 17:39:31.041019+0800 BUADDemo[2078:681428] [UIFocus] UITableView implements focusItemsInRect: - caching for linear focus movement is limited as long as this view is on screen.
2022-07-14 17:39:31.624505+0800 BUADDemo[2078:681710] Metal API Validation Enabled
2022-07-14 17:39:31.920468+0800 BUADDemo[2078:681428] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2022-07-14 17:39:31.920613+0800 BUADDemo[2078:681428] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2022-07-14 17:39:31.973680+0800 BUADDemo[2078:681713]  - <Google>[I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-2547387438729744~7982320892
2022-07-14 17:39:31.974353+0800 BUADDemo[2078:681713]  - <Google>[I-ACS023007] Analytics v.81500000 started
2022-07-14 17:39:31.975437+0800 BUADDemo[2078:681713]  - <Google>[I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2022-07-14 17:39:32.007618+0800 BUADDemo[2078:681705] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/hardware, setting to zero
2022-07-14 17:39:32.068790+0800 BUADDemo[2078:681705] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/MobileSoftwareUpdate, setting to zero
2022-07-14 17:39:32.082138+0800 BUADDemo[2078:681717] ----------App launch,init BULogManager sharedInstance,log base info----------

2022-07-14 17:39:32.082490+0800 BUADDemo[2078:681717] iOS:16.0, model:iPadOS, screen:[1024x768]

2022-07-14 17:39:32.084317+0800 BUADDemo[2078:681724] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[BUFoundation](null)

2022-07-14 17:39:32.140174+0800 BUADDemo[2078:681705] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/hardware, setting to zero
2022-07-14 17:39:32.177999+0800 BUADDemo[2078:681717]  - <Google>[I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2022-07-14 17:39:32.199905+0800 BUADDemo[2078:681705] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/MobileSoftwareUpdate, setting to zero
2022-07-14 17:39:32.223570+0800 BUADDemo[2078:681705] METASEC:--Error--:MSHttpInterceptorImpl:Bind fail
2022-07-14 17:39:32.260825+0800 BUADDemo[2078:681705] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[BUFoundation](null)

2022-07-14 17:39:32.261154+0800 BUADDemo[2078:681715] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[Splash]当前rit位(800546808)的开屏策略是:不使用缓存广告的逻辑,每次load开屏广告时仅请求实时广告(value:0)

2022-07-14 17:39:32.262373+0800 BUADDemo[2078:681724] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[BUFoundation](null)

2022-07-14 17:39:32.263726+0800 BUADDemo[2078:681724] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[BUFoundation](null)

2022-07-14 17:39:32.326604+0800 BUADDemo[2078:681724] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

2022-07-14 17:39:32.331025+0800 BUADDemo[2078:681714] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

2022-07-14 17:39:32.367270+0800 BUADDemo[2078:681702] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

2022-07-14 17:39:32.604505+0800 BUADDemo[2078:681714] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

2022-07-14 17:39:32.619819+0800 BUADDemo[2078:681702]  - <Google>[I-ACS023012] Analytics collection enabled
2022-07-14 17:39:32.910061+0800 BUADDemo[2078:681428] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/hardware, setting to zero
2022-07-14 17:39:32.944782+0800 BUADDemo[2078:681428] [client] 114 CDPurgeableResultCache _recentPurgeableTotals no result for /private/var/MobileSoftwareUpdate, setting to zero
2022-07-14 17:39:32.954978+0800 BUADDemo[2078:681714] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏-实时-物料成功

2022-07-14 17:39:32.956457+0800 BUADDemo[2078:681713] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[CustomImageFileCache]开屏图片缓存,穿山甲文件(18ba58b95364182f8d27254444bf989f)缓存存在

2022-07-14 17:39:32.958900+0800 BUADDemo[2078:681709] 2022-07-14 05:39:32:[BUAdSDK-4.5.1.6]-[debug]-[CustomImageFileCache]开屏图片缓存,穿山甲文件(18ba58b95364182f8d27254444bf989f)缓存存在-并且拿到数据

2022-07-14 17:39:33.073044+0800 BUADDemo[2078:681705] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏-实时-图片成功

2022-07-14 17:39:33.074038+0800 BUADDemo[2078:681715] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏-未超时

2022-07-14 17:39:33.074420+0800 BUADDemo[2078:681715] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏-未超时-有数据-cache-0

2022-07-14 17:39:33.079855+0800 BUADDemo[2078:681711] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏相关阶段(计算时间阶段):最大可能的时长:3.00,预留时长:0.10, 最大可能留给动态布局的时长:2.90

2022-07-14 17:39:33.080402+0800 BUADDemo[2078:681711] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏相关阶段(网络耗时):0.82

2022-07-14 17:39:33.080605+0800 BUADDemo[2078:681428] 【BUAdDemo】SplashAdView In AppDelegate (splashAdDidLoad:) total run time: 0.820191s, extraMsg:mediaExt {
    "ad_id" = 1735846819501096;
    "ad_package_name" = "com.xunmeng.pinduoduo";
    "creative_id" = 1735846824878126;
    "image_url" = "http://p26-be-pack-sign.pglstatp-toutiao.com/web.business.image/202206125d0dba1b04517b474917b362~tplv-qgppglrh0x-c1:2048:1536:q60.jpeg?x-expires=1942272000&x-signature=3XlWoGKTj4cpCW7ssNsU41Bs3fk%3D";
    lurl = "https://api-access.pangolin-sdk-toutiao.com/api/ad/union/s2s_bidding/loss/?req_id=7DCDC9A4-C7D0-41ED-8232-0E1662DA94E8u191&ttdsp_adx_index=-1&rit=800546808&extra=3nungQnG2dTol0zCeNz3GHux5sCw68EaZOyQImhWkVbyrPbn6%2BsyBK5dukuAa4%2Bvxb0pMiD6H0Iat6AYDtu0zCnUeUgSjd5iKpWTdhYCdQbsfRPWU4cgN7JF9c0S6p3XJ2OjSUKy2qFFgPeD6ya0K0mOOHGdovdQfAii1Qlp91pY4C5OriHdnzvKHJa%2FlTEe2mRMhUGwUn2rDW2iW05ElgkS5c8KxOPVopt3DYGQyhdnPLAp31Aw35wOBu1C6C63Udp6rM8nIl7Gwh8SfUFw5Rtjim%2BSuPHfc7JlMySYF1aLAhqZ4tQSNBNsjQBdbtRobC6vnZVn7ZYCvf9Zz85UiqNZ3Hm4ATTzRtKQm6i%2F8HxyIT8USMtyDCcop5IswQ5YRjW3LN3H
2022-07-14 17:39:33.080727+0800 BUADDemo[2078:681711] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[Splash]开屏相关阶段(动态布局渲染预留时长):2.08

2022-07-14 17:39:33.081221+0800 BUADDemo[2078:681713] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[newRenderStrategy]渲染引擎-开始渲染

2022-07-14 17:39:33.082057+0800 BUADDemo[2078:681713] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[info]-[LoadDuration]CSJADLoadContext dealloc | self: <CSJADLoadContext: 0x17d48a5d0>

2022-07-14 17:39:33.082475+0800 BUADDemo[2078:681713] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[cover]slotType:开屏广告(value:3), feedADMode:图片垂直样式(value:16)

2022-07-14 17:39:33.084229+0800 BUADDemo[2078:681713] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[info]-[cover]兜底view的类:CSJFullScreenSplashCoverView

2022-07-14 17:39:33.216567+0800 BUADDemo[2078:681714] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[newRenderStrategy]渲染引擎-结束渲染. error:(null), successViewClass:CSJFullScreenSplashCoverView

2022-07-14 17:39:33.228954+0800 BUADDemo[2078:681724] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[CustomImageFileCache]开屏图片缓存(开屏自渲染):开屏图片设置,使用穿山甲缓存(18ba58b95364182f8d27254444bf989f)图片设置成功了(http://p26-be-pack-sign.pglstatp-toutiao.com/web.business.image/202206125d0dba1b04517b474917b362~tplv-qgppglrh0x-c1:2048:1536:q60.jpeg?x-expires=1942272000&x-signature=3XlWoGKTj4cpCW7ssNsU41Bs3fk%3D)

2022-07-14 17:39:33.238182+0800 BUADDemo[2078:681794] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1e4661df8) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.objects', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x1e465b6b0) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2022-07-14 17:39:33.238564+0800 BUADDemo[2078:681794] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1e4661df8) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x1e465b6b0) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
2022-07-14 17:39:33.245487+0800 BUADDemo[2078:681715] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

2022-07-14 17:39:33.246721+0800 BUADDemo[2078:681713] 2022-07-14 05:39:33:[BUAdSDK-4.5.1.6]-[debug]-[other]logstatusCode==200

Message from debugger: Terminated due to signal 9
iOSleep commented 2 years ago

Xcode 13 打开木有问题,但是Xcode 14 beta 有问题

nne998 commented 2 years ago

一样的问题,激励视频也是

HCongByte commented 1 year ago

问题已解决,请更新Ads-CN,版本4.7.1.1或4.8.0.3