Sorry, i misclicked the button mark as accepted answer there.
No worries; I don’t pay any attention to that flag (-:
Unfortunately no.
Hmmm, that makes it hard.
First up, note frame 7 of thread 13:
7 Test … FIRCLSTerminateHandler() + 352
This suggests you have some sort of third-party crash reporter in play. Given that, it’s hard to be sure how much to trust the rest of the crash report. For more background on this, see Implementing Your Own Crash Reporter.
So, assuming that the third-party crash reporter didn’t mess things up too badly, the app crashed because it threw an unhandled language exception. The backtrace looks like this:
0 CoreFoundation … __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib … objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation … -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:147)
3 CoreFoundation … ___forwarding___ + 1728 (NSForwarding.m:3577)
4 CoreFoundation … _CF_forwarding_prep_0 + 96
5 Pegasus … __58-[PGPictureInPictureProxy __cleanupWithCompletionHandler:]_block_invoke + 272 (PGPictureInPictureProxy.m:1240)
6 libdispatch.dylib … _dispatch_call_block_and_release + 32 (init.c:1517)
Frame 6 and higher are Dispatch goo indicating that someone dispatched a block to a queue. Frame 5 is the block that was scheduled, namely a block within the -[PGPictureInPictureProxy __cleanupWithCompletionHandler:]
method. Finally, frames 4 through 0 are the usual stuff you see if you call a method on an object of the wrong type. Based on the exception message you posted, it looks like that object was an instance of _NSXPCDistantObject
, which is a private class within Foundation that’s involved in proxying XPC requests.
As to what’s causing this, it’s hard to say. Normally crashes like this are commonly caused by memory management issues, but the XPC proxying thing suggests that there might be something else in play. Two suggestions:
-
Run your app with the standard memory debugging tools, and especially zombies. If this a memory management issue, those tools might make the problem more reproducible.
-
Talk with the author of -[PGPictureInPictureProxy __cleanupWithCompletionHandler:]
to find out what’s going on at line 1240 of PGPictureInPictureProxy.m
.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"