Unsure how to debug `Unhandled Promise Rejection: RuntimeError: Out of bounds memory access` error

I am creating a Tauri app with a Yew front end. I will sometimes receive a Unhandled Promise Rejection: RuntimeError: Out of bounds memory access error, but it seems to occur randomly. Sometimes it never occurs, sometimes it happens when starting the app up, other times when interacting with the app. So I haven't been able to find a reproducible pattern to incur it.

Does anybody have advice on how to go about debugging this?

I've cross-posted this on the wasm-bindgen discussion page, too (#3436).

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.