Ethereal-users: Re: [Ethereal-users] Re: Bug: Ethereal on ppp device hangs in futex

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Thu, 22 Jul 2004 12:02:04 -0700 (PDT)
Peter Daum said:
> You are right, it indeed is a problem with DNS lookups. According to
> the backtrace, it simply gets stuck in a call to "gethostbyaddr"
> (host_name_lookup at resolv.c:382 in 0.10.5). In this case, it might
> not even be a problem with ethereal, but more likely a change in the C
> library.
>
> Shouldn't the gethostbyaddr function return an errror if there was no
> answer within a certain time interval (I thought, it was that way, but
> the manpage dosn't mention any timeout)?

As far as I know, it should.

> I have seen programs
> seemingly hang for 30 seconds trying to resove an address, but in the
> case of ethereal, after an hour it is still blocked,

Blocked in the *same* call?

If so, that sounds like a bug in "gethostbyaddr()".