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

segfault with bun patch #16204

Open
Pckool opened this issue Jan 7, 2025 · 1 comment
Open

segfault with bun patch #16204

Pckool opened this issue Jan 7, 2025 · 1 comment
Labels
bun install Something that relates to the npm-compatible client crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@Pckool
Copy link

Pckool commented Jan 7, 2025

How can we reproduce the crash?

I tried to match a package on macos and it caused a segfault

Relevant log output

Stack Trace (bun.report)

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

Segmentation fault at address 0x00000000

  • 1 unknown/js code
  • 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
  • src.install.install.PackageManager.updatePackageJSONAndInstall

Features: bunfig, dotenv, text_lockfile, spawn

@Pckool Pckool added the crash An issue that could cause a crash label Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 7, 2025

Thank you for reporting this crash.

For Bun's internal tracking, this issue is BUN-AS0.

@github-actions github-actions bot added the macOS An issue that occurs on macOS label Jan 7, 2025
@RiskyMH RiskyMH added the bun install Something that relates to the npm-compatible client label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client crash An issue that could cause a crash macOS An issue that occurs on macOS
Projects
None yet
Development

No branches or pull requests

2 participants