Skip to content

fix(build): upgrade turbo to 2.11.10 to stop the shutdown SIGSEGV - #2925

Open
Addin wants to merge 1 commit into
CapSoftware:mainfrom
Addin:fix/turbo-shutdown-segfault-2916
Open

Addin wants to merge 1 commit into
CapSoftware:mainfrom
Addin:fix/turbo-shutdown-segfault-2916

Conversation

@Addin

@Addin Addin commented Oct 22, 2026 •

Copy link
Copy Markdown

What & Why

bun run build dies with SIGSEGV/SIGBUS at turbo's default concurrency. No build task is dying: turbo 2.10.2 segfaults while stopping the graph.

On a task failure the default --continue=never cancels running tasks; ProcessManager::close(Stop) stops every child concurrently, and each stop() calls sysinfo::System::new_all(). On musl that refreshes the users list through non-reentrant getpwuid/getgrgid, and two threads racing the shared statics corrupt the heap. The kernel log from a crashed run shows traps: tokio-rt-worker[...] general protection fault ... in turbo[...], with two workers faulting in the same run. Turbopack/vinxi/vite only exit 130 because turbo SIGINTs them.

Fixed upstream in vercel/turborepo#13256, first released in 2.10.4. This raises turbo ^2.3.4 → ^2.11.10; the lockfile was the pin — the old range already allowed 2.11.10.

Changes

  • package.json: turbo ^2.3.4 → ^2.11.10
  • bun.lock: turbo 2.10.2 → 2.11.10, plus the six @turbo/* platform packages

Verification

Check Before (2.10.2) After (2.11.10)
turbo run build --force ×12 4 runs exit 139 0 runs exit 139, all exit 1
Kernel tokio-rt-worker traps present, fault in turbo none
bun run build (default concurrency) — exit 1 ×3, only @cap/sdk-recorder#build fails
  • bun install --frozen-lockfile → no changes
  • bun run check:bun → 506 workspace dependencies match the lockfile
  • turbo run build --dry-run=json → 24 packages / 24 tasks, empty stderr
  • turbo run dev, docker:up, test --dry=json → exit 0
  • turbo run test --filter=@cap/recorder-core → 1 successful

Out of scope

Closes #2916

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge; no actionable issue was found.

Summary

Updates turbo to address the reported crash when stopping build tasks.

  • Turbo uses the fixed release when it runs workspace tasks.

Reviews (1) · Last reviewed commit: "fix(build): upgrade turbo to 2.11.10" · Reviewed by Greptile

@vercel

vercel Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

@Addin is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​turbo@​2.10.2 ⏵ 2.11.10100 +110085 +197100

View full report

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: bun run build dies with SIGSEGV/SIGBUS at turbo's default concurrency on a 16 GiB machine

1 participant