SIGSEGV (Segmentation fault)
访问了没有权限的内存地址(系统内存地址等)
Access to an invalid memory address. The address exist, but your program does not have access to it.
SIGBUS (Bus error)
访问了无效的内存地址
Access to an invalid memory address. The address does not exist, or the alignment is invalid.
SIGABRT
OC和ios系统层面上的crash信号, 比如重复释放了一个object指针等。
SIGFPE (Floating point exception)
浮点数运算异常
Invalid arithmetic operation. Can be related to integer operations, despite the name.
SIGSEGV和SIGBUS都是属于硬件层面的信号。
本文介绍了几种常见的程序崩溃信号,包括SIGSEGV、SIGBUS、SIGABRT、SIGFPE等,解释了这些信号出现的原因及其含义,并指出SIGSEGV和SIGBUS属于硬件层面的信号。
902

被折叠的 条评论
为什么被折叠?



