This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12926] getaddrinfo()/make_request() may spin forever


https://sourceware.org/bugzilla/show_bug.cgi?id=12926

--- Comment #8 from James E. King, III <jim.king at simplivity dot com> ---
So we originally believed that we had seen this as well which is why I found
and re-posted this patch.  This patch is still correct, if you examine the man
page for recv a zero response is possible and was not properly handled. 
Recommend you examine https://sourceware.org/bugzilla/show_bug.cgi?id=15946 and
see if that is the root cause of your issue.  In that defect a file descriptor
is not handled properly by glibc and that turned out to be the root cause of
the issue.  Since we pulled in that specific patch we have not seed the
check_pf hang again and we were able to reproduce it rather easily before.  If
the other issue resolves this, please post here letting us know so we can
re-resolve this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]