崩溃 - 通知 - EXC_BAD_ACCESS(SIGSEGV) - KERN_INVALID_ADDRESS - 命名空间SIGNAL

时间:2017-01-04 11:28:58

标签: ios swift notifications crash exc-bad-access

请在下面的崩溃中分享您的想法/建议。

看到一些奇怪的崩溃并且这些崩溃在我的目的下是不可重现的,但是用户报告了很多类似的崩溃。崩溃日志说应用程序在线程0中崩溃并且在线程0中的__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__调用之后我可以看到跟踪0 ??? 000000000000000000 0 + 0 ......这是什么意思?

以下是崩溃日志示例。所有其他崩溃日志与下面的内容相同。

>Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
>
Termination Signal: Segmentation fault: 11
>
Termination Reason: Namespace SIGNAL, Code 0xb
>
Terminating Process: exc handler [0]
Triggered by Thread:  0

>Thread 0 name:
>
Thread 0 Crashed:
>
**0   ???                               000000000000000000 0 + 0**
>
1   CoreFoundation                  0x0000000181ede22c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:650)
>
2   CoreFoundation                  0x0000000181edd930 _CFXRegistrationPost + 400 (CFNotificationCenter.c:164)
>
3   CoreFoundation                  0x0000000181edd6ac ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1031)
>
4   CoreFoundation                  0x0000000181f4cb9c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504 (CFXNotificationRegistrar.m:163)
>
5   CoreFoundation                  0x0000000181e1fbf4 _CFXNotificationPost + 376 (CFNotificationCenter.c:1028)
>
6   Foundation                      0x00000001829256bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 (NSNotification.m:482)
>
7   UIKit                           0x0000000187fab748 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 268 (UIApplication.m:6227)
>
8   UIKit                           0x0000000188085668 +[UIViewController _performWithoutDeferringTransitions:] + 128 (UIViewController.m:5900)
>
9   UIKit                           0x0000000187fab5e8 -[UIApplication _applicationDidEnterBackground] + 100 (UIApplication.m:6215)
>
10  UIKit                           0x0000000187fabb30 -[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:] + 692 (UIApplication.m:6323)
>
11  UIKit                           0x0000000187fa3478 -[UIApplication workspaceShouldExit:withTransitionContext:] + 320 (UIApplication.m:2962)
>
12  FrontBoardServices              0x0000000183ae3904 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:158)
>
13  FrontBoardServices              0x0000000183ae3770 -[FBSSerialQueue _performNext] + 176 (FBSSerialQueue.m:177)
>
14  FrontBoardServices              0x0000000183ae3b18 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:206)
>
15  CoreFoundation                  0x0000000181ef2278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
>
16  CoreFoundation                  0x0000000181ef1bc0 __CFRunLoopDoSources0 + 524 (CFRunLoop.c:1989)
>
17  CoreFoundation                  0x0000000181eef7c0 __CFRunLoopRun + 804 (CFRunLoop.c:2821)
>
18  CoreFoundation                  0x0000000181e1e048 CFRunLoopRunSpecific + 444 (CFRunLoop.c:3113)
>
19  UIKit                           0x0000000187d89b04 -[UIApplication _run] + 608 (UIApplication.m:2638)
>
20  UIKit                           0x0000000187d84888 UIApplicationMain + 208 (UIApplication.m:4091)
>
21  XXXXXX                          0x0000000101745348 0x100024000 + 24253256
>
22  XXXXXX                          0x00000001017455a0 UIApplicationMain + 164
>
23  XXXXXX                          0x00000001015eacf0 main + 368 (main.swift:14)
>
24  libdyld.dylib                   0x0000000180e005b8 start + 4

0 个答案:

没有答案
相关问题