-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Android BorrowError panic in wry and inability to restart/launch #1420
Comments
I'm getting a similar error. I'm using MapLibre GL JS in tauri on android and occasionally while zooming/panning around in the map I get a crash:
|
Interesting! Thanks for the report as it helped confirm my sanity. I'm using Mapbox Gl Js so it could relate somehow. As a counter point, I haven't had any crashes (past hour or two) when dev'ing on my Mac M1, but my much more performant PC panics. |
This is probably related to: #1379 |
Thanks for confirming! I moved to capacitorjs after making no progress. |
Describe the bug
I'm attempting to run Tauri on an existing prod React project. I have been encountering a panic somewhat reliably after a deep-link is called (user goes to complete oauth flow, deep-link drops them back in the app successfully - this works great). However, on next app launch it seems like the deep-link state is still present and causes a panic. This panic is then irrecoverable. Force-quit the tauri app = panic. Try and force-quit again and panic. App is then dead mostly. Sometimes it will come back, as if a bad event has been dispatched successfully. Delete the app from the device and it can be reliably installed.
I have been able to cause the same set of panics with a similar flow - when there's competition for launching the WebKitClient(?).
I haven't made much more progress on this issue but happy to keep looking into it.
Steps To Reproduce
Expected behavior
No panic.
Screenshots
Panic:
References:
Platform and Versions (please complete the following information):
OS: Android on Pixel 4a 5G. I am port forwarding from the Android device to my dev PC.
Rustc: 1.82
Additional context
Logcat Output during the panic (nothing useful beyond the reference to unwinding panic):
Full Logcat output: https://gist.github.com/tristan-morris/44dd5f7e451f6f81d260c7a56b14afa4
$ cargo tauri info
[✔] Environment
- OS: Ubuntu 23.4.0 x86_64 (X64)
✔ webkit2gtk-4.1: 2.42.4
✔ rsvg2: 2.54.5
✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
- node: 21.5.0
- yarn: 1.22.21
- npm: 10.2.4
[-] Packages
- tauri 🦀: 2.1.1
- tauri-build 🦀: 2.0.3
- wry 🦀: 0.47.0
- tao 🦀: 0.30.8
- tauri-cli 🦀: 2.1.0
- @tauri-apps/api : 2.1.1
- @tauri-apps/cli : 2.1.0
[-] Plugins
- tauri-plugin-log 🦀: 2.0.2
- @tauri-apps/plugin-log : not installed!
- tauri-plugin-notification 🦀: 2.0.1
- @tauri-apps/plugin-notification : 2.0.0
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1
- tauri-plugin-geolocation 🦀: 2.0.1
- @tauri-apps/plugin-geolocation : 2.0.0
- tauri-plugin-deep-link 🦀: 2.0.1
- @tauri-apps/plugin-deep-link : 2.0.0
- tauri-plugin-fs 🦀: 2.0.3
- @tauri-apps/plugin-fs : 2.0.2
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:3000/
- framework: React
- bundler: Rollup
The text was updated successfully, but these errors were encountered: