You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[110:37|% 100|+ 600000|- 0]: Done
All tests passed.
600k runs without a reproduction 😓 It would be lovely to get a better stack trace here for actually pinpointing where this is coming from. I guess the simplest fix would be to use an async cleanup hook instead of the synchronous one, where the current Environment* isn't required to be on-context, but this does admittedly point to a bit of a usability problem with cleanup hooks in their current form
Happened to have a debug build around and could reproduce it with: tools/test.py -j32 --repeat=128 addons/worker-addon-exit/test.js. It seems to me your assessment is correct: when gc runs we're not in-context anymore. Here's the bt: https://gist.github.com/santigimeno/0cb38039629aeca161c8656442aca96f. Let me know if you need more info (I have the coredump)
Activity
aduh95 commentedon Jun 15, 2026
It was also reported in #63642 (comment), the PR that introduced this test. Looks like the test failed in that PR (https://ci.nodejs.org/job/node-test-commit-linux-containered/56671/nodes=ubi81_sharedlibs_openssl111fips_x64/console) but it wasn't noticed during review unfortunately
[-]Falky crash on worker-addon-exit test[/-][+]Flaky crash on worker-addon-exit test[/+]addaleax commentedon Jun 15, 2026
600k runs without a reproduction 😓 It would be lovely to get a better stack trace here for actually pinpointing where this is coming from. I guess the simplest fix would be to use an async cleanup hook instead of the synchronous one, where the current
Environment*isn't required to be on-context, but this does admittedly point to a bit of a usability problem with cleanup hooks in their current formsantigimeno commentedon Jun 16, 2026
Happened to have a debug build around and could reproduce it with:
tools/test.py -j32 --repeat=128 addons/worker-addon-exit/test.js. It seems to me your assessment is correct: when gc runs we're not in-context anymore. Here's the bt: https://gist.github.com/santigimeno/0cb38039629aeca161c8656442aca96f. Let me know if you need more info (I have the coredump)addaleax commentedon Jun 18, 2026
#63985 should hopefully address this
src: keep global list of addon-provided cleanup hooks
src: keep global list of addon-provided cleanup hooks
test_runner: re-run CI (unrelated flaky nodejs#63923)
qmd embed stack on linux-aarch64 + shared ssh key source
test: add regression test for cleanup hook UAF
test: add regression test for cleanup hook UAF
test: add regression test for cleanup hook UAF
test: add regression test for cleanup hook UAF
src: keep global list of addon-provided cleanup hooks
src: keep global list of addon-provided cleanup hooks
src: keep global list of addon-provided cleanup hooks
feat(torrent): drop autotorrent2, inject cross-seed finds directly in…