|
From: Naveen K. <g_n...@ya...> - 2004-09-15 22:48:20
|
Oops maybe I spoke too soon about the particular program in question but I think there is a problem with fprintf. Look at the header in vg_libpthread.c. It says /*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.*/ I did use fprintf in one of my apps(multi-threaded) and valgrind didn't work. Naveen --- Robert Walsh <rj...@du...> wrote: > On Wed, 2004-09-15 at 10:53 -0700, Naveen Kumar > wrote: > > valgrind seems to have a problem with fprintf, so > you > > might need to take that out. > > Valgrind doesn't have any problems with fprintf that > we're aware of. > > Regards, > Robert. > > --- Tom Hughes <th...@cy...> wrote: > In message > <200...@we...> > Naveen Kumar <g_n...@ya...> wrote: > > > valgrind seems to have a problem with fprintf, so > you > > might need to take that out. > > It has no problems with fprintf that we are aware > of, so if you > think you know otherwise I suggest you report it. > > Tom > > -- > Tom Hughes (th...@cy...) > Software Engineer, Cyberscience Corporation > http://www.cyberscience.com/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: thawte's Crypto > Challenge Vl > Crack the code and win a Sony DCRHC40 MiniDV Digital > Handycam > Camcorder. More prizes in the weekly Lunch Hour > Challenge. > Sign up NOW > http://ad.doubleclick.net/clk;10740251;10262165;m > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail |