Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2004 15:44:41 +0100
From:      "Willem Jan Withagen" <wjw@withagen.nl>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: Strange calloc problem 
Message-ID:  <02be01c3d13e$f4f01c60$471b3dd4@dual>
References:  <26612.1073053796@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
> In message <029c01c3d12a$2488c2c0$471b3dd4@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02be01c3d13e$f4f01c60$471b3dd4>