Skip to content

worker_threads: node[9926]: ../src/node_worker.cc:117:node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*): Assertion `(uv_loop_init(&loop_)) == (0)' failed. #29755

@baron775

Description

@baron775
  • Version: v11.8.0
  • Platform: Centos 7
  • Subsystem: worker_threads

(async () => { while(true) { const result = await db.query(sql, values) result.rows.forEach(function(subscriber, key) { (async () => { await senderSystem(subscriber) })() }) } })()

My error
node[15426]: ../src/node_worker.cc:117:node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*): Assertion (uv_loop_init(&loop_)) == (0)' failed.
1: 0x9bcb80 node::Abort() [node]
2: 0x9bcc07 [node]
3: 0xa52bc2 node::worker::Worker::Run() [node]
4: 0xa536cc [node]
5: 0x7f00012b4dd5 [/lib64/libpthread.so.0]
6: 0x7f0000fde02d clone [/lib64/libc.so.6]
Aborted`

Metadata

Metadata

Assignees

No one assigned

    Labels

    workerIssues and PRs related to Worker support.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions