2012-03-15 4 views
0

私はアプリケーションを1つしか持っていません。私のアプリケーションクラッシュがありますが、何が問題なのか理解できません。見て、ありがとう:)私はアプリケーションのクラッシュログを取得しましたが、何が間違っているのか分かりません。

0 TurfNutritionTool_ver_5.1 0x00189642 testflight_backtrace + 142 
1 TurfNutritionTool_ver_5.1 0x0018a1d0 TFSignalHandler + 212 
2 libsystem_c.dylib 0x3174872e _sigtramp + 42 
3 UIKit 0x362f2aa0 -[UITableView dealloc] + 56 
4 CoreFoundation 0x317b5c42 -[NSObject(NSObject) release] + 30 
5 libobjc.A.dylib 0x3125d50c objc_setProperty_non_gc + 120 
6 libobjc.A.dylib 0x31255046 objc_setProperty + 26 
7 TurfNutritionTool_ver_5.1 0x001051c8 -[TNTScenarioViewController setScenarioTable:] (TNTScenarioViewController.m:15) 
8 TurfNutritionTool_ver_5.1 0x00103610 -[TNTScenarioViewController viewDidUnload] (TNTScenarioViewController.m:160) 
9 UIKit 0x362a9a28 -[UIViewController unloadViewForced:] + 172 
10 UIKit 0x362b96b8 -[UIViewController unloadViewIfReloadable] + 16 
11 UIKit 0x3630012c -[UIViewController purgeMemoryForReason:] + 40 
12 UIKit 0x3630014c -[UIViewController didReceiveMemoryWarning] + 16 
13 TurfNutritionTool_ver_5.1 0x00102682 -[TNTScenarioViewController didReceiveMemoryWarning] (TNTScenarioViewController.m:40) 
14 UIKit 0x36300162 -[UIViewController _didReceiveMemoryWarning:] + 14 
15 Foundation 0x3113f182 _nsnote_callback + 142 
16 CoreFoundation 0x3182020e __CFXNotificationPost_old + 402 
17 CoreFoundation 0x317baeea _CFXNotificationPostNotification + 118 
18 Foundation 0x3113c5d2 -[NSNotificationCenter postNotificationName:object:userInfo:] + 70 
19 Foundation 0x3113e1c0 -[NSNotificationCenter postNotificationName:object:] + 24 
20 UIKit 0x362d6360 -[UIApplication _performMemoryWarning] + 48 
21 UIKit 0x362d6d82 -[UIApplication _receivedMemoryNotification] + 126 
22 UIKit 0x362d4506 _memoryStatusChanged + 42 
23 CoreFoundation 0x31820d68 __CFNotificationCenterDarwinCallBack + 24 
24 CoreFoundation 0x3181dbde __CFMachPortPerform + 210 
25 CoreFoundation 0x31828a96 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26 
26 CoreFoundation 0x3182a83e __CFRunLoopDoSource1 + 166 
27 CoreFoundation 0x3182b60c __CFRunLoopRun + 520 
28 CoreFoundation 0x317bbec2 CFRunLoopRunSpecific + 230 
29 CoreFoundation 0x317bbdca CFRunLoopRunInMode + 58 
30 GraphicsServices 0x336d641e GSEventRunModal + 114 
31 GraphicsServices 0x336d64ca GSEventRun + 62 
32 UIKit 0x361abd68 -[UIApplication _run] + 404 
33 UIKit 0x361a9806 UIApplicationMain + 670 
34 TurfNutritionTool_ver_5.1 0x000edb68 main (main.m:14) 
35 TurfNutritionTool_ver_5.1 0x000edb27 start + 39 

答えて

3

あなたはスタックトレースの概念に精通していますか?あなたが見ているのは、クラッシュ(0)から最近のフレームエントリまでのコード実行行です。したがって、これは、コードが実行を停止した点から後ろに行くので、「バックトレース」と呼ばれます。

私はあなたのコードについて知りませんが、バックトレースの14行目にメモリ不足警告が表示されています。この警告は、UITableView(3行目)の割り当て解除を含む一連のアンロードイベントを引き起こしました。

すぐに_sigtrampが続きます。おそらくEXC_BAD_ACCESSを示しています。あなたのコードの残りの部分を見ることなく、私の推測では、メモリ不足の状況で解放されたものにアクセスしているということです。

+0

これは非常に役に立ちました。スタックトレースについてはあまりよく分かりませんが、何がうまくいかないかを学び、理解しようとします。どうもありがとうございます – Retro

関連する問題