Skip to content

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

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:

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 })

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions