threads/112297: Memory leak in ld-elf.so with each thread
destruction
Martin Blapp
mb at imp.ch
Tue May 1 14:50:19 UTC 2007
The following reply was made to PR threads/112297; it has been noted by GNATS.
From: Martin Blapp <mb at imp.ch>
To: Spencer Minear <minear at securecomputing.com>
Cc: freebsd-gnats-submit at freebsd.org, freebsd-threads at freebsd.org
Subject: Re: threads/112297: Memory leak in ld-elf.so with each thread
destruction
Date: Tue, 1 May 2007 16:19:27 +0200 (CEST)
Hi,
> --- rtld.c 3 Jan 2006 20:44:27 -0000 1.4
> +++ rtld.c 1 May 2007 12:37:45 -0000
> @@ -2733,6 +2733,7 @@
> }
>
> free((void*) tlsstart);
> + free(dtv);
> }
Also clamd seems to suffer under this memleak. Without the fix clamd slowly
leaks memory untill it dies after some months.
--
Martin
More information about the freebsd-threads
mailing list