What is SEGV_MAPERR?

后端 未结 2 1254
你的背包
你的背包 2020-12-02 06:22

What is SEGV_MAPERR, why does it always come up with SIGSEGV?

2条回答
  •  抹茶落季
    2020-12-02 07:06

    It's a segmentation fault. Most probably a dangling pointer issue, or some sort of buffer overflow.

    SIGSSEGV is the signal that terminates it based on the issue, segmentation fault.

    Check for dangling pointers as well as the overflow issue.

    Enabling core dumps will help you determine the problem.

提交回复
热议问题