AVPlayer libBacktraceRecording.dylib macOS App Crash

I am currently developing a macOS application and from time to time I get a strange error. I am using AVPlayer for live streaming video. Everything works fine, but after some time streaming the application crashed with the following error:

libBacktraceRecording.dylib`__gcd_queue_item_enqueue_hook_block_invoke:
    0x10019fe32 <+0>:  pushq  %rbp
    0x10019fe33 <+1>:  movq   %rsp, %rbp
->  0x10019fe36 <+4>:  movq   0x20(%rsi), %rax
    0x10019fe3a <+8>:  movq   0x20(%rdi), %rcx
    0x10019fe3e <+12>: cmpq   0x8(%rcx), %rax
    0x10019fe42 <+16>: sete   %al
    0x10019fe45 <+19>: popq   %rbp
    0x10019fe46 <+20>: retq

And the message in the console log looks like this:

2017-05-02 14:02:36.909336+0200 SampleApp[3460:236302] sendMessageWithCategory: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
2017-05-02 14:02:36.909421+0200 SampleApp[3460:236302] initWithSessionInfo: XPC connection interrupted
2017-05-02 14:02:36.909548+0200 SampleApp[3460:236302] sendMessageWithCategory: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.rtcreportingd" UserInfo={NSDebugDescription=connection to service named com.apple.rtcreportingd}
(lldb)  
+6
source share

Source: https://habr.com/ru/post/1016937/


All Articles