-[LAContext init] can throw undocumented exceptions
| Originator: | avedesk | ||
| Number: | rdar://24227304 | Date Originated: | 18-Jan-2016 12:01 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.2 |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: -[LAContext init] can throw undocumented exceptions, crashing our app. Steps to Reproduce: 1. Call [LAContext init] 2. Wait for some time to get the perfect conditions (probably the TouchID "daemon" has died) Expected Results: -[LAContext init] works without problems, even if the TouchID "daemon" has died. Calling methods on LAContext instances that actually perform some real work will produce some kind of NSError Actual Results: Crash and burn. Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001808c8140 __pthread_kill + 8 1 libsystem_pthread.dylib 0x0000000180990ef8 pthread_kill + 112 2 libsystem_c.dylib 0x0000000180839dac abort + 140 3 libc++abi.dylib 0x000000018036d3f4 __cxa_bad_cast + 0 4 libc++abi.dylib 0x0000000180389e98 default_unexpected_handler() + 0 5 libobjc.A.dylib 0x0000000180394248 _objc_terminate() + 124 6 libc++abi.dylib 0x0000000180386f44 std::__terminate(void (*)()) + 16 7 libc++abi.dylib 0x000000018038685c __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0 8 libobjc.A.dylib 0x0000000180394094 _objc_exception_destructor(void*) + 0 9 CoreFoundation 0x0000000180d25848 -[NSException initWithCoder:] + 0 10 SharedUtils 0x000000018b419118 +[LAErrorHelper raiseExceptionOnError:] + 352 11 LocalAuthentication 0x000000018b70e740 -[LAContext initWithExternalizedContext:uiDelegate:] + 448 Regression: Notes:
Comments
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!