laverdet/node-fibers

Debian9: Assertion `thread_id_key != 0x7777' failed

ygaeon opened this issue · 2 comments

  • 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

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

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

Edit: Closing