Strange calloc problem

Willem Jan Withagen wjw at withagen.nl
Fri Jan 2 06:43:42 PST 2004


From: "Poul-Henning Kamp" <phk at phk.freebsd.dk>
> In message <029c01c3d12a$2488c2c0$471b3dd4 at dual>, "Willem Jan Withagen"
writes:
> >
> >I'm running this compiler which is rather heap intensive and it crashed
with
> >a SigFault
> >in calloc/malloc (I've tied both, but as expected calloc calls malloc)
> >What suggestions are there further to track this down to the real
problem.
>
> Try running with malloc flags 'A' and 'J'

That was one of my first attempts, but that did not help much.

I hate Heap problems...
2 bytes changed, and now I'm no longer able to reproduce the error.

So I've picked dmalloc from /usr/ports/devel to be my friend.
And it shows that the compiler tools are seriously messing up the heap.

--WjW



More information about the freebsd-current mailing list