{"id":3701,"date":"2021-08-02T16:42:49","date_gmt":"2021-08-02T08:42:49","guid":{"rendered":"http:\/\/123.57.164.21\/?p=3701"},"modified":"2021-08-02T16:42:49","modified_gmt":"2021-08-02T08:42:49","slug":"crash%e6%97%a5%e5%bf%97%ef%bc%8c%e5%88%86%e6%9e%90%e4%b8%93%e7%94%a8","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=3701","title":{"rendered":"Crash\u65e5\u5fd7\uff0c\u5206\u6790\u4e13\u7528"},"content":{"rendered":"\n<p>      \u5f53\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u5728\u4e00\u53f0iOS \u8bbe\u5907\u4e0a\u5d29\u6e83\u65f6\uff0c\u4e00\u4efd\u201c\u5d29\u6e83\u62a5\u544a\u201d\u5c06\u5728\u8be5\u8bbe\u5907\u4e0a\u6b21\u521b\u5efa\u5e76\u5b58\u50a8\u8d77\u6765\u3002\u5d29\u6e83\u62a5\u544a\u63cf\u8ff0\u5e94\u7528\u7a0b\u5e8f\u662f\u5728\u4f55\u79cd\u6761\u4ef6\u4e0b\u5d29\u6e83\u7684\uff0c\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\u5305\u542b\u4e00\u4efd\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7ebf\u7a0b\u7684\u5b8c\u6574\u7684\u5806\u6808\u8ddf\u8e2a\u3002<\/p>\n\n\n\n<p>\u4ea7\u751f\u5d29\u6e83\u65e5\u5fd7\u7684\u539f\u56e0\uff1a<\/p>\n\n\n\n<ul><li>\u5e94\u7528\u8fdd\u53cd\u64cd\u4f5c\u7cfb\u7edf\u89c4\u5219\uff0c\u5305\u62ec\u5728\u542f\u52a8\u3001\u6062\u590d\u3001\u6302\u8d77\u3001\u9000\u51fa\u65f6watchdog\u8d85\u65f6\u3001\u7528\u6237\u5f3a\u5236\u9000\u51fa\u548c\u4f4e\u5185\u5b58\u7ec8\u6b62\u7b49\u3002<\/li><li>\u5e94\u7528\u4e2d\u6709Bug<\/li><\/ul>\n\n\n\n<p>\u4ece\u591a\u4efb\u52a1\u7a97\u53e3\u4e2d\u7ec8\u6b62\u4e00\u4e2a\u6682\u505c\u7684\u5e94\u7528\u7a0b\u5e8f\u4e0d\u4f1a\u4ea7\u751f\u5d29\u6e83\u65e5\u5fd7\u3002\u4e00\u65e6\u4e00\u4e2a\u5e94\u7528\u88ab\u6682\u505c\uff0c\u5b83\u6709\u8d44\u683c\u88abiOS\u5728\u4efb\u4f55\u65f6\u95f4\u7ec8\u6b62\uff0c\u56e0\u6b64\u4e0d\u4f1a\u4ea7\u751f\u5d29\u6e83\u65e5\u5fd7\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"32\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-1024x32.png\" alt=\"\" class=\"wp-image-3702\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-1024x32.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-300x9.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-768x24.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-1536x48.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-830x26.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-230x7.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-350x11.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20-480x15.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-20.png 1936w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul><li>\u672c\u673a\u901a\u8fc7Xcode\u7684Devices\u7a97\u53e3\u83b7\u53d6\u67d0\u4e2a\u8bbe\u5907\u7684\u5d29\u6e83\u65e5\u5fd7<\/li><li>\u8bbe\u5907\u4e0e\u7535\u8111\u4e0a\u7684iTunes Store\u540c\u6b65\u540e\uff0c\u4f1a\u5c06\u5d29\u6e83\u65e5\u5fd7\u4fdd\u5b58\u5728\u7535\u8111\u4e0a<\/li><li>\u5e94\u7528\u63d0\u4ea4\u5230App Store\u540e\uff0c\u53ef\u901a\u8fc7itunes connect\u540e\u53f0\u83b7\u53d6\u5230\u7528\u6237\u4e0a\u62a5\u7684Crash\u65e5\u5fd7\u3002<\/li><li>\u6709\u5f88\u591a\u4f18\u79c0\u7684\u7b2c\u4e09\u65b9Crash\u6536\u96c6\u7cfb\u7edf\u5927\u5927\u7684\u65b9\u4fbf\u4e86\u6211\u4eec\u6536\u96c6Crash\uff0c\u751a\u81f3\u8fd8\u5e26\u4e86\u7b26\u53f7\u5316Crash\u65e5\u5fd7\u7684\u529f\u80fd\u3002\u6bd4\u8f83\u5e38\u7528\u7684\u6709<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"http:\/\/www.cnblogs.com\/www.crashlytics.com\">Crashlytics<\/a>\uff0c<a rel=\"noreferrer noopener\" target=\"_blank\" href=\"http:\/\/www.flurry.com\/\">Flurry<\/a>\u7b49\u3002<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"32\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-1024x32.png\" alt=\"\" class=\"wp-image-3704\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-1024x32.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-300x9.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-768x24.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-1536x48.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-830x26.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-230x7.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-350x11.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21-480x15.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2021\/08\/\u56fe\u7247-21.png 1936w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong> 1.Process Information<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Incident Identifier: 66AFBBF0-7ACB-4319-97C7-6F44E09FF9EB         \/\/\u5d29\u6e83\u62a5\u544a\u7684\u552f\u4e00\u6807\u8bc6\u7b26\nCrashReporter Key:   97aec51145730a778c0d1cfdfc17c1b8c86ba4c5     \/\/\u8bbe\u5907\u6807\u8bc6\u76f8\u5bf9\u5e94\u7684\u552f\u4e00\u952e\u503c(\u5e76\u975e\u771f\u6b63\u7684\u8bbe\u5907\u7684UDID\uff0c\u4e3a\u4fdd\u62a4\u9690\u79c1iOS6\u4ee5\u540e\u5df2\u65e0\u6cd5\u83b7\u53d6)\nHardware Model:      iPad5,3                                      \/\/\u53d1\u751fCrash\u7684\u8bbe\u5907\u7c7b\u578b\nProcess:             XXXXClient [407]      \u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000    \/\/Crash\u7684\u8fdb\u7a0b\u540d\u79f0\uff0c\u901a\u5e38\u90fd\u662f\u6211\u4eec\u7684App\u7684\u540d\u5b57, []\u91cc\u9762\u662f\u5f53\u65f6\u8fdb\u7a0b\u7684ID\nPath:                \/private\/var\/mobile\/Containers\/Bundle\/Application\/0380D606-3A40-4633-A1B2-7E1F3E3D4FCA\/XXXXClient.app\/XXXXClient   \n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u53ef\u6267\u884c\u7a0b\u5e8f\u5728\u624b\u673a\u4e0a\u7684\u5b58\u50a8\u4f4d\u7f6e\uff0c\u6ce8\u610f\u8def\u5f84\u65f6\u5230x.app\/x\uff0cx.app\u5176\u5b9e\u662f\u4f5c\u4e3a\u4e00\u4e2aBundle\u7684\uff0c\u771f\u6b63\u7684\u53ef\u6267\u884c\u6587\u4ef6\u5176\u5b9e\u662fBundle\u91cc\u9762\u7684x\nIdentifier:          com.xxxx.myapp                               \/\/App\u7684Indentifier\uff0c\u901a\u5e38\u4e3a\u201ccom.xxx.yyy\u201d\nVersion:             1 (1.0.0)                                    \/\/App\u7684\u7248\u672c\u53f7\uff0c\u7531Info.plist\u4e2d\nCFBundleShortVersionString + \nCFBundleVersion\n\nCode Type:           ARM-64 (Native)\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000   \/\/App\u7684CPU\u67b6\u6784\nParent Process:      launchd [1]                                  \/\/\u5f53\u524d\u8fdb\u7a0b\u7684\u7236\u8fdb\u7a0b\uff0c\u7531\u4e8eiOS\u4e2dApp\u901a\u5e38\u90fd\u662f\u5355\u8fdb\u7a0b\u7684\uff0c\u4e00\u822c\u7236\u8fdb\u7a0b\u90fdlaunchd\n<\/pre>\n\n\n\n<p><strong> 2.Basic Information<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Date\/Time:           2016-02-19 00:34:43.449 -0800                \/\/Crash\u53d1\u751f\u7684\u65f6\u95f4\nLaunch Time:         2016-02-19 00:34:43.399 -0800               \nOS Version:          iOS 8.4 (12H143)                             \/\/\u7cfb\u7edf\u7248\u672c\uff0c\u62ec\u53f7\u5185\u7684\u6570\u5b57\u4ee3\u8868\u7684\u65f6Bulid\u53f7\nReport Version:      105                                          \/\/Crash\u65e5\u5fd7\u7684\u683c\u5f0f<\/pre>\n\n\n\n<p><strong> 3.Exception<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Exception Type:  \u3000\u3000EXC_CRASH (SIGABRT)                             \/\/\u5f02\u5e38\u7c7b\u578b\nException Subtype:                                                  \/\/v104\nException Codes: \u3000\u30000x0000000000000000, 0x0000000000000000          \/\/v105\nTriggered by Thread: 0                                              \/\/v105\nCrashed Thread                                                      \/\/v104\n<\/pre>\n\n\n\n<p><strong> \u00a04.Thread Backtrace<\/strong><\/p>\n\n\n\n<p>\u53d1\u751fCrash\u7684\u7ebf\u7a0b\u7684Crash\u8c03\u7528\u6808\uff0c\u4ece\u4e0a\u5230\u4e0b\u5206\u522b\u4ee3\u8868\u8c03\u7528\u987a\u5e8f\uff0c\u6700\u4e0a\u9762\u7684\u4e00\u4e2a\u8868\u793a\u629b\u51fa\u5f02\u5e38\u7684\u4f4d\u7f6e\uff0c\u4f9d\u6b21\u5f80\u4e0b\u53ef\u4ee5\u770b\u5230API\u7684\u8c03\u7528\u987a\u5e8f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Thread 0 name:  Dispatch queue: com.apple.main-thread\nThread 0 Crashed:\n\/\/\u7f16\u53f7  \u4e8c\u8fdb\u5236\u5e93\u540d                        \u8c03\u7528\u65b9\u6cd5\u7684\u5730\u5740       \u57fa\u672c\u5730\u5740 + \u504f\u79fb\n0   libsystem_kernel.dylib        \t0x0000000194b3b270 __pthread_kill + 8\n1   libsystem_pthread.dylib       \t0x0000000194bd916c pthread_kill + 108\n2   libsystem_c.dylib             \t0x0000000194ab2b14 abort + 108\n3   ...g_rt.asan_ios_dynamic.dylib\t0x00000001032756d0 0x103224000 + 333520\n4   ...g_rt.asan_ios_dynamic.dylib\t0x000000010326955c 0x103224000 + 283996\n5   ...g_rt.asan_ios_dynamic.dylib\t0x000000010326cf28 0x103224000 + 298792\n6   ...g_rt.asan_ios_dynamic.dylib\t0x0000000103269640 0x103224000 + 284224\n7   ...g_rt.asan_ios_dynamic.dylib\t0x000000010326d0e8 0x103224000 + 299240\n8   ...g_rt.asan_ios_dynamic.dylib\t0x000000010325ef50 0x103224000 + 241488\n9   ...g_rt.asan_ios_dynamic.dylib\t0x0000000103268d18 0x103224000 + 281880\n10  dyld                          \t0x00000001200b9234 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&amp;) + 256\n11  dyld                          \t0x00000001200b93ec ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&amp;) + 32\n12  dyld                          \t0x00000001200b5688 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&amp;, unsigned int, ImageLoader::InitializerTimingList&amp;, ImageLoader::UninitedUpwards&amp;) + 328\n13  dyld                          \t0x00000001200b561c ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&amp;, unsigned int, ImageLoader::InitializerTimingList&amp;, ImageLoader::UninitedUpwards&amp;) + 220\n14  dyld                          \t0x00000001200b54d8 ImageLoader::processInitializers(ImageLoader::LinkContext const&amp;, unsigned int, ImageLoader::InitializerTimingList&amp;, ImageLoader::UninitedUpwards&amp;) + 136\n15  dyld                          \t0x00000001200b57a0 ImageLoader::runInitializers(ImageLoader::LinkContext const&amp;, ImageLoader::InitializerTimingList&amp;) + 80\n16  dyld                          \t0x00000001200aa150 dyld::initializeMainExecutable() + 196\n17  dyld                          \t0x00000001200ad8bc dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2664\n18  dyld                          \t0x00000001200a9040 _dyld_start + 64\n<\/pre>\n\n\n\n<p><strong> 5.Thread State<\/strong><\/p>\n\n\n\n<p>Crash\u65f6\u53d1\u751f\u65f6\u523b\uff0c\u7ebf\u7a0b\u7684\u72b6\u6001\uff08\u5bc4\u5b58\u5668\u4e2d\u7684\u503c\uff09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Thread 0 crashed with ARM Thread State (64-bit):\n    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000010000\n    x4: 0x000000000000027b   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000250\n    x8: 0x0000000008000000   x9: 0x0000000004000000  x10: 0x0000000000000000  x11: 0x0000000000000018\n   x12: 0x0000000000000001  x13: 0x0000000000062aa8  x14: 0x0000000000000015  x15: 0x0000000000000000\n   x16: 0x0000000000000148  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000006\n   x20: 0x0000000198ae4310  x21: 0x0000000103280963  x22: 0x0000000000000000  x23: 0x0000000000000000\n   x24: 0x0000000000000093  x25: 0x000000016fd182d8  x26: 0x00000001200d8d11  x27: 0x000000010328c000\n   x28: 0x00000001032243d0  fp: 0x000000016fd17920   lr: 0x0000000194bd9170\n    sp: 0x000000016fd17900   pc: 0x0000000194b3b270 cpsr: 0x00000000\n<\/pre>\n\n\n\n<p><strong> 6.Binary Images<\/strong><\/p>\n\n\n\n<p>Crash\u65f6\u523bApp\u52a0\u8f7d\u7684\u6240\u6709\u7684\u5e93\uff0c\u5176\u4e2d\u7b2c\u4e00\u884c\u662fCrash\u53d1\u751f\u65f6\u6211\u4eecApp\u53ef\u6267\u884c\u6587\u4ef6\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u770b\u51fa\u4e3aarmv7\uff0c\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5305\u5f97uuid\u4f4dc0f\u2026\u2026cd65\uff0c\u89e3\u6790Crash\u7684\u65f6\u5019dsym\u6587\u4ef6\u7684uuid\u5fc5\u987b\u548c\u8fd9\u4e2a\u4e00\u6837\u624d\u80fd\u5b8c\u6210Crash\u7684\u7b26\u53f7\u5316\u89e3\u6790\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Binary Images:\n0x1000e4000 - 0x101fdffff XXXClient arm64  &lt;aa8ef7e9f9c43c7c87f4f75cf266d479> \/var\/mobile\/Containers\/Bundle\/Application\/0380D606-3A40-4633-A1B2-7E1F3E3D4FCA\/XXXXClient.app\/XXXXClient\n0x103224000 - 0x103287fff libclang_rt.asan_ios_dynamic.dylib arm64  &lt;c51061e5b8443a8e9b6c2b76628b4b95> \/var\/mobile\/Containers\/Bundle\/Application\/0380D606-3A40-4633-A1B2-7E1F3E3D4FCA\/XXXX.app\/Frameworks\/libclang_rt.asan_ios_dynamic.dylib\n0x1200a8000 - 0x1200cffff dyld arm64  &lt;de589e6153453237a6cf724cb236d83c> \/usr\/lib\/dyld\n0x1810ac000 - 0x181240fff AVFoundation arm64  &lt;b9c4b32ba43a3a798c4adcaad3608f52> \/System\/Library\/Frameworks\/AVFoundation.framework\/AVFoundation\n0x181244000 - 0x1812a8fff libAVFAudio.dylib arm64  &lt;6667f63f0f1635668dc941d6b79062e1> \/System\/Library\/Frameworks\/AVFoundation.framework\/libAVFAudio.dylib\n0x194bf0000 - 0x194bf5fff libunwind.dylib arm64  &lt;8b87982b31ad3569a95e75457cadba3e> \/usr\/lib\/system\/libunwind.dylib\n0x194bf8000 - 0x194c1bfff libxpc.dylib arm64  &lt;c9f3c08a8a3b3849a905d24911240853> \/usr\/lib\/system\/libxpc.dylib\n<\/pre>\n\n\n\n<p><strong> \u7b26\u53f7\u5316<\/strong><\/p>\n\n\n\n<p>\u5305\u542b\u5806\u6808\u8ddf\u8e2a\u7684\u5d29\u6e83\u62a5\u544a\u9700\u8981\u5148\u8fdb\u884c\u7b26\u53f7\u5316\uff08symbolicated\uff09\u624d\u53ef\u4ee5\u8fdb\u884c\u5206\u6790\u3002\u7b26\u53f7\u5316\u7684\u8fc7\u7a0b\u662f\u5c06\u5185\u5b58\u5730\u5740\u66ff\u6362\u4e3a\u4fbf\u4e8e\u4eba\u4eec\u9605\u8bfb\u7684\u51fd\u6570\u540d\u79f0\u548c\u884c\u53f7\u3002\u5047\u5982\u4f60\u901a\u8fc7Xcode\u7684Organizer\u7a97\u53e3\u83b7\u53d6\u5d29\u6e83\u65e5\u5fd7\uff0c\u90a3\u4e48\u8be5\u62a5\u544a\u5c06\u5728\u51e0\u79d2\u949f\u540e\u81ea\u52a8\u8fdb\u884c\u7b26\u53f7\u5316\u3002\u5426\u5219\u4f60\u9700\u8981\u5c06.crash\u6587\u4ef6\u5bfc\u5165\u5230Xcode\u7684Organizer\u8fdb\u884c\u7b26\u53f7\u5316\u3002<br><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/\u7b26\u53f7\u5316\u524d\n6  Rage Masters   0x0001625c        0x2a000 + 3003\n\n\/\/\u7b26\u53f7\u5316\u540e\n6  Rage Masters   0x0001625c        -[RMAppDelegate application:didFinishLaunchingWithOptions:]  (RMAppDelegate.m:35)\n<\/pre>\n\n\n\n<p><strong>\u4e00\u4e2a\u5b8c\u6574\u7684Sample<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u6253\u5f00Crash Log \u4f1a\u770b\u5230\u5982\u4e0b\u7684\u4fe1\u606f:\nIncident Identifier: AF4F2C83-8F68-47EF-B5AA-F16B067B5DF4\nCrashReporter Key:   5670de85ee1f0f3c904891536e81ec086ed4b35b\nHardware Model:      iPhone8,1\nProcess:             kidneyUser [896]\nPath:                \/private\/var\/containers\/Bundle\/Application\/48C71AA1-EB99-49B1-ABD7-2903DBA8E394\/kidneyUser.app\/kidneyUser\nIdentifier:          kidneyDiseaseHospitalUser\nVersion:             1 (1.0)\nCode Type:           ARM-64 (Native)\nParent Process:      launchd [1]\n\nDate\/Time:           2016-05-05 10:45:43.43 +0800\nLaunch Time:         2016-05-05 10:42:07.07 +0800\nOS Version:          iOS 9.3.1 (13E238)\nReport Version:      105\n\nException Type:  EXC_CRASH (SIGABRT)\nException Codes: 0x0000000000000000, 0x0000000000000000\nException Note:  EXC_CORPSE_NOTIFY\nTriggered by Thread:  0\n\nFiltered syslog:\nNone found\n\nLast Exception Backtrace:\n0   CoreFoundation                    0x181aeee38 __exceptionPreprocess + 124\n1   libobjc.A.dylib                   0x181153f80 objc_exception_throw + 56\n2   CoreData                          0x18393ab44 -[NSManagedObjectModel initWithContentsOfURL:] + 856\n3   kidneyUser                        0x1002b81d8 0x1000d8000 + 1966552\n4   kidneyUser                        0x1002b82dc 0x1000d8000 + 1966812\n5   kidneyUser                        0x1002b86a0 0x1000d8000 + 1967776\n6   kidneyUser                        0x1002b87cc 0x1000d8000 + 1968076\n7   kidneyUser                        0x1002b8024 0x1000d8000 + 1966116\n8   UIKit                             0x186cc9128 -[UIApplication _terminateWithStatus:] + 280\n9   UIKit                             0x186ee7f08 __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke2017 + 796\n10  UIKit                             0x186eeafd8 _runAfterCACommitDeferredBlocks + 292\n11  UIKit                             0x186ef8990 _cleanUpAfterCAFlushAndRunDeferredBlocks + 92\n12  UIKit                             0x186c2a4a4 _afterCACommitHandler + 96\n13  CoreFoundation                    0x181aa47b0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32\n14  CoreFoundation                    0x181aa2554 __CFRunLoopDoObservers + 372\n15  CoreFoundation                    0x181aa2984 __CFRunLoopRun + 928\n16  CoreFoundation                    0x1819ccd10 CFRunLoopRunSpecific + 384\n17  GraphicsServices                  0x1832b4088 GSEventRunModal + 180\n18  UIKit                             0x186ca1f70 UIApplicationMain + 204\n19  kidneyUser                        0x1002c71e8 0x1000d8000 + 2028008\n20  libdyld.dylib                     0x18156a8b8 start + 4\n\n\nGlobal Trace Buffer (reverse chronological seconds):\n2.434148     AppleJPEG                     0x000000018354ea88 [0x12e203600] Releasing session\n\n\n\nThread 0 name:  Dispatch queue: com.apple.main-thread\nThread 0 Crashed:\n0   libsystem_kernel.dylib            0x000000018168811c __pthread_kill + 8\n1   libsystem_pthread.dylib           0x0000000181754ef8 pthread_kill + 112\n2   libsystem_c.dylib                 0x00000001815f9dac abort + 140\n3   libc++abi.dylib                   0x000000018112d3f4 __cxa_bad_cast + 0\n4   libc++abi.dylib                   0x0000000181149e98 default_unexpected_handler() + 0\n5   libobjc.A.dylib                   0x0000000181154248 _objc_terminate() + 124\n6   libc++abi.dylib                   0x0000000181146f44 std::__terminate(void (*)()) + 16\n7   libc++abi.dylib                   0x0000000181146b10 __cxa_rethrow + 144\n8   libobjc.A.dylib                   0x0000000181154120 objc_exception_rethrow + 44\n9   CoreFoundation                    0x00000001819ccdb8 CFRunLoopRunSpecific + 552\n10  GraphicsServices                  0x00000001832b4088 GSEventRunModal + 180\n11  UIKit                             0x0000000186ca1f70 UIApplicationMain + 204\n12  kidneyUser                        0x00000001002c71e8 0x1000d8000 + 2028008\n\n13  libdyld.dylib                     0x000000018156a8b8 start + 4\n\n\u4ee5\u4e0a\u5c31\u662fCrash Log \u6587\u4ef6\u7684\u4fe1\u606f(\u8bbe\u5907\u7684\u4fe1\u606f, crash\u4fe1\u606f,\u5f02\u5e38\u4fe1\u606f, \u7ebf\u7a0b\u4fe1\u606f)\n\n\n1. \u8bbe\u5907\u4fe1\u606f\nIncident Identifier: AF4F2C83-8F68-47EF-B5AA-F16B067B5DF4   \/\/ crash\u7684ID\nCrashReporter Key:   5670de85ee1f0f3c904891536e81ec086ed4b35b   \/\/ crash \u7684\u8bbe\u5907ID\nHardware Model:      iPhone8,1   \/\/ \u624b\u673a\u7684\u578b\u53f7 (iPhone8,1\u4ee3\u8868iPhone6s  8,2 \u4ee3\u8868iPhone6s Plus)\nProcess:             kidneyUser [896]   \/\/ App\u7684\u540d\u79f0 (\u8be5App\u7684\u8fdb\u7a0bID)\nPath:                \/private\/var\/containers\/Bundle\/Application\/48C71AA1-EB99-49B1-ABD7-2903DBA8E394\/kidneyUser.app\/kidneyUser         \/\/ APP \u7684\u4f4d\u7f6e \u8def\u5f84\nIdentifier:          kidneyDiseaseHospitalUser \/\/ bundle ID\nVersion:             1 (1.0)   \/\/ APP\u7684\u7248\u672c\u53f7\nCode Type:           ARM-64 (Native) \/\/ app\u7684\u5e94\u7528\u67b6\u6784\nParent Process:      launchd [1]\n\nDate\/Time:           2016-05-05 10:45:43.43 +0800      \/\/ crash\u53d1\u751f\u7684\u65f6\u95f4\nLaunch Time:         2016-05-05 10:42:07.07 +0800    \/\/ \u8fdb\u5165\u5e94\u7528\u7684\u65f6\u95f4\nOS Version:          iOS 9.3.1 (13E238)    \/\/ iOS\u7cfb\u7edf\u7684\u7248\u672c\nReport Version:      105\n\n\n2.\u5f02\u5e38\u4fe1\u606f\nException Type:  EXC_CRASH (SIGABRT)   \/\/ \u5f02\u5e38\u7684\u7c7b\u578b\nException Codes: 0x0000000000000000, 0x0000000000000000  \/\/ \u5f02\u5e38\u51fa\u9519\u7684\u4ee3\u7801\nException Note:  EXC_CORPSE_NOTIFY  \/\/ \u5f02\u5e38\u901a\u77e5\nTriggered by Thread:  0 \/\/ \u5f02\u5e38\u53d1\u751f\u7684\u7ebf\u7a0b(0\u4ee3\u8868\u4e3b\u7ebf\u7a0b, \u5176\u4ed6\u4e3a\u4e3b\u7ebf\u7a0b)\n\n\u8865\u5145\u5e38\u89c1\u7684Exception Codes\u4ee3\u7801\u7c7b\u578b\n\nException Codes:   \u5e38\u89c1\u4ee3\u7801\u6709\u4ee5\u4e0b\u51e0\u79cd\n                             0x8badf00d\u9519\u8bef\u7801\uff1aWatchdog\u8d85\u65f6\uff0c\u610f\u4e3a\u201cate bad food\u201d\u3002\n                             0xdeadfa11\u9519\u8bef\u7801\uff1a\u7528\u6237\u5f3a\u5236\u9000\u51fa\uff0c\u610f\u4e3a\u201cdead fall\u201d\u3002\n                             0xbaaaaaad\u9519\u8bef\u7801\uff1a\u7528\u6237\u6309\u4f4fHome\u952e\u548c\u97f3\u91cf\u952e\uff0c\u83b7\u53d6\u5f53\u524d\u5185\u5b58\u72b6\u6001\uff0c\u4e0d\u4ee3\u8868\u5d29\u6e83\u3002\n                             0xbad22222\u9519\u8bef\u7801\uff1aVoIP\u5e94\u7528\uff08\u56e0\u4e3a\u592a\u9891\u7e41\uff1f\uff09\u88abiOS\u5e72\u6389\u3002\n                             0xc00010ff\u9519\u8bef\u7801\uff1a\u56e0\u4e3a\u592a\u70eb\u4e86\u88ab\u5e72\u6389\uff0c\u610f\u4e3a\u201ccool off\u201d\u3002\n                             0xdead10cc\u9519\u8bef\u7801\uff1a\u56e0\u4e3a\u5728\u540e\u53f0\u65f6\u4ecd\u7136\u5360\u636e\u7cfb\u7edf\u8d44\u6e90\uff08\u6bd4\u5982\u901a\u8baf\u5f55\uff09\u88ab\u5e72\u6389\uff0c\u610f\u4e3a\u201cdead lock\u201d\n\n\u8865\u5145\u5e38\u89c1\u7684Exception Type\u5f02\u5e38\u7c7b\u578b\u7684\u4fe1\u606f:\n\n1.EXC_BAD_ACCESS\uff1a\u6b64\u7c7b\u578b\u662f\u6700\u5e38\u89c1\u7684crash, \u901a\u5e38\u7528\u4e8e\u8bbf\u95ee\u4e86\u4e0d\u8be5\u8bbf\u95ee\u7684\u5185\u5b58\u5bfc\u81f4\u7684,\u4e00\u822c     EXC_BAD_ACCESS\u540e\u9762\u7684()\u8fd8\u4f1a\u5e26\u6709\u8865\u5145\u4fe1\u606f\n\nSIGSEGV:\u901a\u5e38\u7531\u4e8e\u91cd\u590d\u91ca\u653e\u5bf9\u8c61\u5bfc\u81f4, \u4e00\u822c\u5728ARC\u4ee5\u540e\u5f88\u5c11\u89c1\u5230\n\nSIGABRT: \u6536\u5230Abort\u4fe1\u53f7\u9000\u51fa, \u901a\u5e38Foundtion\u5e93\u4e2d\u7684\u5bb9\u5668\u4e3a\u4e86\u4fdd\u62a4\u72b6\u6001\u6b63\u5e38\u4f1a\u505a\u4e00\u4e9b\u68c0\u6d4b, \u4f8b\u5982\u63d2\u5165nil\u5230\u6570\u636e\u4e2d\u7b49\u4f1a\u9047\u5230\u6b64\u7c7b\u9519\u8bef.\n\n\u91ce\u6307\u9488\u9519\u8bef\u5f62\u5f0f\u5728Xcode\u4e2d\u901a\u5e38\u8868\u73b0\u4e3a\uff1aThread 1\uff1aEXC_BAD_ACCESS(code=EXC_I386_GPFLT)\u9519\u8bef\u3002\u56e0\u4e3a\u4f60\u8bbf\u95ee\u4e86\u4e00\u5757\u5df2\u7ecf\u4e0d\u5c5e\u4e8e\u4f60\u7684\u5185\u5b58\u3002\n\nSEGV(Segmentation Violation): \u4ee3\u8868\u65e0\u6548\u5185\u5b58\u5730\u5740, \u6bd4\u5982\u7a7a\u6307\u9488, \u672a\u521d\u59cb\u5316\u6307\u9488, \u6808\u6ea2\u51fa\u7b49.\n\nSIGBUS:\u603b\u6808\u9519\u8bef, \u4e0eSIGSEGV\u4e0d\u540c\u7684\u662f, SIGSEGV\u8bbf\u95ee\u7684\u662f\u65e0\u6548\u7684\u5730\u5740, \u800cSIGBUS\u8bbf\u95ee\u7684\u662f\u6709\u6548\u7684\u5730\u5740, \u4f46\u662f\u603b\u6808\u8bbf\u95ee\u5f02\u5e38(\u5982\u5730\u5740\u5bf9\u9f50\u95ee\u9898)\n\nSIGILL: \u5c1d\u8bd5\u6267\u884c\u975e\u6cd5\u7684\u6307\u4ee4, \u53ef\u80fd\u4e0d\u88ab\u8bc6\u522b\u6216\u8005\u6ca1\u6709\u6743\u9650\n\nSIGFPE: \u6570\u5b66\u8ba1\u7b97\u76f8\u5173\u95ee\u9898, \u6bd4\u5982\u9664\u96f6\u64cd\u4f5c\n\nSIGIPIPE: \u7ba1\u9053\u53e6\u4e00\u7aef\u6ca1\u6709\u8fdb\u7a0b\u63a5\u624b\u6570\u636e\n\n2. EXC_BAD_INSTRUCTION\uff1a\u6b64\u7c7b\u5f02\u5e38\u901a\u5e38\u7531\u4e8e\u7ebf\u7a0b\u6267\u884c\u975e\u6cd5\u6307\u4ee4\u5bfc\u81f4\n3. EXC_ARITHMETIC\uff1a\u9664\u96f6\u9519\u8bef\u4f1a\u629b\u51fa\u6b64\u7c7b\u5f02\u5e38\n                                                   \n\nLast Exception Backtrace: \u6700\u540e\u5f02\u5e38\u56de\u6eaf, \u4e00\u822c\u6839\u636e\u8fd9\u4e2a\u4ee3\u7801\u5c31\u80fd\u627e\u5230\u5177\u4f53\u7684crash\u95ee\u9898\n\n\u4e0b\u9762\u622a\u53d6\u7684\u662f\u5fae\u4fe1\u7684crash blog\n\nThread 0 name:  Dispatch queue: com.apple.main-thread\nThread 0:\n0   libsystem_kernel.dylib            0x000000018223ff24 __psynch_cvwait + 8\n1   libsystem_pthread.dylib           0x000000018230ad20 _pthread_cond_wait + 704\n2   Foundation                        0x0000000182f9fdf0 -[NSCondition waitUntilDate:] + 344\n3   Foundation                        0x0000000182f9ce34 -[NSConditionLock lockWhenCondition:beforeDate:] + 256\n4   UIKit                             0x000000018781dbc4 -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 196\n5   UIKit                             0x0000000187c05878 -[UIKeyboardImpl setKeyboardInputMode:userInitiated:] + 112\n6   UIKit                             0x0000000187c0de44 -[UIKeyboardImpl recomputeActiveInputModesWithExtensions:] + 336\n7   UIKit                             0x000000018781e8f0 -[UIKeyboardImpl setDelegate:force:] + 2292\n8   UIKit                             0x0000000187817eb0 -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 1180\n9   UIKit                             0x00000001878179e4 -[UIResponder(UIResponderInputViewAdditions) reloadInputViews] + 80\n10  UIKit                             0x0000000187879670 -[UIResponder becomeFirstResponder] + 600\n11  UIKit                             0x0000000187879a1c -[UIView(Hierarchy) becomeFirstResponder] + 148\n12  UIKit                             0x0000000187900b34 -[UITextField becomeFirstResponder] + 64\n13  UIKit                             0x00000001879b1fe4 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) setFirstResponderIfNecessary] + 256\n14  UIKit                             0x00000001879b1498 -\n\n\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u53d1\u751fCrash\u7684\u7ebf\u7a0b\u7684Crash\u8c03\u7528\u6808, \u4ece\u4e0a\u5230\u4e0b\u5206\u522b\u4ee3\u8868\u8c03\u7528\u987a\u5e8f, \u6700\u4e0a\u9762\u7684\u4e00\u4e2a\u8868\u793a\u629b\u51fa\u5f02\u5e38\u7684\u4f4d\u7f6e, \u4e00\u6b21\u5f80\u4e0b\u53ef\u4ee5\u770b\u5230API\u8c03\u7528\u987a\u5e8f, \u4e0a\u56fe\u7684\u4fe1\u606f\u8868\u660e\u672c\u6b21Crash\u51fa\u73b0\u5728[NSCondition waitUntilDate:]\u8fd9\u4e2a\u65b9\u6cd5\u4e2d(\u540e\u9762\u52a0\u7684\u6570\u503c \u6211\u731c\u5e94\u8be5\u662f\u5730\u5740\u504f\u79fb\u91cfO(\u2229_\u2229)O) \u5927\u6982\u53ef\u4ee5\u627e\u5230crash\u7684\u5177\u4f53\u539f\u56e0(\u67d0\u4e2a\u6587\u4ef6\u4e2d\u7684\u67d0\u4e2a\u65b9\u6cd5), \u8fd9\u6837\u95ee\u9898\u5c31\u6d6e\u51fa\u6c34\u9762\u4e86, \u65b9\u4fbf\u4ea7\u54c1\u4e0a\u7ebf\u540e\u7248\u672c\u8fed\u4ee3, \u4fee\u6539BUG.\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u5728\u4e00\u53f0iOS \u8bbe\u5907\u4e0a\u5d29\u6e83\u65f6\uff0c\u4e00\u4efd\u201c\u5d29\u6e83\u62a5\u544a\u201d\u5c06\u5728\u8be5\u8bbe\u5907\u4e0a\u6b21\u521b\u5efa\u5e76\u5b58\u50a8\u8d77\u6765\u3002\u5d29\u6e83\u62a5\u544a\u63cf\u8ff0\u5e94\u7528\u7a0b\u5e8f\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/3701"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3701"}],"version-history":[{"count":6,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/3701\/revisions"}],"predecessor-version":[{"id":3710,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/3701\/revisions\/3710"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}