You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going to take a pass at this, just to note in case anyone comes on this, as long as the file contains anything besides new lines, even if it's just junk chars or comment blocks works, it probably shouldn't bundle out a css file if there isn't any css but it does currently make
How can we reproduce the crash?
The
styles.css
file exists but it's emptyand doing
bun run build.ts
gives the seg faultit works fine if
styles.css
has anything (even comments)Relevant log output
panic: Segmentation fault at address 0x8
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
Stack Trace (bun.report)
Bun v1.1.30 (
7996d06
) on linux x86_64 [RunCommand]Segmentation fault at address 0x00000008
bundle_v2.zig:5611
:src.bundler.bundle_v2.LinkerContext.findImportedFilesInCSSOrder
bundle_v2.zig:5010
:src.bundler.bundle_v2.LinkerContext.computeChunks
bundle_v2.zig:4867
:src.bundler.bundle_v2.LinkerContext.link
bundle_v2.zig:1908
:src.bundler.bundle_v2.BundleV2.runFromJSInNewThread
bundle_v2.zig:2788
:Thread.PosixThreadImpl.spawn__anon_186129.Instance.entryFn
Features: Bun.stderr, Bun.stdout, jsc, shell, spawn, transpiler_cache, tsconfig
The text was updated successfully, but these errors were encountered: