Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 1998 19:58:43 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Thomas Dean <tomdean@ix.netcom.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Calloc or VM Problem <== My Problem, Now Solved 
Message-ID:  <366.903463123@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 18 Aug 1998 09:05:56 PDT." <199808181605.JAA14177@ix.netcom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199808181605.JAA14177@ix.netcom.com>, Thomas Dean writes:
>Poul-Henning Kamp <phk@critter.freebsd.dk> showed me how to find this
>kind of problem.
>
>	setenv MALLOC_OPTIONS UJA
>	ktrace -t u ./your-program
>
>It was my problem.

You don't need the 'U' and the ktrace, unless you are making a
tracefile, most malloc bugs seems to be caught with 'AJ'.

I will recommend any software developer to 

	ln -s AJ /etc/malloc.conf

on their test machines.


--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?366.903463123>