threads/112297: Memory leak in ld-elf.so with each thread destruction

Martin Blapp mb at imp.ch
Tue May 1 14:48:16 UTC 2007


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