This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Indefinite hang in getaddrinfo / check_pf / make_request
- From: Steven Schlansker <stevenschlansker at gmail dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Tue, 22 Sep 2015 21:59:05 -0700
- Subject: Re: Indefinite hang in getaddrinfo / check_pf / make_request
- Authentication-results: sourceware.org; auth=none
- References: <530A3DC3-298A-4D7B-9736-5EF7575B51CB at gmail dot com> <CALoOobPjfRqzzbaZ35ibB1jyZ6yZsG5YGr2YYqOJjADG-oQYXA at mail dot gmail dot com>
> On Sep 22, 2015, at 9:04 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>
> On Tue, Sep 22, 2015 at 8:53 PM, Steven Schlansker
> <stevenschlansker@gmail.com> wrote:
>
>> We found the following issue:
>> https://sourceware.org/bugzilla/show_bug.cgi?id=15946
>
> You may be seeing https://sourceware.org/bugzilla/show_bug.cgi?id=12926 instead.
>
> See if that patch has been applied to your sources as well.
Thanks for finding this. While that fix is not applied to our deployed version,
I think the symptoms are slightly different -- my reading is that it will spin in an
infinite loop in the userland code, endlessly reading zero bytes; what we are observing
is that the recvmsg syscall never returns at all (as confirmed both by gdb "step"
and attaching strace to the hung process)
If you think my understanding is wrong, we can try upgrading.