|
From: hari r <hur...@gm...> - 2005-11-23 04:38:22
|
Hi, I am using Valgrind 3.0.1. I have to try to detect leaks in an application, running on RH Linux ES3. The appln is multi-threaded, uses ACE and TAO and links only to shared objects. (ldd output). My problems is, when i let the appln run for some time, and do some operations to exercise it, and then kill the app(ctrl+c), valgrind does not generate any leaks summary. It exits with a value 137. I use the command line: valgrind --show-reachable=3Dyes --leak-check=3Dfull -v <appln> All that is displayed on the ssh terminal is the line "Killed". I did another test, I added a time check in one of the threads and after about 1 min, i call exit. At this time valgrind generates the leaks summary. However this is not suitable because the application never got a chance to free its resources. Unfortunately I cant give much internal info. But just tht a similar appln does not show this problem and generates my leaks summary neatly. I know this is not much info to go with, but can any of you throw light o= n why valgrind may not generate the leaks summary? Thnks H. |