-
Notifications
You must be signed in to change notification settings - Fork 1.1k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
RuntimeError: Out of bounds memory access wasm.__wbindgen_start() #3470
Comments
I wasn't able to reproduce this, on either macOS or Manjaro Linux. Could you tell me what version of |
Scratch that actually, the template should be using the latest version of The error message reminds me of #3153, which was happening because |
Thanks for your reply, I can confirm you that the template is using version 0.2 by default : wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } But even when I specify A test has been done on Pop!_Os (ubuntu based) and the crash happen too, but less often this time (to be noted that the machine running the Pop!_os has a lot more cpu resources). I did another test in fresh Manjaro virtual machine and I reproduced the crash :
To reproduce it I did :
Note that I had to Do you have any clue on this ? Thanks |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the Bug
Hello
I'm reaching to you after having opened issues with leptos-rs and tauri :
I am currently having "semi-random" crashes with all Tauri templates using wasm-bindgen (Leptos, Sycamore, Yew).
Tauri's team point of view is that this bug seems to come from
wasm-bindgen
.Here is an example of what is happening :
(This time I had to Reload three times to trigger the crash, but sometimes it happens at first start)
(You can see the second time the application crashes directly)
Here is the stacktrace of the bug :
Steps to Reproduce
First i will say I don't know how to reproduce it directly with wasm-bindgen but you can reproduce it using Tauri this way :
cargo create-tauri-app
cd
into the project directorycargo tauri dev
Reload
until you get the crashesYou can also use run AppImage : https://file.io/qV7is0fTatqw
Expected Behavior
The
wasm.__wbindgen_start()
should not crashAdditional Context
I would happily helps to fix this issue by submitting a PR, but I will need help to find out where this bug come from.
Thanks,
The text was updated successfully, but these errors were encountered: