2014-11-05 17 views
3

我正在運行Parse.com 1.4.2版中的最新iOS Objective C SDK 我正在使用以下回溯在全新安裝中頻繁發生崩潰。它發生在模擬器,我的調試設備以及我的應用程序的發佈/生產版本中。解析目標C庫在[PFInternalUtils installationId]上崩潰

Thread 2 Crashed: 
1 libobjc.A.dylib objc_msgSend + 6 
2 Foundation -[NSString getExternalRepresentation:extendedAttributes:forWritingToURLOrPath:usingEncoding:error:] + 312 
3 Foundation writeStringToURLOrPath + 44 
4 Foundation -[NSString writeToFile:atomically:encoding:error:] + 22 
5 Aftermath +[PFInternalUtils installationId] (PFInternalUtils.m:308) 
6 Aftermath +[PFNetworkCommandRunner createRequest:] (PFNetworkCommandRunner.m:62) 
7 Aftermath +[PFNetworkCommandRunner runCommandAsync:inOperation:] (PFNetworkCommandRunner.m:133) 
8 Aftermath +[PFRetryingCommandRunner runCommandAsync:inOperation:attemptsMade:delay:] (PFRetryingCommandRunner.m:42) 
9 Aftermath +[PFRetryingCommandRunner runCommandAsync:inOperation:] (PFRetryingCommandRunner.m:35) 
10 Aftermath +[PFCachedCommandRunner runCommandAsync:inOperation:cachePolicy:maxCacheAge:] (PFCachedCommandRunner.m:83) 
11 Aftermath __64-[PFQuery findAsyncWithCachePolicy:conditions:limit:skip:after:]_block_invoke (PFQuery.m:1292) 
12 Aftermath __48-[BFTask continueWithExecutor:withSuccessBlock:]_block_invoke (BFTask.m:335) 
13 Aftermath __41-[BFTask continueWithExecutor:withBlock:]_block_invoke_2 (BFTask.m:287) 
+0

我遇到一個類似的錯誤。使用NSZombieEnabled,我將問題追溯到UIFont上的自定義類別。仍在調試。你有沒有想到你的項目出了什麼問題? – JAL 2014-11-26 20:18:54

+0

不,還沒有弄清楚我的問題 - 你應該向Parse團隊請求正式的支持請求,讓他們知道我不是唯一的:https://developers.facebook.com/bugs/1548203598729083。我甚至沒有使用UIKit:我的遊戲是OpenGL遊戲,所以它絕對與此無關,但也許你的UIFont類別存在一些問題,例如線程操作,這是錯誤的? – 2014-11-26 23:45:41

+0

我覺得我的NSString對象在取消分配後發送了一條消息,但是在感恩節之前我可能不會再考慮這些。你是否用NSZombieEnabled運行你的應用程序來嘗試追蹤問題?另外,我的類似崩潰很少發生,我一直難以重現。雖然我看到你的頻繁發生。 – JAL 2014-11-27 04:21:56

回答