uv_close: Assertion `0' failed on child_process.execSync w/ Infinite maxBuffer #8096
Closed
Description
- Version: tested on 4.4.7 and 5.10.0
- Platform:
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
- Subsystem: child_process and deps/uv/src/unix/core.c
Reproduce:
var cp = require('child_process')
cp.execSync('', { maxBuffer: Infinity })
node: ../deps/uv/src/unix/core.c:165: uv_close: Assertion `0' failed.
[1] 31628 abort node index.js
Not that the async exec
does not exert the same behaviour
var cp = require('child_process')
cp.exec('', { maxBuffer: Infinity })
Activity