bufferutil: Doesn't build on Node 20.3 + Linux

test-srv3.hq.lan:~# docker run -it node:20.3.0 bash
Unable to find image 'node:20.3.0' locally
20.3.0: Pulling from library/node
c98dda1b0e97: Pull complete 
9a463ac54ed3: Pull complete 
b70766638915: Pull complete 
4bcc83cd0070: Pull complete 
217770c726a2: Pull complete 
3346f85f21fb: Pull complete 
7db307d3b5dc: Pull complete 
7c796db5ab80: Pull complete 
Digest: sha256:f2c2df6197ad47f6c4c556e1054dd80c26e02bed8a111a58c6b7b2c1c279a37a
Status: Downloaded newer image for node:20.3.0
root@0b1386e3f1c2:/# yarn add bufferutil
node[8]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0xc8e4a0 node::Abort() [node]
 2: 0xc8e51e  [node]
 3: 0xd0a059 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
 4: 0xd0a17c node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 5: 0xc4bbc4 node::V8Platform::Initialize(int) [node]
 6: 0xc49408  [node]
 7: 0xc497db node::Start(int, char**) [node]
 8: 0x7faec5fdd18a  [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0x7faec5fdd245 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
10: 0xba9ade _start [node]
Aborted

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 26 (7 by maintainers)

Most upvoted comments

I think it is related to the new libuv version (io_uring for filesystem operations) and Docker containers.

May be caused by the libuv upgrade?