2012-02-11 3 views
0

多くのアプリケーションユーザーがクラッシュしています。iOS 4.3.xユーザーのみに影響する、この象徴的なクラッシュレポートの背後にある本当の原因を理解することができません

それだけ(デバイスは、任意の可能性 - iPhone /アプリ/ iPodの)のiOS 4.3.x上のユーザーに影響を与えある(ARCに変換することができます私は、本当の原因を解読することができません

0 libobjc.A.dylib 0x34f00c98 objc_msgSend + 15 
1 CoreFoundation 0x3134bc43 -[NSObject(NSObject) release] + 30 
2 UIKit 0x314c900f -[UIViewController dealloc] + 174 
3 UIKit 0x3151f0cd -[UITableViewController dealloc] + 124 
4 MyApp 0x0001f985 -[WebNotesListViewController dealloc] (WebNotesListViewController.m:61) 
5 CoreFoundation 0x3134bc43 -[NSObject(NSObject) release] + 30 
6 MyApp 0x41b3 __arclite_objc_storeStrong (arclite.m:252) 
7 MyApp 0x000bc44d -[CountTouchGR .cxx_destruct] (CountTouchGR.m:13) 
8 libobjc.A.dylib 0x34f01961 object_cxxDestructFromClass + 52 
9 libobjc.A.dylib 0x34f03b15 object_cxxDestruct + 12 
10 libobjc.A.dylib 0x34f03b25 objc_destructInstance + 12 
11 libobjc.A.dylib 0x34f01917 object_dispose + 26 
12 CoreFoundation 0x3134bee5 -[NSObject(NSObject) dealloc] + 24 
13 UIKit 0x314aead7 -[UIGestureRecognizer dealloc] + 346 
14 UIKit 0x316aefc3 -[UISwipeGestureRecognizer dealloc] + 62 
15 CoreFoundation 0x3134bc43 -[NSObject(NSObject) release] + 30 
16 CoreFoundation 0x3134c1a1 CFRelease + 68 
17 CoreFoundation 0x31352139 -[__NSArrayM removeObjectAtIndex:] + 88 
18 CoreFoundation 0x3135a9dd -[NSMutableArray removeAllObjects] + 36 
19 UIKit 0x31470fcf -[UIView(UIViewGestures) removeAllGestureRecognizers] + 174 
20 UIKit 0x31470e6f -[UIView dealloc] + 294 
21 UIKit 0x315b27e5 -[UIScrollView dealloc] + 252 
22 UIKit 0x315bed0d -[UITableView dealloc] + 676 
23 CoreFoundation 0x3134bc43 -[NSObject(NSObject) release] + 30 
24 UIKit 0x314828df -[UIViewController setView:] + 270 
25 UIKit 0x315759cb -[UIViewController unloadViewForced:] + 78 
26 UIKit 0x315856b9 -[UIViewController unloadViewIfReloadable] + 16 
27 UIKit 0x315cc12d -[UIViewController purgeMemoryForReason:] + 40 
28 UIKit 0x315cc14d -[UIViewController didReceiveMemoryWarning] + 16 
29 MyApp 0x0001fc3b -[WebNotesListViewController didReceiveMemoryWarning] (WebNotesListViewController.m:101) 
30 UIKit 0x315cc163 -[UIViewController _didReceiveMemoryWarning:] + 14 
31 Foundation 0x34c28183 _nsnote_callback + 142 
32 CoreFoundation 0x313b620f __CFXNotificationPost_old + 402 
33 CoreFoundation 0x31350eeb _CFXNotificationPostNotification + 118 
34 Foundation 0x34c255d3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 70 
35 Foundation 0x34c271c1 -[NSNotificationCenter postNotificationName:object:] + 24 
36 UIKit 0x315a2361 -[UIApplication _performMemoryWarning] + 48 
37 UIKit 0x315a2d83 -[UIApplication _receivedMemoryNotification] + 126 
38 UIKit 0x315a0507 _memoryStatusChanged + 42 
39 CoreFoundation 0x313b6d69 __CFNotificationCenterDarwinCallBack + 24 
40 CoreFoundation 0x313b3bdf __CFMachPortPerform + 210 
41 CoreFoundation 0x313bea97 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26 
42 CoreFoundation 0x313c083f __CFRunLoopDoSource1 + 166 
43 CoreFoundation 0x313c160d __CFRunLoopRun + 520 
44 CoreFoundation 0x31351ec3 CFRunLoopRunSpecific + 230 
45 CoreFoundation 0x31351dcb CFRunLoopRunInMode + 58 
46 GraphicsServices 0x30cd041f GSEventRunModal + 114 
47 GraphicsServices 0x30cd04cb GSEventRun + 62 
48 UIKit 0x31477d69 -[UIApplication _run] + 404 
49 UIKit 0x31475807 UIApplicationMain + 670 
50 MyApp 0x4239 main (main.m:14) 

はいずれかを持っていますそれとの関係?)。

+0

[この質問]にも同様の問題があります(http://stackoverflow.com/questions/9155455/uitableview-crashes-when-the-same-row-is-selected-twice/9155477#9155477) – tipycalFlow

答えて

0

問題CountTouchGRクラスに関連していた... 私は、正確な技術的な理由を知らない..しかし、それ以前に行われていたとして、それはないviewDidLoadに、グローバル変数として宣言する必要がありました。

助けてくれたすべての方に感謝します。

1

WebNotesListViewController.m:101のように見えますが、メモリ警告があります。したがって、(ビュー)がアンロードされ、プロセスが割り当て解除されました。あなたのテーブルとは何かを持っているようだ、まさにけど言うのは難しい - そしてその属性の一つは、あなたがメモリを解放しにいけない何かをやっているWebNotesListViewControllerdidReceiveMemoryWarning方法でEXEC_BAD_ACCESS

1

を与えて参照しました。

これはARC変換に関係していることを確かめてください。その方法でコードが何をしているのかを見てください。

EDIT:

二見た目では、あなたはまだWebNotesListViewControllerクラスのdeallocを持っていない - クラッシュは本当に割り当てが解除され、そのクラスから来ています。

+0

その方法'[super didReceiveMemoryWarning];しかありません。コード行 – BufferStack

+0

クラス内の他の場所では、ビュー内のオブジェクトの1つが解放されています。 Matthewの提案は良いものです。ゾンビをシミュレータで有効にしてコードを実行してください。そして、シミュレータメニューでこのバグを引き起こすはずの「メモリ警告のシミュレート」を選択してください。 –

+0

Matthewの投稿に私のコメントを読んで、解決策を提案できますか? – BufferStack

2

すでに割り当てを解除されたオブジェクトにメッセージを送信しています。 NSZombies機器を使用している間にクラッシュを再現してみてください。

また、ゾンビを使用しないで、[WebNotesListViewController dealloc]の先頭にブレークポイントを設定し、クラッシュするまでブレークポイントを設定してみてください。

+0

k ..私は今クラッシュを再現することができます。アプリケーションはクラッシュせず、メッセージもログに書き込まれません。Zombies Instrumentを試しただけでも、何も表示されません。何が紛失しているのですか(私はゾンビを初めて知りました..別のチュートリアル - でも助けにはならない!) – BufferStack

関連する問題