Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2007 14:50:18 GMT
From:      Martin Blapp <mb@imp.ch>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/112297: Memory leak in ld-elf.so with each thread destruction
Message-ID:  <200705011450.l41EoIoq023308@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/112297; it has been noted by GNATS.

From: Martin Blapp <mb@imp.ch>
To: Spencer Minear <minear@securecomputing.com>
Cc: freebsd-gnats-submit@freebsd.org, freebsd-threads@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705011450.l41EoIoq023308>