美文网首页
SEGV_MAPERR

SEGV_MAPERR

作者: testfor | 来源:发表于2017-09-18 22:34 被阅读0次

SEGV_MAPERR or SIGSEGV

segmentation fault, 一般由a dangling pointer issue, or some sort of buffer overflow

有两种SEGV,由一次无效内存访问错误引起。

1,A page was accessed which had the wrong permissions. 如某块内存区域是只读的,而程序尝试去写该块内存。SEGV_ACCERR

2,A page was accessed that is not even mapped into the address space of the application at all.

一般会dereferencing a null pointer or a pointer that was corrupted with a small integer value

SEGV_MAPERR

相关文章

网友评论

      本文标题:SEGV_MAPERR

      本文链接:https://www.haomeiwen.com/subject/vxjisxtx.html