- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我遇到了仅在 Apple 审核时发生的崩溃:当他们尝试登录应用程序时崩溃。我在测试环境和 Ad-hoc 环境中使用真实 iPhone 进行了多次测试,以前从未发生过崩溃情况。经过审查后,我做了一些研究,发现了一些类似的事情,我一直在尝试,但我无法在这里模拟相同的问题(我也尝试将 Xcode 调试更改为发布,并且没有发生崩溃)。
以下是他们在审核中所说的情况:
Upon further review and a fresh install of your app we continue to find that your app crashed on an iPad running iOS 8.4 and iPhone running iOS 8.4 when we: 1. Launch App 2. Input provided demo account credentials 3. Tap "Login" 4. Application crashes.
这是符号化的日志:
Last Exception Backtrace:
0 CoreFoundation 0x1820ac2d8 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x193c7c0e4 objc_exception_throw + 60
2 CoreFoundation 0x1820ac198 +[NSException raise:format:arguments:] + 116
3 Foundation 0x182f60ed4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x186b4f1e0 -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 184
5 UIKit 0x186b4f8c8 -[UIKeyboardImpl setDelegate:force:] + 636
6 UIKit 0x186b48b3c -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 1212
7 UIKit 0x186c2709c -[UIResponder _finishResignFirstResponder] + 184
8 UIKit 0x187277730 -[UITextField _finishResignFirstResponder] + 56
9 UIKit 0x186bced5c -[UIResponder resignFirstResponder] + 320
10 UIKit 0x186c508bc -[UITextField resignFirstResponder] + 124
11 UIKit 0x186d4b170 -[UITextField _setEnabled:animated:] + 128
12 PioNET 0x100051110 -[LoginViewController startLogging] (LoginViewController.m:667)
13 Foundation 0x182faddb8 __NSThread__main__ + 1072
14 libsystem_pthread.dylib 0x1944dbdc8 _pthread_body + 164
15 libsystem_pthread.dylib 0x1944dbd24 _pthread_start + 160
16 libsystem_pthread.dylib 0x1944d8ef8 thread_start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 PioNET 0x00000001000e3274 +[AFNetworkReachabilityManager sharedManager] (AFNetworkReachabilityManager.m:113)
1 PioNET 0x00000001000dee9c +[AFHTTPRequestOperationManager manager] (AFHTTPRequestOperationManager.m:41)
2 PioNET 0x000000010004db98 -[LoginViewController authentication:andPassword:] (LoginViewController.m:247)
3 PioNET 0x0000000100050cfc -[LoginViewController loginProcess:andPassword:] (LoginViewController.m:641)
4 PioNET 0x00000001000514b4 -[LoginViewController login:] (LoginViewController.m:692)
5 UIKit 0x0000000186b59394 -[UIApplication sendAction:to:from:forEvent:] + 92
6 UIKit 0x0000000186b42470 -[UIControl _sendActionsForEvents:withEvent:] + 608
7 UIKit 0x0000000186b58d30 -[UIControl touchesEnded:withEvent:] + 588
8 UIKit 0x0000000186b589bc -[UIWindow _sendTouchesForEvent:] + 696
9 UIKit 0x0000000186b51ef8 -[UIWindow sendEvent:] + 680
10 UIKit 0x0000000186b2511c -[UIApplication sendEvent:] + 260
11 UIKit 0x0000000186dc62b4 _UIApplicationHandleEventFromQueueEvent + 15420
12 UIKit 0x0000000186b23630 _UIApplicationHandleEventQueue + 1712
13 CoreFoundation 0x000000018206423c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 20
14 CoreFoundation 0x00000001820634e0 __CFRunLoopDoSources0 + 260
15 CoreFoundation 0x0000000182061590 __CFRunLoopRun + 708
16 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
17 GraphicsServices 0x000000018b8bb6f8 GSEventRunModal + 164
18 UIKit 0x0000000186b8af3c UIApplicationMain + 1484
19 PioNET 0x00000001000709b0 main (main.m:14)
20 libdyld.dylib 0x0000000194326a04 start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x0000000194424c24 kevent64 + 8
1 libdispatch.dylib 0x0000000194309e6c _dispatch_mgr_invoke + 272
2 libdispatch.dylib 0x00000001942fb998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x000000019443fc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001944d92d8 _pthread_wqthread + 988
2 libsystem_pthread.dylib 0x00000001944d8eec start_wqthread + 0
Thread 7 name: com.apple.NSURLConnectionLoader
Thread 7:
0 libsystem_kernel.dylib 0x0000000194424e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000194424c84 mach_msg + 68
2 CoreFoundation 0x0000000182063720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182061674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
5 CFNetwork 0x0000000181a6a590 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
6 Foundation 0x0000000182faddb4 __NSThread__main__ + 1068
7 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x000000019443f498 __select + 8
1 CoreFoundation 0x0000000182069124 __CFSocketManager + 668
2 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
3 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
4 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x0000000194424e0c mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000194424c84 mach_msg + 68
2 CoreFoundation 0x0000000182063720 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000182061674 __CFRunLoopRun + 936
4 CoreFoundation 0x0000000181f8d2d0 CFRunLoopRunSpecific + 392
5 CoreFoundation 0x0000000181fdf358 CFRunLoopRun + 108
6 CoreMotion 0x00000001829982b8 0x182950000 + 295608
7 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
8 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
9 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 10 Crashed:
0 libsystem_kernel.dylib 0x000000019443f270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001944dd16c pthread_kill + 108
2 libsystem_c.dylib 0x00000001943b6b14 abort + 108
3 libc++abi.dylib 0x0000000193449414 abort_message + 112
4 libc++abi.dylib 0x0000000193468b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193c7c3bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193465bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193465474 __cxa_throw + 132
8 libobjc.A.dylib 0x0000000193c7c200 objc_exception_throw + 344
9 CoreFoundation 0x00000001820ac194 +[NSException raise:format:arguments:] + 112
10 Foundation 0x0000000182f60ed0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 108
11 UIKit 0x0000000186b4f1dc -[UIKeyboardTaskQueue waitUntilAllTasksAreFinished] + 180
12 UIKit 0x0000000186b4f8c4 -[UIKeyboardImpl setDelegate:force:] + 632
13 UIKit 0x0000000186b48b38 -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 1208
14 UIKit 0x0000000186c27098 -[UIResponder _finishResignFirstResponder] + 180
15 UIKit 0x000000018727772c -[UITextField _finishResignFirstResponder] + 52
16 UIKit 0x0000000186bced58 -[UIResponder resignFirstResponder] + 316
17 UIKit 0x0000000186c508b8 -[UITextField resignFirstResponder] + 120
18 UIKit 0x0000000186d4b16c -[UITextField _setEnabled:animated:] + 124
19 PioNET 0x000000010005110c -[LoginViewController startLogging] (LoginViewController.m:667)
20 Foundation 0x0000000182faddb4 __NSThread__main__ + 1068
21 libsystem_pthread.dylib 0x00000001944dbdc4 _pthread_body + 160
22 libsystem_pthread.dylib 0x00000001944dbd20 _pthread_start + 156
23 libsystem_pthread.dylib 0x00000001944d8ef4 thread_start + 0
Thread 10 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001700ed0b7
x4: 0x0000000193469dfd x5: 0x0000000105476460 x6: 0x000000000000006e x7: 0x0000000000000fa0
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000000200 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000002 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000105478000 x21: 0x00000001983f1ce8 x22: 0x0000000170010360 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000187316681 x27: 0x0000000194c08000
x28: 0x0000000000000110 fp: 0x00000001054763c0 lr: 0x00000001944dd170
sp: 0x00000001054763a0 pc: 0x000000019443f270 cpsr: 0x00000000
最佳答案
您使用第三方控件吗?某些控件在编译发布时崩溃的情况并不罕见。您可以尝试关闭发布版本的代码优化并测试是否崩溃。
关于ios - iOS 8.4 上的崩溃 EXC_CRASH (SIGABRT),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31843500/
我的代码在使用 malloc 时遇到问题。直到一个小时前它一直运行良好。它导致这一行 temp2 = (Temp*)malloc(sizeof(Temp));
我的应用程序运行完美,没有任何问题。但是当我尝试调试它时,android studio 卡住了。所以我收到消息“等待调试器”,然后该消息消失,接下来我在模拟器中只看到黑屏。 我也收到了消息 SIGNA
我用 node-js 和 fluent-ffmpeg 编写了一个 node-js api: 'use strict'; require('babel-register'); const path =
我只是在过去一直工作的模拟器上运行我的代码。我真正为启动代码所做的唯一一件事就是设置用户默认值 NSUserDefaults *defaults = [NSUserDefaults standard
我遇到应用程序每次运行时都会在模拟器上崩溃。由于某种原因,他们收到一个中止信号(见附件截图)。最近才开始用,不知道是不是和10.8.4升级有关。 我刚刚基于“单一 View 应用程序”模板创建了一个新
我的应用程序中存在一个错误,使我发疯!尝试隐藏navigationController工具栏后,主线程会收到SIGABRT消息。 [self.navigationController setToolb
我无法理解以下崩溃,因为它是随机发生的,并且我怀疑可能是多线程问题,但是这里是: Incident Identifier: 0BE956AB-228A-4B1B-8A3D-A99A481F7F3F C
我最近设置了 Crashlytics 以从我的 iOS 应用程序接收崩溃日志,并且我不断收到 SIGABRT 崩溃日志,但我找不到它的来源。 如果你能帮我一点,这是崩溃日志: Exception Ty
我正在尝试通过指针来理解这项工作。所以我编写了一个测试程序,其中通过删除分隔点将名称分成标签。每个标签都表示为长度/数据对,如下所示:google.ru 表示为“x\06googlex\02ru”当我
我正在研究教授给我们的一些旧课本,为即将到来的考试做准备,我遇到了这个问题。 我的任务是从结构如下的文本文件中读取信息: [十进制数字],[罗马数字(字符串)],[o 或 u(优化或未优化的罗马数字)
#toggle the string #include int main() { char S[100],ch; int i=0; gets(S); while((S[i]!
我正在开展一个学校项目,我需要从文件中获取矩阵的信息(高度、宽度、单元格状态)。像这样的事情: 30 40 /*height and width*/ 3 /*nr of lines
我学习 Swift 一段时间了,SIGABRT 信号随机出现了好几次。我尝试过一些在线教程,但似乎并不总是有效。 这次我试图用两个 View Controller 设置一个待办事项列表。一个有一个表格
我在我的项目中添加了第二个目标,以便能够对多个应用程序使用相同的 Xcode 项目(基本应用程序的风格略有变化)。我重命名了目标,更改了方案以匹配名称,还重命名了第二个 info.plist。现在,当
我试图运行一个简单的代码,它编译但当我尝试运行它时我得到(核心转储)错误。于是用gdb查看错误是什么。 代码: #include #include #include void gerar() {
我为这个问题苦苦挣扎了 2 天。我有一个解决方法,但我想了解更多会发生什么。让我们开始吧。我有一个非常原始的异常类,它保存一条错误消息作为指向字符数组的指针(我知道 std::string 的利润)。
NSString *aName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 1)];
我正在尝试从框架动态加载类,但应用程序因转换发送 SIGABRT 信号而崩溃: let newClassType = NSClassFromString("MyFramework.CustomClas
当我运行我的应用程序时, View Controller 中会调用一个函数,当发生这种情况时,我会收到信号 SIGABRT。 如何解决这个问题? 功能: func setRootViewControl
我正在尝试保存 UISwitch 结果并使用它们来填充 Parse.com 推送通知的“ channel ”。我遵循了解析指南,但每次我尝试单击保存开关值的保存按钮时,我都会收到一个 SIGABRT。
我是一名优秀的程序员,十分优秀!