laverdet / node-fibers

Fiber/coroutine support for v8 and node.
MIT License
3.56k stars 224 forks source link

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

Open ygaeon opened 3 years ago

ygaeon commented 3 years ago
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 commented 3 years ago

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

ygaeon commented 3 years ago

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

Edit: Closing