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
{{ message }}
Repository navigation
SegmentationFault at $SOME_INTEGER when adding entry to [install.scopes] in bunfig.toml #230
bun create react ./test
cd test
echo "[install.scopes]" > bunfig.toml
echo 'mybigcompany3 = { token = "$npm_config_token" }' >> bunfig.toml
Now when you run bun install
bun install v0.1.1
SegmentationFault at 7885630768349870445
–––– bun meta ––––
Bun v0.1.1 macOS Silicon 21.4.0
InstallCommand: bunfig
Elapsed: 17ms | User: 4ms | Sys: 10ms
RSS: 23.56MB | Peak: 23.56MB | Commit: 69.22MB | Faults: 181
–––– bun meta ––––
Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues
On x86-64 hardware
SegmentationFault at 0
–––– bun meta ––––
Bun v0.1.1 Linux x64 #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022
InstallCommand: bunfig
Elapsed: 7ms | User: 6ms | Sys: 6ms
RSS: 69.21MB | Peak: 27.26MB | Commit: 69.21MB | Faults: 0
–––– bun meta ––––
Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues
Reacted by Greg Wedow, Arnaud Leymet, Brandon Everett, Guillaume Martigny, Victor Huerta, Fischer, Simon Tong and Yuki "sori" N
Hmm, I can reproduce this issue, but I'm not sure if this is a duplicate of #190. If you remove the [install.scopes] part it works, but the SegFault on macOS Silicon is interesting. Could you please run sudo perf trace bun install --silent > log.perf.txt 2>&1 and bun install --verbose 2> logs.txt on macOS Silicon?
Activity
FinnRG commentedon Jul 8, 2022
Hmm, I can reproduce this issue, but I'm not sure if this is a duplicate of #190. If you remove the
[install.scopes]part it works, but the SegFault on macOS Silicon is interesting. Could you please runsudo perf trace bun install --silent > log.perf.txt 2>&1andbun install --verbose 2> logs.txton macOS Silicon?yowmamasita commentedon Jul 8, 2022
Just tested this https://github.com/Jarred-Sumner/bun/issues/260#issuecomment-1176647984 and the segfault error is gone. Same results as commenter as it's still resolving everything from the default registry.