Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv_read_start: Assertion `((stream)->io_watcher.fd) >= 0' failed. #3655

Closed
Havvy opened this issue Nov 4, 2015 · 7 comments
Closed

uv_read_start: Assertion `((stream)->io_watcher.fd) >= 0' failed. #3655

Havvy opened this issue Nov 4, 2015 · 7 comments
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. tls Issues and PRs related to the tls subsystem.

Comments

@Havvy
Copy link
Contributor

Havvy commented Nov 4, 2015

Test case (non-minimal): https://travis-ci.org/Tennu/tennu/builds/89144586

Affects versions 4.2.1 and 5.0.0. Not sure about older versions.

@mscdex mscdex added the c++ Issues and PRs that require attention from people who are familiar with C++. label Nov 4, 2015
@Fishrock123 Fishrock123 added the libuv Issues and PRs related to the libuv dependency or the uv binding. label Nov 4, 2015
@Havvy
Copy link
Contributor Author

Havvy commented Nov 17, 2015

Minimal test case:

const TlsSocket = require('tls').TLSSocket;
const EventEmitter = require("events").EventEmitter;
new TlsSocket(new EventEmitter(), { isServer: false });

@Havvy
Copy link
Contributor Author

Havvy commented Nov 17, 2015

I tried using a plain object instead of an EventEmitter and I got a JS error message. I tried removing the isSetter property, but it told me to pass a third argument then.

@indutny indutny added tls Issues and PRs related to the tls subsystem. and removed libuv Issues and PRs related to the libuv dependency or the uv binding. labels Nov 22, 2015
@indutny
Copy link
Member

indutny commented Nov 22, 2015

It has nothing to do with libuv, it is about tls_wrap.

@bnoordhuis
Copy link
Member

Triage: still an issue with today's tip-of-master.

@bnoordhuis
Copy link
Member

Triage: still an issue with today's tip-of-master. (Yes, almost a year has passed.)

@krydos
Copy link
Contributor

krydos commented May 2, 2017

Here is the complete error message:

Assertion failed: (uv__stream_fd(stream) >= 0), function uv_read_start, file ../deps/uv/src/unix/stream.c, line 1545.

krydos added a commit to krydos/node that referenced this issue May 10, 2017
@saper
Copy link

saper commented May 16, 2017

💯 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

No branches or pull requests

7 participants