小编Mic*_*ael的帖子

我的 iOS 应用程序崩溃报告中的 SIGSEGV 异常

我不断收到此崩溃报告,但我无法弄清楚问题出在哪里。我知道 SIGSEGV 异常类型通常是由于内存管理问题。

根据第 9 行,cxx_destruct在 SoundsViewController 内部调用函数时会发生崩溃,对吗?我在我的代码中看到这个控制器中的第 182 行是- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath函数的结尾。

这是否意味着有一些变量没有正确释放?我如何找到它们?我启用了 Zombie,它帮助我修复了另一个崩溃,但没有解决这个问题。

我将不胜感激任何帮助。谢谢!

Exception Type:  SIGSEGV
Exception Codes: SEGV_ACCERR at 0xe15e7790
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                     0x38656b26 +[Protocol load] + 1289
1   Foundation                          0x2ec6803b -[NSThread description] + 1710
2   CoreFoundation                      0x2e25018b -[__NSCFLocale initWithLocaleIdentifier:] + 20334
3   CoreFoundation                      0x2e24f65b -[__NSCFLocale initWithLocaleIdentifier:] + 17470
4   CoreFoundation                      0x2e24de4f -[__NSCFLocale initWithLocaleIdentifier:] + 11314
5   CoreFoundation                      0x2e1b8ce7 0x2e1b1000 + 31975
6   CoreFoundation                      0x2e1b8acb …
Run Code Online (Sandbox Code Playgroud)

crash objective-c crash-reports ios

5
推荐指数
1
解决办法
5444
查看次数

标签 统计

crash ×1

crash-reports ×1

ios ×1

objective-c ×1