Date: Tue, 18 Aug 1998 09:05:56 -0700 (PDT) From: Thomas Dean <tomdean@ix.netcom.com> To: current@FreeBSD.ORG Subject: Re: Calloc or VM Problem <== My Problem, Now Solved Message-ID: <199808181605.JAA14177@ix.netcom.com> In-Reply-To: <199808172233.WAA12072@dingo.cdrom.com> (message from Mike Smith on Mon, 17 Aug 1998 22:33:53 %2B0000)
next in thread | previous in thread | raw e-mail | index | archive | help
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. The initial structure was somewhat small. In all the transactions, a few dozen bytes were calloc'ed for a small table. After receiving his message, the problem was easy to find. In pouring over the entire structure, the remainder was calloc'ed for a future table and never used, thus not corrupted. Thanks for your help, tomdean 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?199808181605.JAA14177>