Subject: bug#33018: 26.1.50; thread starvation with async processes and accept-process-output

From: Eli Zaretskii <[email-masked]>
Date: Tue, 16 Oct 2018 17:58:28 +0300

> From: "Basil L. Contovounesios" <[email-masked]>
> Date: Tue, 16 Oct 2018 02:15:27 +0100
> Cc: [email-masked]
> 
> Thanks, creating all threads before waiting for any of them to exit
> indeed does not suffer from the same hang.  Doing this twice (see
> attached update), however, still hangs.
> 
> There's something about going through a complete create-join cycle more
> than once within a non-main-thread which is triggering this behaviour.

Can you attach a debugger to the wget process that's stuck, and see
where it is stuck?  You will probably need to rebuild wget with debug
info, or install one from your package repository (if they offer
such).  This could give us hints for where to look further.

Thanks.