-
Notifications
You must be signed in to change notification settings - Fork 653
../deps/uv/src/unix/core.c:701: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed. #1348
Comments
Can you provide a reduced (ie, no dependencies) test case? Are you using any binary addons? |
Ping. |
@saghul It's going to take us some time before we can have a test case because as of now we have very little information about why it's occurring. We are using some binary addons. I'll provide a list shortly... |
These are all of the node_modules in the tree with a build folder. bignum@0.6.1 |
Sorry, but I can't possibly debug the issue like this :-S If you can make a node core-only test case I might be able to, best would be a libuv C test case. FWIW, you could begin by looking into binary addons that use uv handles, specially uv_poll_t handles. |
I just did a quick check. None of these modules use |
That will make it even harder to find :-(
|
Closing, please feel free to reopen if you find a way to reproduce it. |
We've been seeing this same assertion failure with the Julia fork (see JuliaLang/julia#7840), but it's intermittent and we haven't pinned it down yet. Will be sure to report if we ever do figure out what's causing it. |
That would be great!
|
I'm seeing the same error with node v0.10.30; appears very infrequently and I have not been able to reproduce it. affected application is an http server that makes heavy use of canvas and mariasql modules, everything else is js. |
For what it's worth, I've seen the same failure when I use ZooKeeper in certain situations. Your list of dependencies includes zookeeper which should include the same problem I'm seeing. I'm not sure if you are seeing the exact same problem as me, but I've submitted a pull request that addresses my issues: yfinkelstein/node-zookeeper#101 |
@mdlavin I haven't looked in the node-zookeeper code, but your reasoning in the issue is correct! 🍰 |
I have the same issue in my code. It solved after commenting the a line to create a pipe with child's stdin (the code below was in my code, not in a library, but may help you finding the problematic line): var cp = spawn(SPAWN_BIN, SPAWN_ARGS, {"env": env});
cp.stdout.pipe(process.stdout);
cp.stderr.pipe(process.stderr);
// https://github.com/Unitech/PM2/issues/659
// process.stdin.pipe is causing the following error when using PM2
//node: ../deps/uv/src/unix/core.c:701: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
//process.stdin.pipe(cp.stdin); |
We are seeing intermittent failures with node v0.10.26 on Ubuntu 12.04.4 with the following error:
node-ldap is not in use in this application as referenced in #838.
The text was updated successfully, but these errors were encountered: