[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subproces
From: |
Clément Pit--Claudel |
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:18:27 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 01/11/2016 11:52 AM, Clément Pit--Claudel wrote:
> On 01/11/2016 11:31 AM, Eli Zaretskii wrote:
>>> Cc: 22344@debbugs.gnu.org
>>> From: Clément Pit--Claudel <clement.pit@gmail.com>
>>> Date: Mon, 11 Jan 2016 11:11:42 -0500
>>>
>>> Thanks for looking into this. Would a recipe requiring node.js and jshint
>>> be too much? Node.js has a windows installer and jshint can be installed
>>> with npm install --global jshint.
>>
>> I'd prefer a program that doesn't need to be installed, and ideally
>> in a language I could hack, if the problem is on the other side.
>>
>> What's so special about these programs that they behave differently
>> from 'cat' etc.? What language are they written in?
>
> I have no idea: I don't write Javascript, I don't use node, and I don't run
> Windows :/ node.js seems to be written in C.
> I will try to remove the jshint dependency, at least.
Hi Eli,
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();
* Then from Emacs:
;; This hangs on Windows (works fine on Linux)
(let ((process (start-process "bug" nil "node" "C:/blackhole.js")))
(process-send-string process (make-string 4097 ?a)))
;; This works fine on both platforms:
(let ((process (start-process "bug" nil "node" "C:/blackhole.js")))
(dotimes (_ 25)
(process-send-string process (make-string 4096 ?a))))
Do you think you could run this example?
Thanks again for your help.
signature.asc
Description: OpenPGP digital signature
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10,
Clément Pit--Claudel <=
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/12
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/13
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Eli Zaretskii, 2016/01/14
- bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/14
bug#22344: 25.0.50 (and 24.5.1, 24.4); Sending 4097 bytes to a subprocess hangs Emacs on Windows 8 and 10, Clément Pit--Claudel, 2016/01/11