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

Assertion failed on coroutine.cc with node 16 #2570

Closed
4 tasks done
GregOriol opened this issue Apr 29, 2021 · 2 comments
Closed
4 tasks done

Assertion failed on coroutine.cc with node 16 #2570

GregOriol opened this issue Apr 29, 2021 · 2 comments

Comments

@GregOriol
Copy link

GregOriol commented Apr 29, 2021

Before you open this issue, please complete the following tasks:

  • use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
  • if you are looking for help from the gulp team or community, open a discussion.
  • if you think there is a problem with the plugin you're using, open a discussion.
  • if you think there is a bug in our code, open this issue.

What were you expecting to happen?

I'm trying to run gulp; it worked with node 15 but doesn't anymore after an update to node 16.

What actually happened?

$ gulp
Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine.cc, line 134.
Abort trap: 6

Please give us a sample of your gulpfile

The gulpfile has a few exports (watch, clean, prod, ...) and all of them produce this error.

Please provide the following information:

  • OS & version [e.g. MacOS Catalina 10.15.4]: Mac OS Catalina 10.15.7
  • node version (run node -v): v16.0.0 (installed via homebrew)
  • npm version (run npm -v): 7.10.0
  • gulp version (run gulp -v): CLI version: 2.3.0 - Local version: 4.0.2

Additional information

@yocontra
Copy link
Member

yocontra commented Apr 29, 2021

@GregOriol You have a native module somewhere - you probably just need to run npm rebuild. Any time you update node your native extensions in all of your projects will be built against the old version, and you will need to rebuild them via that command.

@GregOriol
Copy link
Author

GregOriol commented Apr 29, 2021

@contra Thanks for your feedback, but sadly it didn't work to do an npm rebuild:

$ npm rebuild
rebuilt dependencies successfully
$ gulp clean
Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine.cc, line 134.
Abort trap: 6

I also tried to delete node_modules and npm install again, without any change...

But you are likely right that it's not directly gulp: I tried the quick start gulpfile example and it did work :-/

It's actually fibers that is causing this => laverdet/node-fibers#451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants