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


View this message in rfc822 format

From: Clément Pit--Claudel <clement.pit <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22344 <at> debbugs.gnu.org
Subject: 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: Mon, 11 Jan 2016 12:55:21 -0500
[Message part 1 (text/plain, inline)]
On 01/11/2016 12:51 PM, Eli Zaretskii wrote:
>> Cc: 22344 <at> debbugs.gnu.org
>> From: Clément Pit--Claudel <clement.pit <at> gmail.com>
>> Date: Mon, 11 Jan 2016 12:18:27 -0500
>>
>> Here is a simplified test case, which only assumes node.js:
>>
>> * In a file C:\blackhole.js
>>
>> function blackhole() {
>>     var stream = process.openStdin();
>>     stream.setEncoding("utf-8");
>>     stream.on('data', function (chunk) { process.stdout.write(chunk); });
>> }
>> blackhole();
> 
> Thanks.  Are all the affected programs written in JavaScript? 

Quite possibly.

> Do they
> all set stdin encoding to UTF-8?

I don't know.

> If so, does the problem go away if
> you remove the line that sets the encoding?

I'll check this immediately (I need to reboot).

>> Do you think you could run this example?
> 
> It doesn't run on this machine, I guess I never bothered to set up
> JavaScript on it.

Normally, installing node.js from https://nodejs.org/dist/v4.2.4/node-v4.2.4-x64.msi should be enough.

Thanks again!
Clément.

[signature.asc (application/pgp-signature, attachment)]

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.