While using malloc_g library, I got the following message:
/product/build/cvs/nto/libc/alloc/band.c:66 - fatal alloc error - Inp
address
segmentation violation (core dump)
Does it come from me?
Do you want the core file?
Alain.
While using malloc_g library, I got the following message:
/product/build/cvs/nto/libc/alloc/band.c:66 - fatal alloc error - Inp
address
segmentation violation (core dump)
Does it come from me?
Do you want the core file?
Alain.
In article <3A7AB11C.667F2082@icbt.com>,
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
While using malloc_g library, I got the following message:
/product/build/cvs/nto/libc/alloc/band.c:66 - fatal alloc error - Inp
address
segmentation violation (core dump)Does it come from me?
Probably. There are two normal causes. Having libc linked before
malloc_g (resulting in inconsistent definitions of heap data structures),
or a heap corruption that escaped the checking in the library.
The former is easy to fix – change the link line. The latter might
be found by increasing the frequency of heap checking, such as using
mallopt(MALLOC_CKCHAIN,1);
Do you want the core file?
Alain.
Steve Furr email: furr@qnx.com
QNX Software Systems, Ltd.