From: Julian S. <js...@ac...> - 2003-05-21 06:37:03
|
On Tuesday 20 May 2003 10:24 pm, Nicholas Nethercote wrote: > On Tue, 20 May 2003, Yasushi Saito wrote: > > Here's a really simple program: > > > > #include <netdb.h> > > int main() > > { > > gethostbyname("www.yahoo.com"); > > } > > > > When I compile this program on Redhat 8 (glibc-2.2.93-5, gcc-3.2-7) and > > run it under helgrind (1.9.6), it dumps core. > > > > By the way, this problem doesn't happen with valgrind 1.9.3, but it does > > with 1.9.5. Any help is appreciated.. > > I tried it under 1.9.6 and the current HEAD on RH 7.1 and it worked > fine... hmm. Also works ok on SuSE 8.2. You say -lpthread in your command line; if you remove that does it make any difference? J |