|
From: Saneesh S. <san...@gm...> - 2007-09-13 16:28:51
|
Hi,
if i try to use "valgrind --tool=memcheck --leak-check=full
--show-reachable=yes --trace-children=yes -v" option am getting segmentation
fault ,
Is it because of "--trace-children=yes option"?,if i dont
use this option my program is working fine. In my program am internally
starting servers using threads.
Please let me know the side effects and explanation of
"--trace-children=yes option". i didnt get proper explanation
about --trace-children=yes option from valgrind site.
Regards
Saneesh
|
|
From: Michael A. <Mic...@fs...> - 2007-09-13 17:49:22
|
Saneesh SDay wrote: > Hi, > Hello, > if i try to use "valgrind --tool=memcheck > --leak-check=full > --show-reachable=yes --trace-children=yes -v" option am getting > segmentation > fault , > Does you program segfault or valgrind? In case it is valgrind you can try compiling trunk, see http://valgrind.org/downloads/repository.html > Is it because of "--trace-children=yes option"?,if i dont > use this option my program is working fine. In my program am internally > starting servers using threads. > > Please let me know the side effects and explanation of > "--trace-children=yes option". i didnt get proper explanation > about --trace-children=yes option from valgrind site. > --trace-children=yes means that all subprocesses and threads created during the lifetime of the program that is valgrinded are also run under valgrind. The default is not to do that. > Regards > Saneesh Cheers, Michael |