Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Crash when accessing 'ipc' stream in child process #8669

@cjihrig

Description

@cjihrig

This currently exists on master, but my understanding is that it is an issue on other versions:

if (process.argv[2] === 'child') {
  process.stdin;
} else {
  var cp = require('child_process');
  var child = cp.spawn('node', [__filename, 'child'], {
    stdio: ['ipc', 'inherit', 'inherit']
  });
}

Yields the following error:

Assertion failed: (loop->watchers[w->fd] == w), function uv__io_stop, file ../deps/uv/src/unix/core.c, line 769.

The error comes from libuv, with the last call from node being this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions