tags:

views:

898

answers:

1

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

+4  A: 

It's a segmentation fault which happens during malloc. 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 coredumps will help you determine the problem.

Sev