Date: Thu, 29 Sep 2005 15:31:56 +0200 From: Simon Barner <barner@FreeBSD.org> To: Lefteris Tsintjelis <lefty@ene.asda.gr> Cc: freebsd-stable@freebsd.org Subject: Re: pthread_key_create memory leakage in pthreads? Message-ID: <20050929133156.GA72022@zi025.glhnet.mhn.de> In-Reply-To: <433BB81A.5090602@ene.asda.gr> References: <433BB81A.5090602@ene.asda.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Lefteris Tsintjelis wrote: > Hi, > > dmesg: FreeBSD 5.4-STABLE #0: Sun Sep 25 20:08:39 EEST 2005 > > I am using valgrind to check my program but it always seems to come with > this > message: > > ==8210== 600 bytes in 3 blocks are definitely lost in loss record 3 of 6 > ==8210== at 0x3C03619F: malloc (in > /usr/local/lib/valgrind/vgpreload_memcheck.so) > ==8210== by 0x3C0978EC: (within /usr/local/lib/valgrind/libpthread.so.1) > ==8210== by 0x3C09A2FD: (within /usr/local/lib/valgrind/libpthread.so.1) > ==8210== by 0x3C09A489: pthread_key_create (in > /usr/local/lib/valgrind/libpthread.so.1) > > I am not sure if its accurate or not. I use a proper pthread_exit in my > thread. > Is there anything more that I should do besides that? Can you provide a (minimal) example where this happens? Also, what is the exact command line? -- Best regards / Viele Grüße, barner@FreeBSD.org Simon Barner barner@gmx.de [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDO+zMCkn+/eutqCoRAqynAJ9XMnbS10n0a7PtJ7NGRlsxobXm7gCfXOQV mWFPVxXoJhRQDx92PN0nD5E= =KSEf -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050929133156.GA72022>
