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

Debian9: Assertion `thread_id_key != 0x7777' failed #451

Open
ygaeon opened this issue Apr 28, 2021 · 2 comments
Open

Debian9: Assertion `thread_id_key != 0x7777' failed #451

ygaeon opened this issue Apr 28, 2021 · 2 comments

Comments

@ygaeon
Copy link

ygaeon commented Apr 28, 2021

  • node 16.0.0
  • npm 7.10
  • node-gyp 8.0.0
  • debian 9 stretch Debian 4.9.189-3+deb9u2
node: ../src/coroutine.cc:145: void* find_thread_id_key(void*): Assertion `thread_id_key != 0x7777' failed.
Aborted

I added a few outputs to try to debug this myself but I couldn't figure it out further and reach out here.

node_modules/fibers$ node fibers
ii: 1 coro_thread_key: 6: tls (-1946153776) != thread_id (2)
ii: 2 coro_thread_key: 6: tls (0) != thread_id (2)
ii: 3 coro_thread_key: 6: tls (0) != thread_id (2)
ii: 4 coro_thread_key: 6: tls (0) != thread_id (2)
ii: 5 coro_thread_key: 6: tls (0) != thread_id (2)
isolate_key: 0
thread_data_key: 0x1
thread_id_key: 0x7777
node: ../src/coroutine.cc:145: void* find_thread_id_key(void*): Assertion `thread_id_key != 0x7777' failed.
Aborted
@laverdet
Copy link
Owner

There's a note on the front page README about this. Fibers will not be supported on nodejs v16.x or higher.

@ygaeon
Copy link
Author

ygaeon commented Apr 28, 2021

OK ... re-reading ... true true ... missed that, sorry.

Edit: Closing

RhysXia pushed a commit to xl-vision/xl-vision that referenced this issue Oct 15, 2021
jtlindsey added a commit to jtlindsey/nuxtjs.org that referenced this issue Dec 15, 2021
As of April 2021 maintainers of `fibers` announced it does not work with the current LTS version of Node (16.x) and "[recommends you avoid its use if possible](https://github.com/laverdet/node-fibers/blob/8f2809869cc92c28c92880c4a38317ae3dbe654d/README.md?plain=1#L1)". The authors README.md commit titled "[the end](laverdet/node-fibers@8f28098)" along with the verbiage "inevitable that one day this library will abruptly stop working and no one will be able to do anything about it" suggest this package will not be maintained going forward.

Other benefits of the change:
- Bring this page into alignment with [The Nuxt Configuration Guide](https://nuxtjs.org/docs/features/configuration/) which does not suggest users install fibers.
- Reduce [startup headaches](laverdet/node-fibers#451) for users creating new projects using the latest LTS version of node.
RhysXia pushed a commit to xl-vision/xl-vision that referenced this issue Feb 15, 2022
RhysXia added a commit to xl-vision/xl-vision that referenced this issue Feb 15, 2022
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