Skip to content

pnpm 11.0.3 standalone executable segfaults on Intel macOS (upstream Node.js SEA bug) #11423

@yalkheder

Description

@yalkheder

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

11.0.3

Which area(s) of pnpm are affected? (leave empty if unsure)

No response

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  1. On an Intel (x86_64) Mac, run the official install script, or
  2. Download pnpm-darwin-x64.tar.gz from the v11.0.3 release, extract, and run ./pnpm setup --force.

Describe the Bug

The pnpm 11 standalone executable for darwin-x64 crashes immediately on Intel macOS, so the install script fails and the binary cannot be invoked directly either.
Since v11, pnpm ships @pnpm/exe as a Node.js Single Executable Application (SEA). There's an open upstream Node.js bug — nodejs/node#62893 — where SEA binaries on Intel macOS segfault 100% of the time. The crashes below match that signature exactly, so this looks like the same root cause surfacing through pnpm's new distribution.

Install script:

curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=11.0.3 sh -
==> Downloading pnpm binaries 11.0.3
sh: line 138:  1439 Segmentation fault: 11  SHELL="$SHELL" "$tmp_dir/pnpm" setup --force
Install Error!

Running the extracted binary directly:

pnpm-darwin-x64 ) sh
sh-3.2$ ./pnpm setup --force
Killed: 9

Related: nodejs/node#62893

Expected Behavior

The pnpm-darwin-x64 standalone executable runs on Intel macOS without crashing, and pnpm setup completes successfully.

Which Node.js version are you using?

N/A — The standalone executable Node.js via SEA. 25.9.0, I assume.

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions