-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed as duplicate of#19652
Labels
bundlerSomething to do with the bundlerSomething to do with the bundlercrashAn issue that could cause a crashAn issue that could cause a crashwindowsAn issue that is known to occur on WindowsAn issue that is known to occur on Windows
Description
EDIT: Updated to reflect crash occurring when only using production flag.
How can we reproduce the crash?
Running bun build index.ts --production causes the crash.
Note that I cannot replicate the error on CodeSandbox. It only seems to occur using the latest versions of bun (at least v1.2.5), on Windows.
Relevant log output
bun build index.ts --production
============================================================
Bun v1.2.7 (5c0fa6dc) Windows x64
Windows v.win11_ge
CPU: sse42 avx avx2 avx512
Args: "C:\Users\julie\.bun\bin\bun.exe" "build" "index.ts" "--production"
Features: tsconfig
Elapsed: 3ms | User: 0ms | Sys: 0ms
RSS: 30.69MB | Peak: 30.69MB | Commit: 67.90MB | Faults: 7665
panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:
<link used to create this bug report>Stack Trace (bun.report)
Bun v1.2.7 (5c0fa6d) on windows x86_64 [BuildCommand]
panic: Internal assertion failure
crash_handler.zig:728:handleRootErrorbun.zig:3401:assertionFailurebuild_command.zig:215:execcli.zig:1836:startcli.zig:70:startmain.zig:63:mainiterator:488:std::operator==
Features: tsconfig
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bundlerSomething to do with the bundlerSomething to do with the bundlercrashAn issue that could cause a crashAn issue that could cause a crashwindowsAn issue that is known to occur on WindowsAn issue that is known to occur on Windows