|
From: senganal <set...@ci...> - 2004-07-08 08:03:52
Attachments:
sample
|
Hi
While using valgrind for memory leak testing of my application, i am
facing the following issue :
valgrind doesent wait on ACE_Manual_Event.wait() or
ACE_Condition_Thread_Mutex.wait().. It immediatly exits out of the wait..
The binary when run without valgrind runs normally though, waiting for
the specified amount of time before returning. ACE internally uses
pthread_cond_wait() for implementing these wait() functions. So, i
tried using pthread_cond_wait() and valgrind works fine and waits for
the required period of time before returning.
valgrind throws an error message when the code is run on redhat 9.0 but
no error message is generated on AS3.0, but in both case it doesent wait
on these functions. I have attached a sample program and the valgrind
output on both redhat 9 and as3.0 in this mail.
Will be grateful for any suggestions.
ACE version : 5.3.5
valgrind version : 2.0.0 ( tried with 2.1.1 also )
Thanks and Regards
Senganal
|