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 crash when running pnpm #17852

Open
ducan-ne opened this issue Mar 2, 2025 · 2 comments
Open

Bun crash when running pnpm #17852

ducan-ne opened this issue Mar 2, 2025 · 2 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS needs repro Needs an example to reproduce

Comments

@ducan-ne
Copy link

ducan-ne commented Mar 2, 2025

How can we reproduce the crash?

It's a rare case but I got this when running pnpm with bun as the runner. I'm not sure the root cause, just simply run pnpm

Relevant log output

Stack Trace (bun.report)

Bun v1.2.4 (fd9a5ea) on macos aarch64 [AutoCommand]

Bus error at address 0xFFFFFFFFFFFFFFFF

  • 2 unknown/js code
  • JSC::PreciseAllocation::lastChanceToFinalize
  • JSC::MarkedSpace::lastChanceToFinalize
  • JSC::Heap::lastChanceToFinalize
  • JSC::VM::~VM
  • WebWorker__dispatchExit
  • bun.js.web_worker.WebWorker.exitAndDeinit
  • bun.js.javascript.OpaqueWrap__anon_1314444__struct_1314578.callback
  • JSC__VM__holdAPILock

Features: transpiler_cache, tsconfig, workers_spawned, workers_terminated, process_dlopen, Bun.stderr, Bun.stdin, Bun.stdout, fetch, jsc, spawn

Sentry Issue: BUN-DEX

@ducan-ne ducan-ne added the crash An issue that could cause a crash label Mar 2, 2025
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Mar 2, 2025
@DonIsaac
Copy link
Contributor

DonIsaac commented Mar 3, 2025

What command were you running with pnpm?

@Electroid Electroid added the needs repro Needs an example to reproduce label Mar 3, 2025
Copy link
Contributor

github-actions bot commented Mar 3, 2025

Hello @ducan-ne. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with needs repro will be closed if they have no activity within 3 days.

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 needs repro Needs an example to reproduce
Projects
None yet
Development

No branches or pull requests

3 participants