Crashes due to XPC misuse on com.apple.networking.connection queue

Originator:fjolnir
Number:rdar://22874333 Date Originated:28-Sep-2015 11:31 AM
Status:Open Resolved:
Product:iOS Product Version:9.x
Classification:Crash Reproducible:No
 
Summary:
Currently this is our #1 crash, it only happens on iOS 9 and we have been unable find the conditions required to reproduce it.

Here is the stack trace & exception text:

Thread : Crashed: XPC API Misuse: Attempt to send a message expecting a reply to  (com.apple.networking.connection.0x127202fe0)
0  libxpc.dylib                   0x0000000199f2288c _xpc_api_misuse + 52
1  libxpc.dylib                   0x0000000199f2288c _xpc_api_misuse + 52
2  libxpc.dylib                   0x0000000199f0db38 _xpc_serializer_create + 222
3  libxpc.dylib                   0x0000000199f0da1c xpc_connection_send_message + 80
4  libsystem_network.dylib        0x0000000199e70be0 net_helper_send + 256
5  libsystem_network.dylib        0x0000000199e6bc94 tcp_connection_create_waiting_reply + 84
6  libsystem_network.dylib        0x0000000199e6ee6c __tcp_connection_allocate_block_invoke + 224
7  libsystem_network.dylib        0x0000000199e7424c __net_helper_endpoint_deliver_block_invoke_2 + 44
8  libdispatch.dylib              0x0000000199cc97b0 _dispatch_call_block_and_release + 24
9  libdispatch.dylib              0x0000000199cc9770 _dispatch_client_callout + 16
10 libdispatch.dylib              0x0000000199cd575c _dispatch_queue_drain + 864
11 libdispatch.dylib              0x0000000199ccd274 _dispatch_queue_invoke + 464
12 libdispatch.dylib              0x0000000199cd762c _dispatch_root_queue_drain + 728
13 libdispatch.dylib              0x0000000199cd734c _dispatch_worker_thread3 + 112
14 libsystem_pthread.dylib        0x0000000199edd478 _pthread_wqthread + 1092
15 libsystem_pthread.dylib        0x0000000199edd028 start_wqthread + 4

Steps to Reproduce:
Unable to reproduce.

Expected Results:
Should not crash.

Actual Results:
Crashes.

Comments

Same thing here...

Thread 16 name: XPC API Misuse: Attempt to send a message expecting a reply to Dispatch queue: com.apple.networking.connection.0x14a91de10 Thread 16 Crashed: 0 libxpc.dylib 0x00000001995928fc xpcapi_misuse + 52 1 libxpc.dylib 0x000000019957dbdc xpcserializer_create + 0 2 libxpc.dylib 0x000000019957dac0 xpc_connection_send_message + 80 3 libsystem_network.dylib 0x00000001994e0bc4 net_helper_send + 256 4 libsystem_network.dylib 0x00000001994dbc68 tcp_connection_create_waiting_reply + 84 5 libsystem_network.dylib 0x00000001995056dc _tcpconnection_destination_fail_block_invoke + 232 6 libxpc.dylib 0x0000000199580c80 xpcconnection_reply_callout + 28 7 libxpc.dylib 0x0000000199580c24 xpcconnection_call_reply + 40 8 libdispatch.dylib 0x00000001993396a8 dispatchclient_callout + 16 9 libdispatch.dylib 0x00000001993456ec dispatchqueue_drain + 864 10 libdispatch.dylib 0x000000019933d1ac dispatchqueue_invoke + 464 11 libdispatch.dylib 0x00000001993475bc dispatchroot_queue_drain + 728 12 libdispatch.dylib 0x00000001993472dc dispatchworker_thread3 + 112 13 libsystem_pthread.dylib 0x000000019954d470 pthreadwqthread + 1092 14 libsystem_pthread.dylib 0x000000019954d020 start_wqthread + 4

iOS9

By m.alekperov at Nov. 10, 2015, 2:58 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!