最近我从iTunes Connect收到了一份崩溃报告。实际上,这是我从成千上万的用户中唯一收到的崩溃报告。这是一个iPod4,1设备。有趣的部分如下:
Date/Time: 2012-02-27 22:53:27.596 +0800
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x338958bf __exceptionPreprocess + 163
1 libobjc.A.dylib 0x303891e5 objc_exception_throw + 33
2 UIKit 0x31259749 -[UIViewController mutableChildViewControllers] + 1
3 UIKit 0x31259349 -[UINavigationController pushViewController:animated:] + 37
4 MyApp 0x000081e5 -[MyListController tableView:didSelectRowAtIndexPath:] (MyListController.m:207)
5 UIKit 0x312d3565 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 945
6 UIKit 0x3134bce7 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 159
当从表视图中选择一行并将新的视图控制器推入导航时,似乎发生了崩溃。根据我的代码,新的视图控制器已经被创建,所以崩溃发生在UINavigationController
中。
看起来不像是我编写的代码出了问题。我想知道我的想法是否正确?如何调试这个问题?