node-api: fix data race and use-after-free in napi_threadsafe_function #78355
Triggered via pull request
November 25, 2025 08:30
Status
Failure
Total duration
26m 44s
Artifacts
–
Annotations
4 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
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=0xaaf14a001120
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/node/node/node/test/common/index.js:467:12)
at ChildProcess.<anonymous> (/home/runner/work/node/node/node/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/node/node/node/test/node-api/test_threadsafe_function_shutdown/test.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
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=0x55ff706f8110
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/node/node/node/test/common/index.js:467:12)
at ChildProcess.<anonymous> (/home/runner/work/node/node/node/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/node/node/node/test/node-api/test_threadsafe_function_shutdown/test.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|