Skip to content

uv_close: Assertion `0' failed on child_process.execSync w/ Infinite maxBuffer#8096

@retrohacker

Description

@retrohacker
  • 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:

varcp=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

varcp=require('child_process')cp.exec('',{maxBuffer: Infinity})

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions