iOS 5上奇怪的iPhone应用程序崩溃

时间:2011-10-25 16:27:57

标签: iphone crash

我在我的应用程序中遇到了非常奇怪和频繁的崩溃,我认为在我更新到iOS 5之前工作正常(但我不是100%肯定这一点)。基本上,当我离开应用程序(按主页按钮)并返回时经常发生崩溃。它并不总是崩溃,但经常崩溃。

任何人都有类似的崩溃?

我的TestFlight报告报告“SIGSEGV,未知信号”。

当我查看手机日志时,它说:

0 ****** 0x000e7745 Vingit + 943941
1 ****** 0x000e7b5b Vingit + 944987
2 libsystem_c.dylib 0x36970539 _sigtramp + 48
3 QuartzCore 0x32843875 _ZN2CA5Layer16commit_if_neededEPNS_11TransactionEPFvPS0_jjPvES4_ +216
4 QuartzCore 0x32843875 _ZN2CA5Layer16commit_if_neededEPNS_11TransactionEPFvPS0_jjPvES4_ +216
5 QuartzCore 0x3284773b _ZN2CA7Context11commit_rootEPNS_5LayerEPv + 34
6 QuartzCore 0x32847717 _ZN2CAL16foreach_callbackEPNS_5LayerES1_Pv + 18
7 QuartzCore 0x328476ed x_hash_table_foreach + 44
8 QuartzCore 0x328476bd _ZN2CA11Transaction12foreach_rootEPFvPNS_5LayerEPvES3_ + 32
9 QuartzCore 0x32841455 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 1052
10 QuartzCore 0x32840e57 _ZN2CA11Transaction6commitEv + 314
11 QuartzCore 0x328686f1 _ZN2CA11Transaction5flushEv + 44
12 QuartzCore 0x328686c3 +[CATransaction flush] + 34
13 UIKit 0x33168bad -[UIApplication _reportAppLaunchFinished] + 40
14 UIKit 0x33200387 -[UIApplication _handleApplicationResumeEvent:] + 1618
15 UIKit 0x33124961 -[UIApplication handleEvent:withNewEvent:] + 1080
16 UIKit 0x331243bf -[UIApplication sendEvent:] + 54
17 UIKit 0x33123d2d _UIApplicationHandleEvent + 5808
18 GraphicsServices 0x33d0fe13 PurpleEventCallback + 882
19 CoreFoundation 0x3115e553 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
20 CoreFoundation 0x3115e4f5 __CFRunLoopDoSource1 + 140
21 CoreFoundation 0x3115d343 __CFRunLoopRun + 1370
22 CoreFoundation 0x310e04dd CFRunLoopRunSpecific + 300
23 CoreFoundation 0x310e03a5 CFRunLoopRunInMode + 104
24 GraphicsServices 0x33d0efed GSEventRunModal + 156
25 UIKit 0x33152743 UIApplicationMain + 1090
26 ****** 0x00002dc3 main (main.m:14)
27 ****** 0x00002d6c Vingit + 7532

1 个答案:

答案 0 :(得分:0)

在有意义之前,您需要对崩溃日志进行符号化。为了使此成功,您将需要完全相同的二进制文件和由Xcode中的构建过程生成的dSYM文件。确保这一点的一种方法是在您要通过TestFlight分发给Beta测试人员的构建中使用归档功能。

如果您已经这样做了,那么只需要在Xcode中打开崩溃日志,它就会自动为您找到正确的二进制文件和dSYM文件,并将代码中的偏移地址转换为方法名称。希望这会让您更接近代码中崩溃的区域。