首页 > 解决方案 > com.apple.coremedia.player.async 上的 iOS 12-only QuartzCore 崩溃

问题描述

我有一个崩溃报告QuartzCore这似乎只发生在 iOS 12 上。它崩溃了com.apple.coremedia.player.async

我在Apple Developer Forums上找到了几份类似的报告,但还没有提供解决方案。

这是完整的堆栈跟踪(iOS 12.0.1):

Crashed: com.apple.coremedia.player.async.0x283b5c240
0  QuartzCore                     0x18f8ad578 X::Ref<CA::Shape>::operator=(CA::Shape*) + 20
1  QuartzCore                     0x18f8ad434 CABackingStoreGetFrontTexture(CABackingStore*, CGColorSpace*) + 348
2  QuartzCore                     0x18f8ad2a8 CABackingStoreRetainFrontTexture + 48
3  QuartzCore                     0x18f9d4e54 -[CALayer(CALayerPrivate) _copyRenderLayer:layerFlags:commitFlags:] + 676
4  QuartzCore                     0x18f9da9e4 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 448
5  QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
6  QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
7  QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
8  QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
9  QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
10 QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
11 QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
12 QuartzCore                     0x18f9da928 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 260
13 QuartzCore                     0x18f92e528 CA::Context::commit_transaction(CA::Transaction*) + 3240
14 QuartzCore                     0x18f95c2f4 CA::Transaction::commit() + 608
15 MediaToolbox                   0x18fe4d300 remoteXPCPlayer_setClientVideoLayerArray + 1284
16 MediaToolbox                   0x18fe4c598 remoteXPCPlayer_SetProperty + 340
17 MediaToolbox                   0x18fdb362c playerasync_runOneCommand + 1876
18 MediaToolbox                   0x18fdb63d0 playerasync_runAsynchronousCommandOnQueue + 172
19 libdispatch.dylib              0x18ae20484 _dispatch_client_callout + 16
20 libdispatch.dylib              0x18adc7c18 _dispatch_lane_serial_drain$VARIANT$mp + 592
21 libdispatch.dylib              0x18adc8794 _dispatch_lane_invoke$VARIANT$mp + 484
22 libdispatch.dylib              0x18adcfa60 _dispatch_root_queue_drain + 376
23 libdispatch.dylib              0x18adcf7e0 _dispatch_worker_thread + 284
24 libsystem_pthread.dylib        0x18b0012fc _pthread_body + 128
25 libsystem_pthread.dylib        0x18b00125c _pthread_start + 48
26 libsystem_pthread.dylib        0x18b004d08 thread_start + 4

我完全不知道它可能来自哪里。崩溃日志表明它可能来自视频,并且我的应用程序包含一个 Youtube 播放器,因此它可能是相关的。

有人有想法吗?如果您需要更多信息,请告诉我。

标签: iosobjective-cquartz-core

解决方案


推荐阅读