This is the mail archive of the libc-help@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]

Re: GLibc hang on in gethostbyname


On Sun, Sep 22, 2019 at 6:54 AM Joël Krähemann <jkraehemann@gmail.com> wrote:
> I experienced a race-condition between accept() and listen(), ended in
> a dead-lock I think. No more connections were accepted.
>
> Are you sure that not your server hangs?
>
> As I wanted to debug and added some debugging messages, it just
> worked. So I think there is a race-condition.
>
> Sorry, for the delayed response, I just had to formulate the issue.
>
> Yeah, there is something wrong. I am busy but you hear from me later.

You need to look at the backtraces at the point of deadlock and try to come
up with a reasonable theory for why this happens.

Cheers,
Carlos.


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