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

Already on GitHub? Sign in to your account

v0.10.8: res.write crashes with uv__write: Assertion `stream->write_queue_size == 0' failed. #5573

medikoo opened this Issue May 28, 2013 · 6 comments


None yet
5 participants

medikoo commented May 28, 2013

Yesterday I've upgraded to Node v0.10.8, and I've just observed the crash of my app on simple res.write(data) call.

It's on Ubuntu 12.04.2 LTS box and occured during writing to Server-Sent Events connection, which is maintained alive via req.socket.setTimeout(0).

node: ../deps/uv/src/unix/stream.c:726: uv__write: Assertion `stream->write_queue_size == 0' failed.
Aborted (core dumped)
npm ERR! weird error 134
npm ERR! not ok code 0

medikoo commented May 28, 2013

@jbergstroem thanks, great to see it's addressed. I understand we need to wait for v0.10.9 to have it fixed.


bnoordhuis commented May 28, 2013

What @jbergstroem said, it'll be fixed in tonight's release.

@bnoordhuis bnoordhuis closed this May 28, 2013

medikoo commented May 28, 2013

Thank you!

It seems to be back in node v0.11.3
Ubuntu 11.10 (GNU/Linux 3.0.0-27-server x86_64)

node: ../deps/uv/src/unix/stream.c:726: uv__write: Assertion `stream->write_queue_size == 0' failed.

sp99 commented Nov 21, 2013

I'm also facing this issue.

server: src/unix/stream.c:729: uv__write: Assertion `stream->write_queue_size == 0' failed.

System Details :

OS : Fedora Core 17 (Linux 3.9.10-100.fc17.i686.PAE)
gcc : gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)
libuv Version : v0.11.1

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