Segmentation fault

来源:互联网 发布:路由器mac地址查询 编辑:程序博客网 时间:2024/06/15 23:57

程序调试遇到错误:Program terminated with signal SIGSEGV, Segmentation fault.

SIGSEGV:

在POSIX兼容的平台上,SIGSEGV是当一个进程执行了一个无效的内存引用,或发生段错误时发送给它的信号。SIGSEGV的符号常量在头文件signal.h中定义。

官方说法:
SIGSEGV — Segment Fault. The possible cases of your encountering this error are:

1.buffer overflow — usually caused by a pointer reference out of range.
2.stack overflow — please keep in mind that the default stack size is 8192K.
3.illegal file access — file operations are forbidden on our judge system.

0 0
原创粉丝点击