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

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

Closed
cjihrig opened this issue Nov 4, 2014 · 8 comments
Closed

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

cjihrig opened this issue Nov 4, 2014 · 8 comments

Comments

@cjihrig
Copy link

cjihrig commented Nov 4, 2014

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.

@cjihrig
Copy link
Author

cjihrig commented Nov 4, 2014

@cjihrig cjihrig closed this as completed Nov 4, 2014
@vladikoff
Copy link

Commit link is a 404 @cjihrig

@cjihrig
Copy link
Author

cjihrig commented Nov 4, 2014

@vladikoff yea, it went into the node-forward fork, which I believe is still private.

@vladikoff
Copy link

😭

@wycats
Copy link

wycats commented Nov 5, 2014

@cjihrig any idea why it's private? What's going on here?

@trevnorris
Copy link

Issues posted here shouldn't be closed if the fix is elsewhere.

@trevnorris
Copy link

WTF GitHub? Why are you closing issues that label fixes from other repos?

@trevnorris trevnorris reopened this Nov 26, 2014
@Trott Trott closed this as completed Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants