Skip to content

segmentation fault #22189

@sroussey

Description

@sroussey

Describe the bug

BUILDER ➜ ./packages/app (main*) $ npx vite build
vite v8.0.7 building client environment for production...
✓ 6551 modules transformed.
Segmentation fault
BUILDER ➜ ./packages/app (main*) $ bunx vite build
vite v8.0.7 building client environment for production...
✓ 6551 modules transformed.
[1] 764902 segmentation fault bunx vite build

I tried under both npx/node and with bun

Reproduction

working on this

Steps to reproduce

No response

System Info

System:
    OS: Linux 6.17 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (12) arm64 unknown
    Memory: 15.25 GB / 23.49 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 24.12.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 11.6.2 - /usr/local/bin/npm
    pnpm: 10.26.0 - /usr/local/share/npm-global/bin/pnpm
    bun: 1.3.11 - /home/node/.bun/bin/bun
  npmPackages:
    @vitejs/plugin-react: ^6.0.1 => 6.0.1 
    vite: ^8.0.7 => 8.0.7

Used Package Manager

npm

Logs

ends the same:

✓ 6551 modules transformed.
[1] 766033 segmentation fault bunx vite build --debug

and

✓ 6551 modules transformed.
Segmentation fault

Any way to debug after xxx modules transformed is printed?

Validations

Metadata

Metadata

Assignees

Labels

bug: upstreamBug in a dependency of Vitep4-importantViolate documented behavior or significantly improves performance (priority)

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions