-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core dumped #1234
Comments
I compiled the debug version of wasm-pack and ran with gdb. Results below. It might be an issue with the libs on my local machine. Will look into it more later if I have time.
|
Here's the full backtrace. Looks like it might not be related to wasm-pack at all.
|
I think I'm having the same issue while following the steps from https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm.
EDIT: |
I was able to work around the issue by removing the cargo version of the tool and installing it from my distro's package manager (in my case pacman, archlinux) |
I have the same issue. Here is
My environment is also Arch Linux. It might be related to issue #650. I was able to resolve the issue by following one of the comments:
|
Issue is described in: - <rustwasm/wasm-pack#650> - <rustwasm/wasm-pack#1234>
I was able to fix this by installing the musl toolchain.
On Arch, you must then Then in wasm-pack: Then you should be good to go. |
Also on Arch Linux, I worked around the issue by rolling back the version:
|
🐛 Bug description
312115 Segmentation fault (core dumped)
When running:
wasm-pack build --no-typescript --target bundler --out-dir build --out-name index --release
🤔 Expected Behavior
No segfault.
👟 Steps to reproduce
I was trying to build the cloudflare rustwasm template. I placed the current state of my repo in a fork.
In ths case, wasm-pack was being started by cloudflarezs "worker-build" tool, which in turn was started by "wrangler dev".
The wasm-pack command was found via strace.
However, cloning the repo and immediately running wasm-pack still seems to cause the segfault.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: wasm-pack 0.10.3
rustc version: rustc 1.67.1 (d5a82bbd2 2023-02-07)
The text was updated successfully, but these errors were encountered: