-
Notifications
You must be signed in to change notification settings - Fork 653
Assertion `loop->watchers[w->fd] == w' failed. #838
Comments
And here is strace output: https://gist.github.com/emilsedgh/5844406 |
Does the LDAP module use uv_poll_t handles? IIRC I've seen that assertion blow when more than one poll handle is used for the same fd. |
Hi. |
If node-ldap uses more than one poll handle for a given fd at the same On Sunday, June 23, 2013, Emil Sedgh wrote:
|
Tentatively closing. As @saghul points out, this is almost certainly a node-ldap bug. If if turns out the bug is in libuv, holler and I'll reopen the issue. |
I am getting the error: Node: v0.10.32 |
We've seen this one reported every now and then, but always non-deterministically and / or in a big application. If you can reduce your test case to either a libuv test case or a node core modules only test case, which exhibits the bug deterministically, we can look into it. |
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); |
Installed Node 0.10.12 and reinstalled LDAP module.
LDAP module is built fine. However, I get this:
node: ../deps/uv/src/unix/core.c:688: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
When trying to use it.
The text was updated successfully, but these errors were encountered: