GNU bug report logs - #22344
25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pit <at> gmail.com>

Date: Mon, 11 Jan 2016 05:43:01 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Clément Pit--Claudel <clement.pit <at> gmail.com>
Cc: 22344 <at> debbugs.gnu.org
Subject: Re: bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a
 subprocess hangs Emacs on Windows 8 and 10
Date: Tue, 12 Jan 2016 18:44:33 +0200
> Cc: 22344 <at> debbugs.gnu.org
> From: Clément Pit--Claudel <clement.pit <at> gmail.com>
> Date: Mon, 11 Jan 2016 14:41:20 -0500
> 
> > Could it be that the script exits as soon as it processed the first 4K
> > chunk, without waiting for the next one, or without waiting long
> > enough?
> 
> I'm not sure if I understand correctly. In the working case (sending small batches) the underlying script does receive everything Emacs sends. In fact, the blackhole example shown above never exits; it keeps reading on stdin and echoing on stdout.
> 
> With a more complex setup, Emacs hangs when we send the whole buffer, but when sending it in small chunks the underlying process returns the expected results.

I tried to solve this in commit 58a622d on the emacs-25 branch.
Please try the latest and see if your problem is solved by those
changes.

Thanks.




This bug report was last modified 9 years and 209 days ago.

Previous Next


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