Hello,
What you're describing is a "WASM" crash. They're very unpredictable and highly dependant on specific scenarios that the user is performing. Nonetheless, we can fix them, we just need some more information. If you're able to reliably reproduce this issue, please have the following guide (linked below) ready to report the issue using the template.
Thank you and apologies of the inconvenience!