Date: Wed, 26 May 2004 18:45:15 -0700 From: Lev Walkin <vlm@netli.com> To: Cole <cole@opteqint.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Pthread / Memory Problem. Message-ID: <40B5482B.2050209@netli.com> In-Reply-To: <001901c44344$6ceee850$4206000a@stalker> References: <001901c44344$6ceee850$4206000a@stalker>
next in thread | previous in thread | raw e-mail | index | archive | help
man pthread_detach? Cole wrote: > Hey > > I have recently ported a linux application to FreeBSD, and i had to change a > number of libraries and so forth. > I have now managed to get it working correctly, with no build errors or > warnings. > The program runs correctly as well too, and there are no forseable problems. > > The other day i noticed it was slowly taking up more memory, very slightly, > but it does. > So i did post to the list a few days ago with a topic of "Memory Leak". And > i have now used the valgrind port for FreeBSD which someone did reply to my > post with. It does say there are 2 issues that could cause memory leaks, > and it looks like both originate from pthread_create. > Now when porting the application i did not touch any of that code, so i am > wondering, is the pthread code/library a different implementation as the > FreeBSD version, cause since there are no errors, im wondering if there is > just something that is missing in the code, or that has been done > differently on linux that may now be causing these memory leaks. > > If you wish i can post the pthread_create section of code and all > surrounding code, as well as the valgrind output and where its suggesting > there are memory leaks. > > Thanks > /Cole > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Lev Walkin vlm@netli.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B5482B.2050209>