ios - 如何理解和解决崩溃报告: SIGSEGV, SEGV_ACCERR

标签 ios crash-reports segmentation-fault

我有时会收到此崩溃报告:

Name: SIGSEGV
Reason: SEGV_ACCERR
Stack Trace:

0 MyApp 0x00070456 0x1000 + 455766
1 MyApp 0x0007a34d 0x1000 + 496461
2 MyApp 0x0007a4f1 0x1000 + 496881
3 MyApp 0x000d31dd 0x1000 + 860637
4 MyApp 0x00067f0f 0x1000 + 421647
5 MyApp 0x0005ad69 0x1000 + 367977
6 MyApp 0x000081e3 0x1000 + 29155
7 MyApp 0x00008ae9 0x1000 + 31465
8 CoreFoundation 0x35a547e4 __invoking___ + 68
9 CoreFoundation 0x359af7b1 -[NSInvocation invoke] + 160
10 Foundation 0x3556268f -[NSInvocationOperation main] + 114
11 Foundation 0x354fb393 -[__NSOperationInternal start] + 862
12 Foundation 0x35564793 __block_global_6 + 102
13 libdispatch.dylib 0x348dec59 _dispatch_call_block_and_release + 12
14 libdispatch.dylib 0x348e1817 _dispatch_worker_thread2 + 258
15 libsystem_c.dylib 0x32e0edfb _pthread_wqthread + 294

我不明白这份崩溃报告。我也不知道这是什么时候发生的。

有没有办法找到更多关于这次崩溃的信息?

我该如何解决这个问题?

最佳答案

您需要符号化崩溃报告,这会将第 0 行到第 7 行中的地址转换为有意义的类、方法和行号。如果您仍然拥有导致崩溃的构建的二进制文件,通常 Xcode 会自动执行此操作。

关于ios - 如何理解和解决崩溃报告: SIGSEGV, SEGV_ACCERR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11645728/

相关文章:

ios - swift 中的三元运算符这个 "?"符号是什么

ios - 以编程方式读取 iOS 应用程序 .crash 文件?

android - Fabric Crashlytics 报告显示一些字母而不是我的 Android 应用程序的类名称

c - SHA256 使用 Openssl 导致段错误

c++ - 为什么在使用 MinGW 添加 ltalloc 时会出现段错误

c - 两个指针的段错误

ios - ScrollView 中的多个图像

ios - 快速解析检查用户输入的输入并刷新值

ios - UITableViewAutomaticDimension 和多行标签问题

ios - 苹果拒绝应用 “We found that your app crashed on iPhone 5s running iOS 7.1.2 ”