|
From: Robert W. <rj...@du...> - 2004-09-15 22:52:34
|
Oops - forgot to CC the list. -------- Forwarded Message -------- From: Robert Walsh <rj...@du...> To: Naveen Kumar <g_n...@ya...> Subject: Re: [Valgrind-users] Re: Calling popen() in a pthread = valgrind assertion failure? Date: Wed, 15 Sep 2004 15:51:43 -0700 > /*Later ... it appears we cannot call file-related stuff in libc here, > perhaps fair enough. Be careful what you call from here. Even exit() > doesn't work (gives infinite recursion and then stack overflow); hence > myexit(). Also fprintf doesn't seem safe.*/ This is regarding calling fprintf from within a function in the libpthread replacement library, not from within a client program. > I did use fprintf in one of my apps(multi-threaded) > and valgrind didn't work. Can you be more specific? I suspect this isn't related. Regards, Robert. |