Closed mreinertssgr closed 1 month ago
Do you import any wasm files? If so, I believe #14047 will fix this crash
Yes, argon2-browser
communicates with the C implementation via wasm.
That's great to hear, is there any ETA for a release including this fix?
Using bun canary I can confirm it's been fixed, the library builds as expected
Great
@shinobu-uwu the fix was included in the most recent release, bun v1.1.29
How can we reproduce the crash?
I'm creating a simple library, that unfortunately I cannot share. This is my build file and the relevant parts of
package.json
Relevant log output
Stack Trace (bun.report)
Bun v1.1.28 (
b66d622
) on macos aarch64 [RunCommand]Segmentation fault at address 0x00000004
src.bundler.bundle_v2.LinkerContext.generateChunksInParallel
src.bundler.bundle_v2.BundleV2.runFromJSInNewThread
Thread.PosixThreadImpl.spawn__anon_172370.Instance.entryFn