Skip to content

doc,test: mem protection must be observed in ffi #5640

doc,test: mem protection must be observed in ffi

doc,test: mem protection must be observed in ffi #5640

Triggered via pull request April 19, 2026 14:06
Status Failure
Total duration 35m 51s
Artifacts 1

test-shared.yml

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

Annotations

4 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/ffi/test-ffi-readonly-write.js#L28
--- stdout --- Test failure: 'writing to readonly memory via buffer results in SIGBUS' Location: test/ffi/test-ffi-readonly-write.js:14:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'SIGSEGV' - 'SIGBUS' ^ at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-191b89bef055-slim/test/ffi/test-ffi-readonly-write.js:28:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.start (node:internal/test_runner/test:1171:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'SIGSEGV', expected: 'SIGBUS', operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --experimental-ffi --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-04-191b89bef055-slim/test/ffi/test-ffi-readonly-write.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/ffi/test-ffi-readonly-write.js#L28
--- stdout --- Test failure: 'writing to readonly memory via buffer results in SIGBUS' Location: test/ffi/test-ffi-readonly-write.js:14:1 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: + actual - expected + 'SIGSEGV' - 'SIGBUS' ^ at TestContext.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-04-191b89bef055-slim/test/ffi/test-ffi-readonly-write.js:28:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1300:25) at Test.start (node:internal/test_runner/test:1171:17) at startSubtestAfterBootstrap (node:internal/test_runner/harness:385:17) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 'SIGSEGV', expected: 'SIGBUS', operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --experimental-ffi --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v26.0.0-nightly2026-04-191b89bef055-slim/test/ffi/test-ffi-readonly-write.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
50.2 MB
sha256:ddbea79a5b869e64fa4163f4fde940977b4a33e133016add518b26dfe03135a7