Skip to content

bun init issue #19158

@wendylw

Description

@wendylw

package.json file

{
  "name": "backend",
  "module": "index.ts",
  "type": "module",
  "private": true,
  "devDependencies": {
    "@types/bun": "latest"
  },
  "peerDependencies": {
    "typescript": "^5"
  }
}

How can we reproduce the crash?

run bun init

Relevant log output

➜  backend git:(master) ✗ bun init

✓ Select a project template: Blank

 + .gitignore
 + index.ts
 + tsconfig.json (for editor autocomplete)
 + README.md

To get started, run:

    bun run index.ts

============================================================
Bun v1.2.10 (db2e7d7f) macOS x64
macOS v15.3.2
CPU: sse42 popcnt avx avx2
Args: "/Users/linwendy/.bun/bin/bun" "install"
Elapsed: 5548ms | User: 1881ms | Sys: 3372ms
RSS: 3.75GB | Peak: 3.76GB | Commit: 4.60TB | Faults: 21

panic(main thread): Segmentation fault at address 0x42E7BFFFFE0

Stack Trace (bun.report)

Bun v1.2.10 (db2e7d7) on macos x86_64 [InstallCommand]

Segmentation fault at address 0x53D67FFFFE0

  • 2 unknown/js code
  • install.install.PackageManager.init
  • install.install.PackageManager.installWithCLI
  • cli.install_command.InstallCommand.exec
  • cli.Command.start
  • cli.Cli.start
  • main

Sentry Issue: BUN-GV7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bun installSomething that relates to the npm-compatible clientcrashAn issue that could cause a crashmacOSAn issue that occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions