我的應用程序在構建和調試時效果很好,但是當我自己運行時,由於其他一些問題而崩潰。
我有一個NSObject類,一個UITableView類,一個UIView類,一個UITableViewCell類和一個NSOperation類。 任何機構是否有類似的問題,或有任何人可以幫助我。如何識別崩潰日誌中的錯誤
Application Specific Information:
objc_msgSend() selector name: release
iPhone Simulator 235, iPhone OS 4.2 (iPhone/8C134)
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x01134a67 objc_msgSend + 27
1 UIKit 0x004ab1e2 -[UITableViewCell removeFromSuperview] + 167
2 UIKit 0x003249d9 -[UIView dealloc] + 340
3 UIKit 0x0032e281 -[UIScrollView dealloc] + 341
4 UIKit 0x003661ce -[UITableView dealloc] + 1085
5 Foundation 0x000698da __delayedPerformCleanup + 59
6 CoreFoundation 0x00f4bbde CFRunLoopTimerInvalidate + 446
7 CoreFoundation 0x00fb57d7 __CFRunLoopDoTimer + 1799
8 CoreFoundation 0x00f11cc9 __CFRunLoopRun + 1817
9 CoreFoundation 0x00f11240 CFRunLoopRunSpecific + 208
10 CoreFoundation 0x00f11161 CFRunLoopRunInMode + 97
11 GraphicsServices 0x01874268 GSEventRunModal + 217
12 GraphicsServices 0x0187432d GSEventRun + 115
13 UIKit 0x002fa42e UIApplicationMain + 1160
14 Time 0x00001e08 main + 102 (main.m:14)
15 Time 0x00001d99 start + 53
發佈您的代碼。你正在釋放一些東西。 – robertvojta 2011-02-25 18:18:13
是否有可能知道哪一行結束從崩潰錯誤中釋放,因爲我找不到該行或該文件。 – lifemoveson 2011-02-25 18:36:17
@lifemoveson:您需要發佈您的代碼才能獲得滿意的答案,因爲無法通過查看崩潰日誌來猜測實際可能會造成崩潰的原因。 – 2011-02-25 18:40:13