libnyanpasu / clash-nyanpasu

Clash Nyanpasu~(∠・ω< )⌒☆​
https://nyanpasu.elaina.moe
GNU General Public License v3.0
9.64k stars 602 forks source link

软件崩溃问题 #1544

Closed lemonicy closed 1 month ago

lemonicy commented 2 months ago

复现步骤 / Step to reproduce

不知道怎么触发的

预期行为 / Expected behaviour


实际行为 / Actual Behaviour

Screenshot 2024-09-11 082748

应用日志 / App logs

报错对应的日志在第四行

{"timestamp":"2024-09-11T00:24:12.987379Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:24:36.771140Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/providers/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:24:36.771176Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:24:55.225039Z","level":"ERROR","fields":{"message":"A panic occurred","panic.payload":"PostMessage failed ; is the messages queue full?","panic.location":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\wry-0.43.1\\src\\webview2\\mod.rs:1001:5","panic.backtrace":"disabled backtrace","panic.note":"run with RUST_BACKTRACE=1 environment variable to display a backtrace"},"target":"app_lib","filename":"tauri\\src\\lib.rs","line_number":141}
{"timestamp":"2024-09-11T00:25:16.288127Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:25:16.288160Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:25:26.682988Z","level":"ERROR","fields":{"message":"A panic occurred","panic.payload":"PostMessage failed ; is the messages queue full?","panic.location":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\wry-0.43.1\\src\\webview2\\mod.rs:1001:5","panic.backtrace":"disabled backtrace","panic.note":"run with RUST_BACKTRACE=1 environment variable to display a backtrace"},"target":"app_lib","filename":"tauri\\src\\lib.rs","line_number":141}
{"timestamp":"2024-09-11T00:25:56.899703Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.30.0\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.30.0\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":359}
{"timestamp":"2024-09-11T00:25:56.902369Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.30.0\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.30.0\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":345}
{"timestamp":"2024-09-11T00:26:03.500243Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/providers/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:26:03.500281Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:26:05.688890Z","level":"ERROR","fields":{"message":"A panic occurred","panic.payload":"PostMessage failed ; is the messages queue full?","panic.location":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\wry-0.43.1\\src\\webview2\\mod.rs:1001:5","panic.backtrace":"disabled backtrace","panic.note":"run with RUST_BACKTRACE=1 environment variable to display a backtrace"},"target":"app_lib","filename":"tauri\\src\\lib.rs","line_number":141}
{"timestamp":"2024-09-11T00:26:35.052635Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/providers/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:26:35.052666Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:26:58.868050Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/providers/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:26:58.868110Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:27:22.620315Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/providers/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:27:22.620418Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:27:46.368649Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:58488/proxies)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n    2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":22,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-09-11T00:27:46.368686Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"app_lib::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":28,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}

备注 / Addition details

No response

环境信息 / Environment information

----------- System ----------- OS: Windows 11 Pro 22631 Arch: x86_64 ----------- Device ----------- CPU: 13th Gen Intel(R) Core(TM) i7-13700K @ 3.40GHz x 24 Memory: 63.77 GiB ----------- Core ----------- mihomo: Mihomo Meta v1.18.8 windows amd64 with go1.23.0 Mon Sep 2 08:37:40 UTC 2024 Use tags: with_gvisor clash: Clash n2023-09-05-gdcc8d87 windows amd64 with go1.21.0 Tue Sep 5 14:32:57 UTC 2023 clash-rs: clash-rs 0.3.1 mihomo-alpha: Mihomo Meta alpha-7c8f451 windows amd64 with go1.23.1 Mon Sep 9 08:11:44 UTC 2024 Use tags: with_gvisor ----------- Build Info ----------- App Name: clash-nyanpasu App Version: 0.1.0 Pkg Version: 2.0.0-alpha+08e2878 Commit Hash: 08e2878e273f3470f65985312522de9e5ba936f3 Commit Author: github-actions[bot] Commit Date: 2024-09-09T22:20:32.000Z Build Date: 2024-09-10T00:49:24.546Z Build Profile: Nightly Build Platform: x86_64-pc-windows-msvc Rustc Version: rustc 1.83.0-nightly (adf8d168a 2024-09-08) Llvm Version: 19.1

自查步骤 / Verify steps

greenhat616 commented 2 months ago

需要调查。也可能上游库问题:https://github.com/tauri-apps/tauri/issues/10546

greenhat616 commented 2 months ago

https://github.com/libnyanpasu/clash-nyanpasu/commit/8412a6e61bff5ed520d4dc9b4cc9cc9f7d5c1910 此 commit 用于显式忽略错误,仅记录日记

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue is closed because it has been stale for 5 days with no activity.