从友盟获得的错误代码如下,非日常开发获取到的,这类bug隐藏很深。
Application received signal SIGSEGV
(null)
(
0 CoreFoundation 0x33e2c2bb <redacted> + 186
1 libobjc.A.dylib 0x34cea97f objc_exception_throw + 30
2 CoreFoundation 0x33e2c1c5 <redacted> + 0
3 shoot 0x000e4659 shoot + 890457
4 libsystem_c.dylib 0x3648ce8b _sigtramp + 34
5 shoot 0x0008e7a9 shoot + 538537
6 UIKit 0x3b6599c5 <redacted> + 1308
7 UIKit 0x3b65949f <redacted> + 274
8 UIKit 0x3b5efab3 <redacted> + 158
9 UIKit 0x3b6648cf <redacted> + 50
10 QuartzCore 0x3ac1abd9 <redacted> + 208
11 libdispatch.dylib 0x3641b4b7 <redacted> + 22
12 libdispatch.dylib 0x3641cdcb <redacted> + 226
13 CoreFoundation 0x33dfff3b <redacted> + 1290
14 CoreFoundation 0x33d72ebd CFRunLoopRunSpecific + 356
15 CoreFoundation 0x33d72d49 CFRunLoopRunInMode + 104
16 GraphicsServices 0x3bb702eb GSEventRunModal + 74
17 UIKit 0x3b62e2f9 UIApplicationMain + 1120
18 shoot 0x0000db97 shoot + 11159
19 shoot 0x0000db50 shoot + 11088
)
遇到如此错误该如何下手?
这错误列表,debug 断点,首先你add exception breakpoint,加入断点调试,可以找到代码发生错误的位置。
然后信号的类型就两种:1,SIGABRT 2,EXC_BAD_ACCESS(SIGSEGV)要么就是过度release 要么就是unrecogized selector。
http://blog.sina.com.cn/s/blog_777694… 给你个参考,如何加断点,这类debug方式网上很多参考资料。
http://blog.csdn.net/theonezh/article… 错误的原理解释。
http://www.raywenderlich.com/10209/my…
老外写的,还不错的。
Application received signal SIGSEGV 你好什么时候会出现这种状态?
正文完