-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[bug] crashes : RuntimeError: Out of bounds memory access #7154
Comments
this is either an issue in leptos wasm-js interaction implementation or in the webview itself, either way we can't do anything about it. I think it is something in leptos but I could be wrong, maybe try reaching out to leptos team. |
Hello, Thanks for your reply, I'm sorry if it was not clear in the first issue message, but this crashes are not only related to leptos as they happens with every other UI template (Vanilla, Yew, Leptos or Sycamore). Thanks |
Yew, leptos or sycamore are all using wasm-bindgen behind the scene so they all should have the same issue but are you sure 100% that |
After verification, It's not happening on Vanilla. So this is related to wasm-bindgen right ? Thanks for your time. |
yeah seems like it |
Same here : https://github.com/jrouaix/wasm_pbm |
I also get various crashes running WASM on Webkit on Linux. for example: rust-lang/hashbrown#194 Note: Everything work as expected with Chrome or Firefox. Right now, it is quite impossible to use tauri on Linux because the WASM runtime is totally unstable... |
Also uploaded a test application to reproduce the bug: |
Describe the bug
Hello,
Context : I am currently developing an app with Tauri as backend and Leptos as front-end, and during development I had multiple crashes during application execution. Theses crashes happens sometimes directly at application start (by starting the app either with
cargo tauri dev
or using AppImage) or sometimes when doing aReload
.The thing is, the crashes seems to happens with any Tauri with Rust template created with
cargo create-tauri-app
.Here some example with a template app created using
cargo create-tauri-app
:(This time I had to Reload three times to trigger the crash, but sometimes it happens at first start)
Here is another example when using the AppImage generated by Tauri :
(You can see the second time the application crashes directly)
Reproduction
cd
into the project directorycargo tauri dev
Reload
until you get the crashesYou can also use this AppImage : https://file.io/qV7is0fTatqw
Note :
Expected behavior
The application should not crash semi-randomly
Platform and versions
Stack trace
Additional context
I would happily help to fix this, but at this moment I don't know where to look to fix this.
Thanks
The text was updated successfully, but these errors were encountered: