Mail Archives: djgpp-workers/1998/10/30/19:54:09
Robert Hoehne wrote:
>
> One hint to localize the problem. Link your program (MC) with
> the malloc functions from bsdmallo.c (the same directory like
> malloc.c)
thanks. I'll give that a try. I downloaded the dmalloc package, but that
is another case
of trying to hack a makefile, and work my way through the heavily unix
oriented docs before
I'll get anything out of it.
I did get a libdmalloc.a built, linked it in in place of the malloc, and
MC doesn't fault under it.
I am reasonably sure MC is corrupting 'fenceposts', but haven't figured
out yet how to get dmalloc
to check and log those errors.
There is a note in the dmalloc package saying not to be too surprised if
many unix programs are found
to hit the fenceposts. This does not sound good.
- Raw text -