pthread_key_create memory leakage in pthreads?

From: Lefteris Tsintjelis (lefty_at_ene.asda.gr)
Date: 09/29/05

  • Next message: Oliver Fromme: "Re: Advice sought on upgrading from 4.11-R to 5.4..."
    Date: Thu, 29 Sep 2005 12:47:06 +0300
    To: freebsd-stable@freebsd.org
    
    

    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?

    Please CC

    Thnx,

    Lefteris

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Oliver Fromme: "Re: Advice sought on upgrading from 4.11-R to 5.4..."

    Relevant Pages

    • setsockopt and SO_RCV/SNDTIMEO
      ... When I telnet to the socket, ... Thnx, ... Lefteris ... To unsubscribe, ...
      (freebsd-stable)
    • [Fwd: Re: measuring CPU usage (was Re: nvidia driver problem)]
      ... I don't think valgrind is what you're after. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
      (Debian-User)
    • Re: measuring CPU usage (was Re: nvidia driver problem)
      ... I don't think valgrind is what you're after. ... nv gives on my machine no troubles with cpu-usage. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: measuring CPU usage (was Re: nvidia driver problem)
      ... I don't think valgrind is what you're after. ... "top" is a console program that does what you want (and is a required package in Debian), or there's gnome-system-manager, an X tool that does much the same job. ... nv gives on my machine no troubles with cpu-usage. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: measuring CPU usage (was Re: nvidia driver problem)
      ... Jon Dowland wrote: ... I don't think valgrind is what you're after. ... "top" is a console program that does what you want (and is a required package in Debian), or there's gnome-system-manager, an X tool that does much the same job. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)