freebsd-make weird error

Petr Salinger Petr.Salinger at t-systems.cz
Sun Feb 12 14:26:11 UTC 2006


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

Does it help ?

Petr





More information about the Glibc-bsd-devel mailing list