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
@dylan-conway I do not think this solves the problem, you have added a loader for WASM but I've implemented WASM imports as a Uint8Array with a Bun plugin. Look inside the bunfig.toml for more details, this may be a plugin issue.
How can we reproduce the crash?
Clone the repository randomx.js at commit hash
9984d2f
. Then perform a simple bun build pointing at the library root, after runningmake
.Keep in mind,
make
is needed to create the WASM files. You will need a simple clang installation, with the WABT and Binaryen toolchains installed.Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.28 (
cf4e9cb
) on linux x86_64 [AutoCommand]Segmentation fault at address 0x00000004
ld-temp.o:0
:WTF::SymbolRegistry::symbolForKey
??
array_hash_map.zig:740
:src.bundler.bundle_v2.LinkerContext.generateChunksInParallel
Mutex.zig:215
:Thread.PosixThreadImpl.spawn__anon_168682.Instance.entryFn
The text was updated successfully, but these errors were encountered: