|
From: Sean O. <ow...@hy...> - 2003-11-15 23:12:49
|
sandhya satyanarayan writes: > I am facing problem in detecting memory leaks using > valgrind for a multithreaded application.When i run > the multithreaded applcn with valgrind valgrind > doensnt detect any errors and neither does it shows > the leak > summary. The last line shown by valgrind is > "valgrind's libpthread.so: KLUDGED call to: > phread_cond_destroy" > What may be the problem > -Sandhya Just a check - make sure that your program isn't statically linking the system pthreads library. This is something that bit me hard when I first tried to use valgrind. I was statically linking pthreads and valgrind was giving me nothing in the way of output. Sean -- Sean R. Owens ow...@cs... 412-268-3194 (office number) 1604c Newell Simon Hall | "The Soldier's Medal is awarded to Mr. Hugh C. Thompson, Jr. for | heroism above and beyond the call of duty on 16 March, 1968 ... at | My Lai, Quang Ngai Province, South Vietnam. ... landed his | helicopter in the line of fire between fleeing Vietnamese civilians | and pursuing American ground troops to prevent their murder. ... | exemplifies the highest standards of personal courage and ethical | conduct ..." - Signed, Togo D. West, Jr., Secretary of the Army. | http://www.acadianhouse.com/hughthompson/story.htm |