What is SEGV_MAPERR
, why does it always come up with SIGSEGV
?
There are two common kinds of SEGV, which is an error that results from an invalid memory access:
Documentation of a sort (indexed Linux source code) for SEGV_MAPERR is here: http://lxr.free-electrons.com/ident?i=SEGV_MAPERR.