GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Assertion `loop->watchers[w->fd] == w' failed. · Issue #838 · joyent/libuv

This repository was archived by the owner on May 4, 2018. It is now read-only.
This repository was archived by the owner on May 4, 2018. It is now read-only.

Assertion `loop->watchers[w->fd] == w' failed. #838

Copy link
Copy link
Closed
Closed
Assertion `loop->watchers[w->fd] == w' failed.#838
Copy link

Description

@emilsedgh
emilsedgh
opened on Jun 23, 2013
Issue body actions

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.

Activity

  1. emilsedgh commented on Jun 23, 2013

    @emilsedgh
    emilsedgh
    on Jun 23, 2013
    Author
    More actions

    And here is strace output: https://gist.github.com/emilsedgh/5844406

  2. saghul commented on Jun 23, 2013

    @saghul
    saghul
    on Jun 23, 2013
    Contributor
    More actions

    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.

  3. emilsedgh commented on Jun 23, 2013

    @emilsedgh
    emilsedgh
    on Jun 23, 2013
    Author
    More actions

    Hi.
    Yes it does use uv_poll_t handles.
    Is this a node-ldap bug then?

  4. saghul commented on Jun 23, 2013

    @saghul
    saghul
    on Jun 23, 2013
    Contributor
    More actions

    If node-ldap uses more than one poll handle for a given fd at the same
    time, then yes.

    On Sunday, June 23, 2013, Emil Sedgh wrote:

    Hi.
    Yes it does use uv_poll_t handles.
    Is this a node-ldap bug then?

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/838#issuecomment-19871381
    .

    /Saúl
    http://saghul.net | http://about.me/saghul

  5. bnoordhuis commented on Jun 23, 2013

    @bnoordhuis
    bnoordhuis
    on Jun 23, 2013
    Contributor
    More actions

    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.

  6. bnoordhuis
    closed this as completedon Jun 23, 2013
  7. falnos24865 commented on Oct 9, 2014

    @falnos24865
    falnos24865
    on Oct 9, 2014
    More actions

    I am getting the error:
    node: ../deps/uv/src/unix/core.c:701: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
    I am not using any LDAP module so it cannot be that module. I am heavily using the SerialPort module but it seems this error might be more widespread.

    Node: v0.10.32

  8. saghul commented on Oct 10, 2014

    @saghul
    saghul
    on Oct 10, 2014
    Contributor
    More actions

    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.

  9. rafahoro commented on Nov 19, 2014

    @rafahoro
    rafahoro
    on Nov 19, 2014
    More actions

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.