Crash in -[PKPaymentAuthorizationControllerExportedObject authorizationDidFinishWithError:] + 76

Originator:glen.tregoning
Number:rdar://19767271 Date Originated:2/9/2015
Status:Closed Resolved:Duplicate of 18685728
Product:iOS SDK Product Version:iOS 8.1.3
Classification: Reproducible:Sometimes
 
Summary:
Regularly we're seeing an app crash in -[PKPaymentAuthorizationControllerExportedObject authorizationDidFinishWithError:] + 76 about 20 minutes after showing ApplePay payment sheet.

Steps to Reproduce:
1. Tap ApplePay to make payment sheet appear and cancel (or make successful payment)
2. Keep using the app for ~20 minutes. 
3. Observe the app crash on non apple pay related page.

Expected Results:
App should not crash.

Actual Results:
App crashes.

Stack from Crashing thread:

Thread : Crashed: com.apple.NSXPCConnection.user.1613
0  libobjc.A.dylib                0x0000000197213bd0 objc_msgSend + 16
1  PassKit                        0x0000000189ffdcf0 -[PKPaymentAuthorizationControllerExportedObject authorizationDidFinishWithError:] + 76
2  Foundation                     0x0000000187034a80 message_handler + 368
3  libxpc.dylib                   0x0000000197a58c78 _xpc_connection_call_event_handler + 68
4  libxpc.dylib                   0x0000000197a568cc _xpc_connection_mach_event + 1472
5  libdispatch.dylib              0x0000000197851a28 _dispatch_client_callout4 + 16
6  libdispatch.dylib              0x000000019786363c _dispatch_mach_cancel_invoke + 60
7  libdispatch.dylib              0x00000001978547e8 _dispatch_mach_invoke + 520
8  libdispatch.dylib              0x000000019785c2d4 _dispatch_queue_drain + 2008
9  libdispatch.dylib              0x0000000197854a5c _dispatch_queue_invoke + 132
10 libdispatch.dylib              0x000000019785e318 _dispatch_root_queue_drain + 720
11 libdispatch.dylib              0x000000019785fc4c _dispatch_worker_thread3 + 108
12 libsystem_pthread.dylib        0x0000000197a3122c _pthread_wqthread + 816

Version:
iOS 8.2

Configuration:
iPhone 6

Comments

I confirmed with Apple engineers @ WWDC that this is an Apple bug and that it should be fixed in iOS 9.

This might be fixed in iOS 9b1. Has anyone seen this crasher in iOS 9?

By mickey.reiss at June 12, 2015, 11:33 p.m. (reply...)

I am seeing this crash as well -- and have been for a while. Happens to iOS 8.3 clients too. Anyone have a successful workaround?


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!