Skip to content

win: pipe UV_HANDLE_EMULATE_IOCP implementation broken #629

Closed

Description

@vtjnash

observed at JuliaLang/julia#11727 (comment)
but can also be triggered in nodejs with the following command (from a shell such as Cygwin mintty):

(/cygdrive/C/Program\ Files/nodejs/node -e "process.stdout.write('a')" &&
 /cygdrive/C/Program\ Files/nodejs/node -e "process.stdout.write('b')") | cat -

(although node itself appears to drop the error and simply hangs)

as mentioned at the above link, the error appears to be that overlapped->hEvent is not initialized prior to a call to ReadFile or WriteFile in the pipe.c code (I think the tty.c code equivalents look correct in this regard.)

Activity

  1. saghul commented on Nov 24, 2015

    @saghul
    Member
  2. vtjnash commented on Jun 11, 2018

    @vtjnash
    MemberAuthor

    Fixed by JuliaAttic/libuv-archive#44. I'm just waiting for some of my other PRs to be merged before I open more.

  3. stale commented on Aug 10, 2019

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added and removed on Aug 10, 2019
  5. vtjnash commented on Aug 12, 2019

    @vtjnash
    MemberAuthor

    It's still broken, and I still need to turn our patch into a PR...

  6. deleted a comment from stale on Nov 13, 2019
  7. added 2 commits that reference this issue on Jan 10, 2020
  8. vtjnash commented on Jan 13, 2020

    @vtjnash
    MemberAuthor

    The nodejs reproducer seems to have stopped functioning between v8.11.4 and v8.12.0, though I don't know which commit. Maybe nodejs/node#19551 fixed it incidentally or nodejs/node#18019?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions