abort program
SIG是信号名的通用前缀。ABRT是abort program的缩写。
当操作系统发现不安全的情况时,它能够对这种情况进行更多的控制,必要的话,它能要求进程进行清理工作。在调试造成此信号的底层错误时,并没有什么妙招。 如 cocos2d 或 UIKit 等框架通常会在特定的前提条件没有满足或一些糟糕的情况出现时调用 C 函数 abort (由它来发送此信号)。
如果是iOS系统:
发生在UIApplication WillTerminate 时,是主动退出应用时发生的,所以对用户没什么实际影响。
iOS10访问相册时发生,目前只发生在iOS10+系统,需要修改工程plist文件,加入访问权限提示信息。
补充:iOS 10 has updated privacy policy and implemented new privacy rules. You have to update your Info.plist app with this following fields by authorisation asked.
0 libsystem_kernel.dylib__abort_with_payload + 8
1 libsystem_kernel.dylib_abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylibsystem_set_sfi_window + 0
3 TCC___TCCAccessRequest_block_invoke.85
4 TCC___CRASHING_DUE_TO_PRIVACY_VIOLATION__
5 TCC___tccd_send_block_invoke + 296
6 libxpc.dylib__xpc_connection_reply_callout + 60
7 libxpc.dylib__xpc_connection_call_reply_async + 88
8 libdispatch.dylib__dispatch_client_callout3 + 16
9 libdispatch.dylib__dispatch_mach_msg_async_reply_invoke$VARIANT$armv81 + 312
10 libdispatch.dylib__dispatch_queue_override_invoke$VARIANT$armv81 + 388
11 libdispatch.dylib__dispatch_root_queue_drain + 592
12 libdispatch.dylib__dispatch_worker_thread3 + 112
13 libsystem_pthread.dylib_pthread_wqthread + 1176
iOS 10 has updated privacy policy and implemented new privacy rules. You have to update your Info.plist app with this following fields by authorisation asked.
Description text will be displayed when authorization will be prompted.
网友评论