Skip to content

node-api: fix data race and use-after-free in napi_threadsafe_function #1175

node-api: fix data race and use-after-free in napi_threadsafe_function

node-api: fix data race and use-after-free in napi_threadsafe_function #1175

Triggered via pull request November 25, 2025 08:30
Status Cancelled
Total duration 30m 0s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 40s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

9 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/node-api/test_threadsafe_function_shutdown/test.js#L0
--- stderr --- thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting thread_func: starting tsfn_finalize: env=0xaae093d59620 thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... thread_func: Got status 16, exiting... node:assert:818 throw newErr; ^ AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0 at ChildProcess.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-255783a3624a-slim/test/common/index.js:467:12) at ChildProcess.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-11-255783a3624a-slim/test/common/index.js:504:15) at ChildProcess.emit (node:events:508:28) at maybeClose (node:internal/child_process:1084:16) at ChildProcess._handle.onexit (node:internal/child_process:304:5) { generatedMessage: false, code: 'ERR_ASSERTION', actual: 0, expected: null, operator: 'ifError', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2025-11-255783a3624a-slim/test/node-api/test_threadsafe_function_shutdown/test.js
x86_64-linux: with shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-55706 exists
x86_64-linux: with shared libraries
The operation was canceled.
x86_64-darwin: with shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-55706 exists
x86_64-darwin: with shared libraries
The operation was canceled.
aarch64-darwin: with shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-55706 exists
aarch64-darwin: with shared libraries
The operation was canceled.
Test Shared libraries
Canceling since a higher priority waiting request for Test Shared libraries-fix-55706 exists

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.9 MB
sha256:836ef32fb33f08e86db26ef92daa04930fab9268c52a7ff735a53600394e109d