2015-09-14 198 views
0

我一直在試圖將iOS移動應用程序提交給iTunes連接數週,現在它一直被拒絕。我已經做了很多關於它是什麼以及爲什麼發生的事情,並且說實話我迷路了,不知道如何解決它。iOS應用因EXC_BAD_ACCESS(SIGSEGV)而被拒絕,這是什麼意思?

我正在使用appery.io將該應用導出爲xcode項目。當我通過xcode在我的設備上測試它時它工作正常,但是當我上傳進行審查時,出於某種原因,他們一直說它在加載時崩潰!

崩潰報告如下。任何人都可以給我一些指點,以便我可以理解的簡單術語可能是什麼問題!

Incident Identifier: 4A71CE1F-6DB8-4A41-BA2E-03DAD888B0C4 
CrashReporter Key: 6adb521327d87924ae77f5dede2428913a51bb3b 
Hardware Model:  xxx 
Process:    APP_NAME [196] 
Path:    /private/var/mobile/Containers/Bundle/Application/16760F04-A7A1-4AB5-9B86-313E7CB18887/APP_NAME/APP_NAME 
Identifier:   APP_IDENTIFIER 
Version:    1.5 (1.5) 
Code Type:   ARM-64 (Native) 
Parent Process:  launchd [1] 

Date/Time:   2015-09-12 08:41:52.52 -0700 
Launch Time:   2015-09-12 08:41:51.51 -0700 
OS Version:   iOS 9.0 (13A340) 
Report Version:  105 

Exception Type: EXC_BAD_ACCESS (SIGSEGV) 
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 
Triggered by Thread: 0 

Filtered syslog: 
None found 

Global Trace Buffer (reverse chronological seconds): 
6148914689.551205 CFNetwork      0x00000001840c8d64 TCP Conn 0x136d662f0 started 
6148914689.592359 CFNetwork      0x00000001840258b4 TCP Conn 0x136d56e40 starting SSL negotiation 
6148914689.592636 CFNetwork      0x00000001840c7760 TCP Conn 0x136d56e40 complete. fd: 14, err: 0 
6148914689.592910 CFNetwork      0x00000001840c8c8c TCP Conn 0x136d56e40 event 1. err: 0 
6148914689.649594 CFNetwork      0x00000001840c8d64 TCP Conn 0x136d56e40 started 
6148914689.728396 CFNetwork      0x00000001840259a4 TCP Conn 0x136d56410 SSL Handshake DONE 
6148914689.854149 CFNetwork      0x00000001840258b4 TCP Conn 0x136d56410 starting SSL negotiation 
6148914689.854454 CFNetwork      0x00000001840c7760 TCP Conn 0x136d56410 complete. fd: 8, err: 0 
6148914689.855174 CFNetwork      0x00000001840c8c8c TCP Conn 0x136d56410 event 1. err: 0 
6148914689.870079 CFNetwork      0x00000001840c8d64 TCP Conn 0x136d56410 started 
6148914690.092112 CFNetwork      0x000000018411e5a4 Creating default cookie storage with default identifier 
6148914690.092112 CFNetwork      0x000000018411e570 Faulting in CFHTTPCookieStorage singleton 
6148914690.092112 CFNetwork      0x0000000184170498 Faulting in NSHTTPCookieStorage singleton 



Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 libobjc.A.dylib     0x00000001994fdbdc 0x1994e4000 + 105436 
1 CMG_Direct      0x00000001001799d0 0x1000ec000 + 580048 
2 CMG_Direct      0x00000001000fdf2c 0x1000ec000 + 73516 
3 CMG_Direct      0x00000001000fdc44 0x1000ec000 + 72772 
4 CMG_Direct      0x00000001000fd930 0x1000ec000 + 71984 
5 CMG_Direct      0x00000001000fda68 0x1000ec000 + 72296 
6 CMG_Direct      0x00000001000fd9c4 0x1000ec000 + 72132 
7 Foundation      0x000000018585f318 0x18576c000 + 996120 
8 CoreFoundation     0x00000001848d85a4 0x1847fc000 + 902564 
9 CoreFoundation     0x00000001848d8038 0x1847fc000 + 901176 
10 CoreFoundation     0x00000001848d5d38 0x1847fc000 + 892216 
11 CoreFoundation     0x0000000184804dc0 0x1847fc000 + 36288 
12 GraphicsServices    0x000000018f7ac088 0x18f7a0000 + 49288 
13 UIKit       0x0000000189edef60 0x189e64000 + 503648 
14 CMG_Direct      0x00000001001076b4 0x1000ec000 + 112308 
15 libdyld.dylib     0x0000000199d0a8b8 0x199d08000 + 10424 

Thread 1 name: Dispatch queue: com.apple.libdispatch-manager 
Thread 1: 
0 libsystem_kernel.dylib   0x0000000199e3459c 0x199e18000 + 116124 
1 libdispatch.dylib    0x0000000199ceca04 0x199cd8000 + 84484 
2 libdispatch.dylib    0x0000000199cdb93c 0x199cd8000 + 14652 

Thread 2: 
0 libsystem_kernel.dylib   0x0000000199e33c0c 0x199e18000 + 113676 
1 libsystem_pthread.dylib   0x0000000199ef9538 0x199ef8000 + 5432 
2 libsystem_pthread.dylib   0x0000000199ef9028 0x199ef8000 + 4136 

Thread 3: 
0 libsystem_kernel.dylib   0x0000000199e33c0c 0x199e18000 + 113676 
1 libsystem_pthread.dylib   0x0000000199ef9538 0x199ef8000 + 5432 
2 libsystem_pthread.dylib   0x0000000199ef9028 0x199ef8000 + 4136 

Thread 4: 
0 libsystem_kernel.dylib   0x0000000199e33c0c 0x199e18000 + 113676 
1 libsystem_pthread.dylib   0x0000000199ef9538 0x199ef8000 + 5432 
2 libsystem_pthread.dylib   0x0000000199ef9028 0x199ef8000 + 4136 

Thread 5: 
0 libsystem_kernel.dylib   0x0000000199e33c0c 0x199e18000 + 113676 
1 libsystem_pthread.dylib   0x0000000199ef9538 0x199ef8000 + 5432 
2 libsystem_pthread.dylib   0x0000000199ef9028 0x199ef8000 + 4136 

Thread 6 name: com.apple.NSURLConnectionLoader 
Thread 6: 
0 libsystem_kernel.dylib   0x0000000199e18c30 0x199e18000 + 3120 
1 libsystem_kernel.dylib   0x0000000199e18aac 0x199e18000 + 2732 
2 CoreFoundation     0x00000001848d8168 0x1847fc000 + 901480 
3 CoreFoundation     0x00000001848d5e6c 0x1847fc000 + 892524 
4 CoreFoundation     0x0000000184804dc0 0x1847fc000 + 36288 
5 CFNetwork      0x00000001840a2074 0x183ff4000 + 712820 
6 Foundation      0x000000018585f138 0x18576c000 + 995640 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 7: 
0 libsystem_kernel.dylib   0x0000000199e334e0 0x199e18000 + 111840 
1 libsystem_c.dylib    0x0000000199d45e2c 0x199d38000 + 56876 
2 libc++.1.dylib     0x0000000198b5a314 0x198b14000 + 287508 
3 JavaScriptCore     0x00000001864c1c5c 0x185f3c000 + 5790812 
4 JavaScriptCore     0x00000001864c190c 0x185f3c000 + 5789964 
5 JavaScriptCore     0x00000001864c3e4c 0x185f3c000 + 5799500 
6 JavaScriptCore     0x00000001864c3ddc 0x185f3c000 + 5799388 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 8 name: WebThread 
Thread 8: 
0 libsystem_kernel.dylib   0x0000000199e33030 0x199e18000 + 110640 
1 libsystem_pthread.dylib   0x0000000199efe3c4 0x199ef8000 + 25540 
2 libsystem_pthread.dylib   0x0000000199efe5a4 0x199ef8000 + 26020 
3 WebCore       0x0000000196447d94 0x1963d0000 + 490900 
4 WebCore       0x0000000196447cf4 0x1963d0000 + 490740 
5 CoreFoundation     0x00000001848d7c30 0x1847fc000 + 900144 
6 CoreFoundation     0x00000001848d59d4 0x1847fc000 + 891348 
7 CoreFoundation     0x00000001848d5d04 0x1847fc000 + 892164 
8 CoreFoundation     0x0000000184804dc0 0x1847fc000 + 36288 
9 WebCore       0x0000000196445aa0 0x1963d0000 + 481952 
10 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
11 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
12 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 9 name: JavaScriptCore::Marking 
Thread 9: 
0 libsystem_kernel.dylib   0x0000000199e32fe8 0x199e18000 + 110568 
1 libsystem_pthread.dylib   0x0000000199efacfc 0x199ef8000 + 11516 
2 libc++.1.dylib     0x0000000198b1c074 0x198b14000 + 32884 
3 JavaScriptCore     0x0000000186270b14 0x185f3c000 + 3361556 
4 JavaScriptCore     0x0000000186270bac 0x185f3c000 + 3361708 
5 JavaScriptCore     0x0000000185f474e4 0x185f3c000 + 46308 
6 JavaScriptCore     0x0000000185f473f4 0x185f3c000 + 46068 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 10 name: JavaScriptCore::Marking 
Thread 10: 
0 libsystem_kernel.dylib   0x0000000199e32fe8 0x199e18000 + 110568 
1 libsystem_pthread.dylib   0x0000000199efacfc 0x199ef8000 + 11516 
2 libc++.1.dylib     0x0000000198b1c074 0x198b14000 + 32884 
3 JavaScriptCore     0x0000000186270b14 0x185f3c000 + 3361556 
4 JavaScriptCore     0x0000000186270bac 0x185f3c000 + 3361708 
5 JavaScriptCore     0x0000000185f474e4 0x185f3c000 + 46308 
6 JavaScriptCore     0x0000000185f473f4 0x185f3c000 + 46068 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 11 name: AVAudioSession Notify Thread 
Thread 11: 
0 libsystem_kernel.dylib   0x0000000199e18c30 0x199e18000 + 3120 
1 libsystem_kernel.dylib   0x0000000199e18aac 0x199e18000 + 2732 
2 CoreFoundation     0x00000001848d8168 0x1847fc000 + 901480 
3 CoreFoundation     0x00000001848d5e6c 0x1847fc000 + 892524 
4 CoreFoundation     0x0000000184804dc0 0x1847fc000 + 36288 
5 libAVFAudio.dylib    0x0000000182f71860 0x182f2c000 + 284768 
6 libAVFAudio.dylib    0x0000000182f463a8 0x182f2c000 + 107432 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 12: 
0 libsystem_kernel.dylib   0x0000000199e33c0c 0x199e18000 + 113676 
1 libsystem_pthread.dylib   0x0000000199ef9538 0x199ef8000 + 5432 
2 libsystem_pthread.dylib   0x0000000199ef9028 0x199ef8000 + 4136 

Thread 13 name: WebCore: CFNetwork Loader 
Thread 13: 
0 libsystem_kernel.dylib   0x0000000199e18c30 0x199e18000 + 3120 
1 libsystem_kernel.dylib   0x0000000199e18aac 0x199e18000 + 2732 
2 CoreFoundation     0x00000001848d8168 0x1847fc000 + 901480 
3 CoreFoundation     0x00000001848d5e6c 0x1847fc000 + 892524 
4 CoreFoundation     0x0000000184804dc0 0x1847fc000 + 36288 
5 WebCore       0x00000001964732c8 0x1963d0000 + 668360 
6 JavaScriptCore     0x0000000185f474e4 0x185f3c000 + 46308 
7 JavaScriptCore     0x0000000185f473f4 0x185f3c000 + 46068 
8 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
9 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
10 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 14 name: com.apple.CFSocket.private 
Thread 14: 
0 libsystem_kernel.dylib   0x0000000199e33408 0x199e18000 + 111624 
1 CoreFoundation     0x00000001848de6d0 0x1847fc000 + 927440 
2 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
3 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
4 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 15 name: WebCore: LocalStorage 
Thread 15: 
0 libsystem_kernel.dylib   0x0000000199e32fe8 0x199e18000 + 110568 
1 libsystem_pthread.dylib   0x0000000199efacfc 0x199ef8000 + 11516 
2 JavaScriptCore     0x0000000185f4aa50 0x185f3c000 + 59984 
3 WebKitLegacy     0x000000019744f07c 0x1973e0000 + 454780 
4 WebKitLegacy     0x000000019744e5e4 0x1973e0000 + 452068 
5 JavaScriptCore     0x0000000185f474e4 0x185f3c000 + 46308 
6 JavaScriptCore     0x0000000185f473f4 0x185f3c000 + 46068 
7 libsystem_pthread.dylib   0x0000000199efbb3c 0x199ef8000 + 15164 
8 libsystem_pthread.dylib   0x0000000199efbaa0 0x199ef8000 + 15008 
9 libsystem_pthread.dylib   0x0000000199ef9030 0x199ef8000 + 4144 

Thread 0 crashed with ARM Thread State (64-bit): 
    x0: 0x00000001a06bc180 x1: 0x00000001001e23c6 x2: 0x00000001a06bc180 x3: 0x000000016fd127f8 
    x4: 0x0000000000000001 x5: 0x0000000000000001 x6: 0x000000000000003a x7: 0x0000000000000ae0 
    x8: 0x0000000000000001 x9: 0x00000001008197c0 x10: 0x0000000000000000 x11: 0x0000000000000000 
    x12: 0x0000000000000000 x13: 0x00819701008197c0 x14: 0xffffffffffffc000 x15: 0x0000000000003fff 
    x16: 0x00000001994fdbc0 x17: 0x00000001001799ac x18: 0x0000000000000000 x19: 0x0000000136fa5eb0 
    x20: 0x000000018a87506a x21: 0x0000000136fa5eb0 x22: 0x0000000136fdcb30 x23: 0x000000018a80fbc3 
    x24: 0x000000018a8cb6df x25: 0x00000001001eb4ea x26: 0x0000000136fb7430 x27: 0x0000000100266000 
    x28: 0x0000000000000004 fp: 0x000000016fd12930 lr: 0x00000001001799d0 
    sp: 0x000000016fd12920 pc: 0x00000001994fdbdc cpsr: 0x20000000 
+1

該崩潰報告(幾乎)沒有用,直到它是Symbolicated。 – trojanfoe

+0

好吧,看起來像我下一步然後,無論這是什麼! – frobak

回答

2

上週我在我的代碼中遇到了拋出EXC_BAD_ACCESS錯誤的問題,我不知道。後來我發現,我使用的是媒體播放器,但沒有正確關閉。尋找線索EXC_BAD_ACCESS錯誤很難。你可以打開殭屍對象,然後可能會得到更好的線索。

如何啓用殭屍對象

  • 在導航器中選擇項目,並轉至產品>方案>管理計劃
  • 選擇方案,單擊編輯,然後點擊左側邊欄
  • 運行
  • 勾選「啓動殭屍對象」下診斷標籤

之後XCode中運行該項目,你可能得到一些線索。

此外,您可以在不同的設備上測試應用程序作爲prerealease構建而不是提交給最終應用程序審查。

真的希望你會得到一些線索....

1

(我不知道有多少你的問題已經已經回答了,所以請原諒任何重複。)

軟件崩潰時審批流程測試被App Store政策拒絕。

EXC_BAD_ACCESS(SIGSEGV)是您的應用遇到的崩潰類型。簡短版本是應用程序嘗試訪問內存系統未使用的部分內存。

這部分告訴我們,應用程序試圖訪問內存地址零:

Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000

有許多地方網上說有一個symbolicating崩潰日誌說明。這將用方法名稱替換很多十六進制代碼。您需要與提交到應用商店的應用相匹配的IPA和dSYM文件。如果你使用Xcode檔案,那麼他們將在那裏。

iOS 9崩潰日誌需要由Xcode 7進行符號化。崩潰日誌格式與iOS 8不同,Xcode 6.x中的symbolicator腳本並不總是處理它。

符號化的崩潰日誌應該顯示哪些函數或方法可以檢查可能的指針爲零。