iPad app Crashed: XPC API Misuse: Over-resume of a connection.

I received the following crash report via Crashlytics. I recently added background download support in our app


#15. Crashed: XPC API Misuse: Over-resume of a connection.

0 libxpc.dylib 0x18074d71c _xpc_api_misuse + 52

1 libxpc.dylib 0x18074d71c _xpc_api_misuse + 52

2 libxpc.dylib 0x180739b34 xpc_connection_resume + 76

3 CFNetwork 0x181d34528 -[__NSURLBackgroundSession setupXPCConnection] + 304

4 CFNetwork 0x181d35330 -[__NSURLBackgroundSession ensureRemoteSession] + 64

5 libdispatch.dylib 0x1804fe9e0 _dispatch_call_block_and_release + 24

6 libdispatch.dylib 0x1804fe9a0 _dispatch_client_callout + 16

7 libdispatch.dylib 0x18050cad4 _dispatch_queue_serial_drain + 928

8 libdispatch.dylib 0x1805022cc _dispatch_queue_invoke + 884

9 libdispatch.dylib 0x18050cfa8 _dispatch_queue_override_invoke + 344

10 libdispatch.dylib 0x18050ea50 _dispatch_root_queue_drain + 540

11 libdispatch.dylib 0x18050e7d0 _dispatch_worker_thread3 + 124

12 libsystem_pthread.dylib 0x180707100 _pthread_wqthread + 1096

13 libsystem_pthread.dylib 0x180706cac start_wqthread + 4


I am seeing this crash in the latest version of the app. This crash has been reported only once as of now. I will update this thread as I receive more information. I have seen other threads that discuss similar crashes but not this exact one. I did notice that one user did run into this crash and filed a bug with number: 28952752. However, i am not sure what became of that.

Replies

Thanks for opening a new thread about this. I have to stress that the primary symptom here is very generic and thus it can crop up in a lot of different ways (I think the old thread on this had three different variants of this).

With regards your specific issue, I have a question and a request:

  • You wrote:

    This crash has been reported only once as of now.

    What is OS version was that.

  • If you have an Apple crash report for this, please post it.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"