-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Assertion failed: (handle->flags & UV_CLOSING), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 209. #713
Comments
Yes and I get it with io.js on TravisCI intermittently. There is a race condition in our binding code. On a bright side, it works well (mostly) and the vNext or vNext->Next will fix this issue permanently. Actually this is already fixed in this work-in-progress PR: #644. |
I'll hang tight until that merges then, thanks. |
Status: v3.0.0-pre is out but this issue persists, since #644 isn't merged. Meanwhile try out the new API. |
I'm starting to become a regular in this repository, unwillingly! webpack/webpack#904 - related perhaps? |
Yes, it's related. I had to downgrade to sass-loader 0.5.0 and node-sass 2.0.1, then the error went away. I didn't have any luck with node-sass 3.0.0-alpha.0 either. Thank you guys for tipping me off to this, I don't think I would have had a clue otherwise! |
Currently seeing this issue still in .beta4. |
+1 I have to downgrade my sass-loader to 0.3.0. |
@wubenhe, you might actually be able to use |
@jcreamer898 Thanks! |
+1 Have to downgrade the sass-loader now |
@jcreamer898 Thanks! 0.4.2 worked for me as well. |
For all those using the sass-loader: I've managed to write a version of sass-loader that provides the same features while depending on node-sass |
@jhnns Thank you! But I tried the sass-loader 0.6.0 and the same assertion failed error occurred. 0.4.2 works for me. |
Seems to be caused by the custom importer feature 😞 |
@jhnns, this is true it happens when using Custom Importers and Custom Functions.
Having said that, beta5 is much more stable as far as this issue is concerned. Please keep posting your experiences.
Beta5 has been released: https://github.com/sass/node-sass/releases/tag/v3.0.0-beta.5 |
Thanks @jcreamer898 for the downgrade suggestion. working version: |
node-sass: 2.1.1 works as well |
With Assertion failed: (handle->flags & UV_CLOSING), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 171.
[1] 38326 abort gulp scss
# or
Assertion failed: (0), function uv__finish_close, file ../deps/uv/src/unix/core.c, line 199.
[1] 38386 abort gulp scss Notably, these cease to be a problem the moment I tell |
|
Also a |
@am11 I've recently bumped into this in beta5 with https://github.com/at-import/node-sass-import-once |
This error is making node-sass basically unusable for me. |
For the people who are seeing this issue in 2.1.1 and not in 2.0.1; both have ditto binaries. I didn't even recompile them! The only diff between two versions is that I moved nan from devDependencies to dependencies. The other advantage of having 2.1.1 over 2.0.1 is that 2.1.1 covers most versions of io.js. So either people are hallucinating or they haven't yet encountered the bug with 2.0.1. |
@xzyfer, I am unable to reproduce this issue on Windows after running tests suite back to back 10 times with this diff. Normally it chokes in first 3 attempts. It might be a luck thing or it might be the fix. :) For the record, I reproduce it locally by running node-sass test suite over and over on Linux and Windows. It normally aborts the test runner with Assertion failure in first three four attempts. As far as I can tell, there are no known tangible repro steps for this issue, against which we can debug it properly. |
Ah, yes. But #854 should fix it I hope. |
It has in my experience
|
Same here |
|
Thanks @saper! I'll give it a try later. |
What's interesting, I also noticed this bug on node-sass 2.1.1 |
This was affecting me about 80% of the time. I pulled the latest and built it and it seems to work great now. No crashes after 40 trial builds. Thank you 😍! |
This is still happening for me |
@mingfang which git commit are you at? (Just check with |
@mingfang this fix is not in a stable release yet. Please be patient. |
Thanks for the effort on this. |
2.1.1 has this bug also but it occurs not so often |
This has been resolved in 3.0.0-beta.7.
|
Awesome 👍 |
Earlier versions.
Current version
git master branch
So with latest master of today it doesnt core dump just exits silently with no errors and no output, still doesnt produce any files. Removing sass-loader (and thus node-sass) from the build have webpack working as usual. |
@krsmedlund How can I reproduce this? (no clue about webpack) |
Nice that I see this, I was using "sass-loader": "^0.6.0", and it sometimes work and sometimes not, and very inconsistent. But after bump down the version to "sass-loader": "^0.4.2",, it looks good now. Thanks. |
This is a known issue in older version of node-sass which sass-loader is using. Unfortunately sass-loader doesn't currently support the stable ^3 release. This needs to be fixed on their end /cc @jhnns |
I've just released |
Nice one! Thanks @jhnns :) |
Downgrading sass-loader to 0.4.2 worked for me, thanks! |
I am randomly seeing this error when using the importer function. My intention is to treat @import like require(). Here is the offending code:
The text was updated successfully, but these errors were encountered: