GNU bug report logs - #33018
26.1.50; thread starvation with async processes and accept-process-output

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Thu, 11 Oct 2018 14:59:01 UTC

Severity: normal

Found in version 26.1.50

Full log


Message #59 received at 33018 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: contovob <at> tcd.ie
Cc: michael.albinus <at> gmx.de, 33018 <at> debbugs.gnu.org
Subject: Re: bug#33018: 26.1.50;
 thread starvation with async processes and accept-process-output
Date: Wed, 17 Oct 2018 21:25:29 +0300
> Date: Wed, 17 Oct 2018 21:20:22 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: michael.albinus <at> gmx.de, 33018 <at> debbugs.gnu.org
> 
> > From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> > Cc: <michael.albinus <at> gmx.de>,  <33018 <at> debbugs.gnu.org>
> > Date: Wed, 17 Oct 2018 19:05:59 +0100
> > 
> > > Looks like the buffer of the pipe through which Emacs reads the stuff
> > > is full, and wget waits for some space there?
> > 
> > Would that imply that different threads/processes are (re)using the same
> > buffer/pipe?
> 
> Could be, but it's more likely that Emacs simply doesn't read the
> output from wget.

I think the relevant code should be instrumented to show which thread
waits for what process(es).

Btw, are you sure this is not a bug in your program?  Michael caused
your program to work twice by simple changes, AFAIU, no?




This bug report was last modified 6 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.