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

node: ../deps/uv/src/unix/async.c:136: uv__async_io: Assertion `n == sizeof(val)' failed. #12853

Closed
CliffS opened this issue May 5, 2017 · 4 comments
Labels
libuv Issues and PRs related to the libuv dependency or the uv binding.

Comments

@CliffS
Copy link

CliffS commented May 5, 2017

  • Version: v7.10.0
  • Platform: Ubuntu 16.04.2 LTS
  • Subsystem: libuv
node: ../deps/uv/src/unix/async.c:136: uv__async_io: Assertion `n == sizeof(val)' failed.

I note that this is supposedly a solved issue at libuv/libuv#1171 but I am still seeing it in v7.10. I am running an smtp proxy server which is listening on around 35 interfaces / ports and I am seeing this as an intermittent crash. The code is written in Coffeescript and is being run by coffee version 1.12.5.

I'm happy to help with further debugging if needed but I'll need clear pointers as what to do. However this is badly affecting a live system. Crashes have gone from around one a day to now every 10 minutes or so. Any pointers as to how to avoid the problem in the short term would be appreciated.

@addaleax addaleax added the libuv Issues and PRs related to the libuv dependency or the uv binding. label May 5, 2017
@addaleax
Copy link
Member

addaleax commented May 5, 2017

I think this might just require a libuv update in Node itself? /cc @saghul @bnoordhuis

@CliffS
Copy link
Author

CliffS commented May 5, 2017

It appears that libuv #1214 didn't make it in but that it was fixed by this commit.

This commit does not seem to have made it to the current stable libuv Version 1.11.0 and therefore has not made it the node source tree.

@saghul
Copy link
Member

saghul commented May 6, 2017

@addaleax Yep, once the next stable is out we'll do the update! No ETA as of now.

@spikeon
Copy link

spikeon commented May 30, 2017

I'm having this error pop up on an API I am developing. I'm part of a very small team and I really can't afford to have this blow up when I show it to a client. Did anyone figure out how to put a bandaid on this issue? Does rolling back the version of Node fix the problem? If so, what version?

@cjihrig cjihrig closed this as completed in edd5419 Jun 7, 2017
jasnell pushed a commit that referenced this issue Jun 7, 2017
Fixes: #12853
Fixes: #854
PR-URL: #13306
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins pushed a commit that referenced this issue Oct 16, 2017
Fixes: #12853
Fixes: #854
PR-URL: #13306
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins pushed a commit that referenced this issue Oct 25, 2017
Fixes: #12853
Fixes: #854
PR-URL: #13306
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libuv Issues and PRs related to the libuv dependency or the uv binding.
Projects
None yet
Development

No branches or pull requests

3 participants