Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun crashed on patch #15950

Open
Pckool opened this issue Dec 23, 2024 · 0 comments
Open

Bun crashed on patch #15950

Pckool opened this issue Dec 23, 2024 · 0 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@Pckool
Copy link

Pckool commented Dec 23, 2024

How can we reproduce the crash?

I tried patching the bun-workspaces package and bun crashed.

Relevant log output

bun patch v1.1.42 (50eec002)
============================================================
Bun v1.1.42 (50eec002) macOS Silicon
macOS v15.3
Args: "bun" "patch" "--commit" "node_modules/bun-workspaces"
Features: bunfig dotenv text_lockfile spawn 
Elapsed: 50ms | User: 20ms | Sys: 11ms
RSS: 38.29MB | Peak: 38.26MB | Commit: 1.06GB | Faults: 383

panic(main thread): Segmentation fault at address 0xFFFFFFFFFFFFFF1C
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.42/Mx150eec00Ag0ggkE_ukx5d2u3Fm52F2i4Fm52Fm52FmqigGmp9xDu71xDA2DpO

Stack Trace (bun.report)

Bun v1.1.42 (50eec00) on macos aarch64 [PatchCommand]

Segmentation fault at address 0xFFFFFFFFFFFFFF1C

  • 1 unknown/js code
  • _mi_malloc_generic
  • src.json_parser.JSONLikeParser_
  • src.json_parser.JSONLikeParser_
  • src.json_parser.JSONLikeParser_
  • src.json_parser.JSONLikeParser_
  • src.json_parser.JSONLikeParser_
  • src.install.lockfile.loadFromDir__anon_108822
  • src.install.install.PackageManager.installWithManager__anon_85643
  • src.install.install.PackageManager.updatePackageJSONAndInstallWithManager__anon_82931

Features: bunfig, dotenv, text_lockfile, spawn

Sentry Issue: BUN-A79

@Pckool Pckool added the crash An issue that could cause a crash label Dec 23, 2024
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests

1 participant