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
We've been doing some work related to Node native modules in draft PR #14501. Could you please test it by running bunx bun-pr 14501 (make sure you have GitHub CLI installed) to download a build from that PR, and then running your code with the binary it downloads? And/or try running Bun with the --bun flag (bun --bun test.js).
This is the same Windows crash tracked in #10690: a cmake-js/node-addon-api addon built without node-gyp's win_delay_load_hook imports its napi_* functions from node.exe, so when Bun's process.dlopen loads it the imports bind to a real Node installation and the addon segfaults inside node.exe frames (node-opencv.node here, nodegl.node in #10690). Both reports have the identical .node -> node.exe -> segfault trace and are fixed together by the node.exe import rebinding in #35618, which lists both issues.
Activity
heimskr commentedon Dec 3, 2024
We've been doing some work related to Node native modules in draft PR #14501. Could you please test it by running
bunx bun-pr 14501(make sure you have GitHub CLI installed) to download a build from that PR, and then running your code with the binary it downloads? And/or try running Bun with the--bunflag (bun --bun test.js).github-actions commentedon Nov 25, 2025
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
robobun commentedon Aug 15, 2026
This is the same Windows crash tracked in #10690: a cmake-js/node-addon-api addon built without node-gyp's win_delay_load_hook imports its napi_* functions from node.exe, so when Bun's process.dlopen loads it the imports bind to a real Node installation and the addon segfaults inside node.exe frames (node-opencv.node here, nodegl.node in #10690). Both reports have the identical .node -> node.exe -> segfault trace and are fixed together by the node.exe import rebinding in #35618, which lists both issues.
Duplicate of #10690
Please add a 👍 or any extra details over there so it all stays in one place. If this is actually a different problem, say so here and we'll reopen.
Hardening: fix crashes across the runtime, bundler, dev server, shell…