|
From: Nicholas N. <nj...@cs...> - 2005-07-21 00:15:16
|
On Wed, 20 Jul 2005, parag shah wrote: > ya this works. what i was actually doing is running valgrind as a backgrond > process and thus could not do a cltr c. doing a kill -9 didnt work. > > if i dont run it with & then i can do a cltr c which propogates to my > precess, kills it and then valgrind can calculate the memory leak. kill -9 sends "SIGKILL" which no process can catch, which is why Valgrind doesn't do the leak checking. Use "kill -2" or "kill -15" (SIGTERM and SIGINT respectively) instead and Valgrind will do leak checking. N |