Date: Sat, 08 Feb 1997 17:29:36 +0100 From: Poul-Henning Kamp <phk@critter.dk.tfs.com> To: Andrew Herdman <andrew@why.whine.com> Cc: current@freebsd.org Subject: Re: Make world of Current dies with weird errors. Message-ID: <8301.855419376@critter.dk.tfs.com> In-Reply-To: Your message of "Fri, 07 Feb 1997 21:27:30 EST." <Pine.BSF.3.95.970207212402.1098A-100000@why>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.95.970207212402.1098A-100000@why>, Andrew Herdman writes : >When i'm doing a make world, i get the following errors. > >make cleandir > ><cleaning stuff going on here> > >===> lib/libtelnet >make in free(): warning: chunk is already free. >make in free(): warning: chunk is already free. >make in free(): warning: chunk is already free. Off the top of my head I'd say RAM/cache HW problem, but I have heard other reports about the same phenomena enough to find it slightly worrisome, and I have not been able to reproduce the problem here. If you can reliably reproduce this, and have time & courage, here's how to proceed: in your chroot environment: ln -s A /etc/malloc.conf reproduce the problem you should now have a make.core file somewhere. gdb /usr/src/.../make make.core find the problem make a patch send-pr The actual complaint from the program means that some piece of memory that was allocated with malloc is freed twice. The fact that it's called a "chunk" tells that it is <= 2048 bytes long. If you can get a stacktrace, you will find the pointer to this piece of memory in the topmost call to free() or realloc(). Try to see if you can compile a make with "-g" and still reproduce the problem. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8301.855419376>