freebsd-make weird error

Robert Millan rmh at aybabtu.com
Sun Feb 12 16:51:17 UTC 2006


On Sun, Feb 12, 2006 at 03:26:11PM +0100, Petr Salinger wrote:
> Hi!
> 
> > I'm trying to debug a problem with FreeBSD 6.x make.  Running it (with no args)
> > generates a glibc error.  I think it's leaking something but I'm not sure what
> > (streams?).  Anyone has an idea on what could it be?
> > 
> > Starting program: /home/rmh/hacking/glibc-bsd/freebsd6-buildutils/build-tree/src/usr.bin/make/make
> > *** glibc detected *** double free or corruption (!prev): 0x0806ce18 ***
> 
> Usually some (malloced) memory is freed twice. 
> glibc now tries to detect this.
> 
> Can you try following patch ? 
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/make/main.c.diff?r1=1.155&r2=1.158&f=h

Thanks, that did it.

freebsd6-buildutils is now complete.  Although I haven't tested it succesfuly
with kfreebsd 6.x sources yet (ironicaly, freebsd5-buildutils seems to have less
trouble).

-- 
Robert Millan



More information about the Glibc-bsd-devel mailing list