Skip to content
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

App crashes inconsistently when re-launching on android 11 due to tauri-plugin-log error #10

Open
mattyg opened this issue Jul 15, 2024 · 0 comments
Labels
bug Something isn't working mobile

Comments

@mattyg
Copy link
Collaborator

mattyg commented Jul 15, 2024

Inconistently, when relaunching the app, it crashes with the following error logged:

07-12 14:50:19.131 24966 25283 I RustStdoutStderr: FATAL PANIC PanicInfo {
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     payload: Any { .. },
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     message: Some(
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:         error while running tauri application: PluginInitialization("log", "attempted to set a logger after the logging system was already initialized"),
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     ),
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     location: Location {
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:         file: "src-tauri/src/lib.rs",
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:         line: 52,
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:         col: 10,
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     },
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     can_unwind: true,
07-12 14:50:19.131 24966 25283 I RustStdoutStderr:     force_no_backtrace: false,
07-12 14:50:19.131 24966 25283 I RustStdoutStderr: }
07-12 14:50:19.131 24966 25283 I RustStdoutStderr: thread '<unnamed>' panicked at src-tauri/src/lib.rs:52:10:
07-12 14:50:19.131 24966 25283 I RustStdoutStderr: error while running tauri application: PluginInitialization("log", "attempted to set a logger after the logging system was already initialized")

This ticket may offer some leads: tauri-apps/cargo-mobile2#47

I believe this is an issue with tauri, not kando, but keeping here anyway to track.

@mattyg mattyg added bug Something isn't working mobile labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mobile
Projects
None yet
Development

No branches or pull requests

1 participant