What does SEGV_ACCERR mean?

后端 未结 4 913
有刺的猬
有刺的猬 2020-12-30 22:35

I am examining a few crashes that all have the signal SIGSEGV with the reason SEGV_ACCERR. After searching for SEGV_ACCERR, the closest thing I have found to a human readabl

4条回答
  •  一整个雨季
    2020-12-30 23:16

    I've seen this in cases where code tries to execute from places other than "text".

    For eg, if your pointer is pointing to a function in heap or stack and you try to execute that code (from heap or stack), the CPU throws this exception.

提交回复
热议问题