2015-05-03 68 views
-1

我得到了这个崩溃报告,我“象征着”它。 即使在那之后,我仍然无法理解我的崩溃从何而来。分析这个崩溃报告

该应用程序发射后直接崩溃。

这里是我的崩溃报告:

Hardware Model:  iPhone7,2 
Version:    1.6.0.3 (1.6.0) 
Code Type:   ARM-64 (Native) 
Parent Process:  launchd [1] 

Date/Time:   2015-04-30 15:50:21.019 +0200 
Launch Time:   2015-04-30 15:50:15.833 +0200 
OS Version:   iOS 8.3 (12F70) 
Report Version:  105 

Exception Type: EXC_CRASH (SIGSEGV) 
Exception Codes: 0x0000000000000000, 0x0000000000000000 
Triggered by Thread: 1 

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0: 
0 libsystem_c.dylib    0x0000000193e056ac strlen + 12 
1 App        0x000000010012e1ec -[NSString(CategoryName) hashWithSecretKeyUpdateUser] (HashString.m:70) 
2 App        0x00000001000eff04 +[InAppPurchaseHelper generateSHAFromDictionary:registerOrReadOrUpdate:] (InAppPurchaseHelper.m:177) 
3 App        0x00000001000ef5b8 +[InAppPurchaseHelper updateUserInfosRegisterProfile:registerPush:] (InAppPurchaseHelper.m:119) 
4 App        0x0000000100166574 -[AppDelegate applicationDidBecomeActive:] (AppDelegate.m:218) 
5 UIKit       0x00000001869f7474 -[UIApplication _stopDeactivatingForReason:] + 456 
6 CoreFoundation     0x0000000181eda2c0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 16 
7 CoreFoundation     0x0000000181eda72c ____CFXNotificationPostToken_block_invoke + 140 
8 CoreFoundation     0x0000000181eec278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16 
9 CoreFoundation     0x0000000181eeb380 __CFRunLoopDoBlocks + 308 
10 CoreFoundation     0x0000000181ee99a4 __CFRunLoopRun + 1752 
11 CoreFoundation     0x0000000181e152d0 CFRunLoopRunSpecific + 392 
12 GraphicsServices    0x000000018b62b6f8 GSEventRunModal + 164 
13 UIKit       0x00000001869dafa8 UIApplicationMain + 1484 
14 App        0x0000000100100ea4 main (main.m:16) 
15 libdyld.dylib     0x0000000193dd6a04 start + 0 

Thread 1 name: Dispatch queue: com.apple.libdispatch-manager 
Thread 1 Crashed: 
0 libsystem_kernel.dylib   0x0000000193ed4c24 kevent64 + 8 
1 libdispatch.dylib    0x0000000193db9e6c _dispatch_mgr_invoke + 272 
2 libdispatch.dylib    0x0000000193dab998 _dispatch_mgr_thread + 48 

这是否报告指大跌中的“hashWithSecretKeyUpdateUser”函​​数调用发生?

有没有办法了解更多关于碰撞的信息?

我不能让我的应用程序在这一点上

回答

0

它看起来像“段错误”(SIGSEGV),这意味着你的代码访问不存在或无效的内存崩溃。根据你的崩溃报告,它看起来像hashWithSecretKeyUpdateUser从“strlen + 12”访问错误或无效的内存,我相信你传递给hashWithSecretKeyUpdateUser的字符串不存在或错误。