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
There is another separate workspace in the same repo:
(to work around The Bun Hoisting Problem™ that makes it impossible to properly use React 18 and React 19 in the same workspace)
crash happens when I try to patch @double-observer/react-server-dom-esm from inside of packages/@subtlegradient/reframe
Relevant log output
tom@Play-Aylott ReFrame % bun patch @double-observer/react-server-dom-esm
bun patch v1.1.38 (bf2f153f)
$ watchman watch-del "$PWD"; ./sh/sh.sh --quiet;cd demos/18; bun i
{
"version": "2024.09.09.00",
"error": "watchman::RootResolveError: failed to resolve root: unable to resolve root /Users/tom/Developer/subtleGradient/ReFrame: failed to resolve root: directory /Users/tom/Developer/subtleGradient/ReFrame is not watched"
}
🚫 node version 18.18.2 is older than required version 23.0.0
⚠️ podman version 5.2.5 is older than required version 5.3.1
🚫 Still missing tools: nodejs podman
Please install the missing tools manually:
- nodejs: https://nodejs.org
- podman: https://podman.io
🥺 Script doesn't know how to continuebun install v1.1.38 (bf2f153f)+ @double-observer/react-client@../../packages/@double-observer/react-client+ @repo/eslint-config@../../packages/@repo/eslint-config+ @repo/typescript-config@../../packages/@repo/typescript-config+ @subtlegradient/reframe@../../packages/@subtlegradient/reframe+ @types/react-server-dom-webpack@../../packages/@types/react-server-dom-webpack9 packages installed [330.00ms]Checked 639 installs across 640 packages (no changes) [1385.00ms]To patch @double-observer/react-server-dom-esm, edit the following folder: node_modules/@double-observer/react-server-dom-esmOnce you're done with your changes, run:
bun patch --commit 'node_modules/@double-observer/react-server-dom-esm'
tom@Play-Aylott ReFrame %
...
tom@Play-Aylott ReFrame % bun patch --commit '/Users/tom/Developer/subtleGradient/ReFrame/node_modules/@double-observer/react-server-dom-esm'
bun patch v1.1.38 (bf2f153f)
============================================================
Bun v1.1.38 (bf2f153f) macOS Silicon
macOS v15.1.1
Args: "bun" "patch" "--commit" "/Users/tom/Developer/subtleGradient/ReFrame/node_modules/@double-observer/react-server-dom-esm"
Elapsed: 5ms | User: 4ms | Sys: 7ms
RSS: 10.68MB | Peak: 10.68MB | Commit: 1.07GB | Faults: 84
panic(main thread): Segmentation fault at address 0x108
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
https://bun.report/1.1.38/Mx1bf2f153AA_ux1qCus81Dm/vzD+3g6Dm+66DuzpB2ggB__A2AwQ
zsh: trace trap bun patch --commit
Stack Trace (bun.report)
Bun v1.1.38 (bf2f153) on macos aarch64 [PatchCommand]
How can we reproduce the crash?
not sure how you can reproduce it.
happened in a private repo that I'm not allowed to share yet.
it's a monorepo with two bun workspaces:
There is another separate workspace in the same repo:
(to work around The Bun Hoisting Problem™ that makes it impossible to properly use React 18 and React 19 in the same workspace)
crash happens when I try to patch
@double-observer/react-server-dom-esm
from inside ofpackages/@subtlegradient/reframe
Relevant log output
...
Stack Trace (bun.report)
Bun v1.1.38 (
bf2f153
) on macos aarch64 [PatchCommand]Segmentation fault at address 0x00000108
src.install.install.PackageManager.computeCacheDirAndSubpath
src.install.install.PackageManager.doPatchCommit__anon_85736
src.install.install.PackageManager.updatePackageJSONAndInstallWithManager__anon_82483
src.install.install.PackageManager.updatePackageJSONAndInstall
src.cli.patch_command.PatchCommand.exec
src.cli.Cli.start
main
Sentry Issue: BUN-9V4
The text was updated successfully, but these errors were encountered: