【发布时间】:2011-01-19 10:37:54
【问题描述】:
由于某种原因,我的应用在执行特定操作时崩溃了。经过调查,我发现是因为发布了一些已经发布的东西。然后我在互联网上阅读到我可以使用我实现的 NSZombie 和 MallocStackLogging 来追踪这个问题的原因,并得到了这个结果。
NSZombie:2011-01-19 14:39:09.523 iota[13649:207] * -[CFString release]:发送给deallocated的消息 实例 0xeeaf510
malloc_history
ALLOC 0xeeaf510-0xeeaf52f [大小=32]: thread_a0041500 |开始 |主要 | UIApplicationMain | GSEventRun | GSEventRunModal | CFRunLoopRunInMode | CFRunLoopRun 特定 | CFRunLoopRun | __CFRunLoopDoTimer | __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION | __NSFireDelayedPerform | -[UITableView _userSelectRowAtIndexPath:] | -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] | -[CorpDirViewController tableView:didSelectRowAtIndexPath:] | -[CorpDirPersonViewController corpDirViewController:shouldContinueAfterSelectingContact:] | -[ContactItem mergeWithContact:] | -[ContactItem getValueForProperty:] | ABRecordCopyValue | CPRecordCopyProperty | CPRecordGetProperty | ABCMultiValueLoad | ABCDBContextFetchMultiValuePropertyIntoRecord | ABCDBContextFetchMultiValueEntries | CPSqliteStatementSendResults | 收集多值条目 | _sqliteStatementApplyValuesFromRecordWithNullValue | CFStringCreateWithCString | __CFStringCreateImmutableFunnel3 | _CFRuntimeCreateInstance | malloc_zone_malloc
现在我无法找出导致崩溃的具体原因。谁能帮帮我?
【问题讨论】:
-
请将问题格式化为可读状态:-)
标签: iphone