-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
预期情况
应该像Windows一样关闭窗口后,后台继续运行,且有系统托盘图标
实际情况
点击关闭窗口的按钮仅能将其最小化到任务栏,而不是直接关闭
复现方法
打开软件,然后点击关闭窗口按钮
日志信息
2024-11-15 14:36:30.9277-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Desktop/v2rayN-linux-64/v2rayN
2024-11-15 14:36:30.9351-INFO Unix 6.11.8.0 - 64
2024-11-15 14:36:31.8882-INFO UpdateTaskRunGeo
2024-11-15 14:36:43.9974-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-15 14:36:43.9974-DEBUG
2024-11-15 14:36:43.9974-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-15 14:36:43.9974-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-15 14:36:43.9974-DEBUG
2024-11-15 14:36:43.9974-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-15 14:36:46.0926-INFO OnClosing -> WindowClosing
2024-11-15 14:40:34.9743-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Desktop/v2rayN-linux-64/v2rayN
2024-11-15 14:40:34.9821-INFO Unix 6.11.8.0 - 64
2024-11-15 14:40:35.7795-INFO UpdateTaskRunGeo
2024-11-15 14:40:40.0149-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-15 14:40:40.0149-DEBUG
2024-11-15 14:40:40.0149-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-15 14:40:40.0175-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-15 14:40:40.0175-DEBUG
2024-11-15 14:40:40.0175-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-15 14:41:05.9238-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
2024-11-15 14:41:05.9238-DEBUG
2024-11-15 14:41:05.9238-ERROR System.NullReferenceException: Object reference not set to an instance of an object.
2024-11-15 14:41:35.7833-INFO UpdateTaskRunSubscription
2024-11-15 14:41:36.8444-INFO subscription更新订阅结束
2024-11-15 14:42:25.0761-INFO MyAppExit Begin
2024-11-15 14:42:26.0985-INFO MyAppExit End
2024-11-15 14:42:26.1113-INFO OnClosing -> ApplicationShutdown
2024-11-15 14:42:26.1113-INFO MyAppExit Begin
2024-11-15 14:42:34.4470-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Desktop/v2rayN-linux-64/v2rayN
2024-11-15 14:42:34.4563-INFO Unix 6.11.8.0 - 64
2024-11-15 14:42:35.1846-INFO UpdateTaskRunGeo
2024-11-15 14:42:37.1607-INFO OnClosing -> WindowClosing
2024-11-15 14:42:42.4432-INFO OnClosing -> WindowClosing
2024-11-15 14:42:44.6586-INFO OnClosing -> WindowClosing
2024-11-15 14:43:15.4896-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
chmod: 无法访问 '/home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray': 没有那个文件或目录
2024-11-15 14:43:15.4917-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<<ExecuteBufferedAsync>b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args)
2024-11-15 14:43:15.4917-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#14108) returned a non-zero exit code (1).
Command:
/bin/bash -c "chmod +x /home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray"
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
2024-11-15 14:43:15.4960-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
chmod: 无法访问 '/home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray': 没有那个文件或目录
2024-11-15 14:43:15.4960-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<<ExecuteBufferedAsync>b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args)
2024-11-15 14:43:15.4960-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#14109) returned a non-zero exit code (1).
Command:
/bin/bash -c "chmod +x /home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray"
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
2024-11-15 14:43:15.4979-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.
Standard error:
chmod: 无法访问 '/home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray': 没有那个文件或目录
2024-11-15 14:43:15.4979-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass0_0.<<ExecuteBufferedAsync>b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 65
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args)
2024-11-15 14:43:15.4979-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#14110) returned a non-zero exit code (1).
Command:
/bin/bash -c "chmod +x /home/LuoTat/Desktop/v2rayN-linux-64/bin/xray/Xray"
You can suppress this validation by calling `WithValidation(CommandResultValidation.None)` on the command.
2024-11-15 14:43:31.0898-INFO OnClosing -> WindowClosing
2024-11-15 14:44:43.6808-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Desktop/v2rayN-linux-64/v2rayN
2024-11-15 14:44:43.6890-INFO Unix 6.11.8.0 - 64
2024-11-15 14:44:51.8081-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Desktop/v2rayN-linux-64/v2rayN
2024-11-15 14:44:51.8180-INFO Unix 6.11.8.0 - 64
2024-11-15 14:44:52.6631-INFO UpdateTaskRunGeo
2024-11-15 14:44:55.7410-INFO OnClosing -> WindowClosing
2024-11-15 14:45:52.6678-INFO UpdateTaskRunSubscription
2024-11-15 14:59:46.9847-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 14:59:47.0073-INFO Unix 6.11.8.0 - 64
2024-11-15 14:59:49.3637-INFO UpdateTaskRunGeo
2024-11-15 14:59:58.2246-INFO OnClosing -> WindowClosing
2024-11-15 15:00:07.3452-INFO OnClosing -> WindowClosing
2024-11-15 15:00:48.5404-INFO OnClosing -> WindowClosing
2024-11-15 15:00:49.3609-INFO UpdateTaskRunSubscription
2024-11-15 15:02:52.4574-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:02:52.4574-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:03:05.6363-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:03:05.6363-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:03:15.0596-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:03:15.0596-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:03:19.2836-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files)
2024-11-15 15:03:19.2836-DEBUG
2024-11-15 15:03:19.2836-ERROR Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files
2024-11-15 15:03:22.5582-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:03:22.5582-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:05:01.8982-INFO OnClosing -> WindowClosing
2024-11-15 15:05:15.1685-INFO MyAppExit Begin
2024-11-15 15:05:16.1988-INFO MyAppExit End
2024-11-15 15:05:16.2006-INFO OnClosing -> ApplicationShutdown
2024-11-15 15:05:16.2006-INFO MyAppExit Begin
2024-11-15 15:05:45.6744-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 15:05:45.6842-INFO Unix 6.11.8.0 - 64
2024-11-15 15:05:46.4528-INFO UpdateTaskRunGeo
2024-11-15 15:06:46.4535-INFO UpdateTaskRunSubscription
2024-11-15 15:06:51.3808-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:06:51.3813-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:07:03.5963-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:07:03.5963-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:07:27.0504-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:07:27.0504-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:07:40.8015-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:07:40.8015-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:08:08.2747-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 15:08:08.2747-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 15:08:22.9012-INFO OnClosing -> WindowClosing
2024-11-15 15:08:24.4835-INFO MyAppExit Begin
2024-11-15 15:08:25.5287-INFO MyAppExit End
2024-11-15 15:08:25.5287-INFO OnClosing -> ApplicationShutdown
2024-11-15 15:08:25.5287-INFO MyAppExit Begin
2024-11-15 15:08:28.5564-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 15:08:28.5653-INFO Unix 6.11.8.0 - 64
2024-11-15 15:08:29.3455-INFO UpdateTaskRunGeo
2024-11-15 15:09:15.0603-INFO OnClosing -> WindowClosing
2024-11-15 15:09:17.6953-INFO MyAppExit Begin
2024-11-15 15:09:18.7514-INFO MyAppExit End
2024-11-15 15:09:18.7514-INFO OnClosing -> ApplicationShutdown
2024-11-15 15:09:18.7514-INFO MyAppExit Begin
2024-11-15 16:31:04.6284-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:31:04.6379-INFO Unix 6.11.8.0 - 64
2024-11-15 16:31:05.4678-INFO UpdateTaskRunGeo
2024-11-15 16:32:05.4678-INFO UpdateTaskRunSubscription
2024-11-15 16:34:47.7115-INFO OnClosing -> WindowClosing
2024-11-15 16:36:43.6538-INFO OnClosing -> WindowClosing
2024-11-15 16:36:45.6081-INFO MyAppExit Begin
2024-11-15 16:36:46.6722-INFO MyAppExit End
2024-11-15 16:36:46.6749-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:36:46.6749-INFO MyAppExit Begin
2024-11-15 16:37:18.8995-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:37:18.9091-INFO Unix 6.11.8.0 - 64
2024-11-15 16:37:19.6881-INFO UpdateTaskRunGeo
2024-11-15 16:37:56.2257-INFO OnClosing -> WindowClosing
2024-11-15 16:38:19.6895-INFO UpdateTaskRunSubscription
2024-11-15 16:41:32.5939-INFO OnClosing -> WindowClosing
2024-11-15 16:43:56.8681-INFO OnClosing -> WindowClosing
2024-11-15 16:43:57.3882-INFO OnClosing -> WindowClosing
2024-11-15 16:43:57.5431-INFO OnClosing -> WindowClosing
2024-11-15 16:43:57.7009-INFO OnClosing -> WindowClosing
2024-11-15 16:43:57.8332-INFO OnClosing -> WindowClosing
2024-11-15 16:44:57.3730-INFO OnClosing -> WindowClosing
2024-11-15 16:47:44.0789-INFO OnClosing -> WindowClosing
2024-11-15 16:47:45.5452-INFO MyAppExit Begin
2024-11-15 16:47:46.5942-INFO MyAppExit End
2024-11-15 16:47:46.5942-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:47:46.5942-INFO MyAppExit Begin
2024-11-15 16:47:49.4889-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:47:49.4987-INFO Unix 6.11.8.0 - 64
2024-11-15 16:47:50.2678-INFO UpdateTaskRunGeo
2024-11-15 16:48:00.6169-INFO OnClosing -> WindowClosing
2024-11-15 16:48:03.0432-INFO MyAppExit Begin
2024-11-15 16:48:04.0868-INFO MyAppExit End
2024-11-15 16:48:04.0868-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:48:04.0868-INFO MyAppExit Begin
2024-11-15 16:48:07.3714-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:48:07.3804-INFO Unix 6.11.8.0 - 64
2024-11-15 16:48:08.1763-INFO UpdateTaskRunGeo
2024-11-15 16:49:08.1780-INFO UpdateTaskRunSubscription
2024-11-15 16:49:18.9325-INFO OnClosing -> WindowClosing
2024-11-15 16:49:23.1417-INFO MyAppExit Begin
2024-11-15 16:49:24.1837-INFO MyAppExit End
2024-11-15 16:49:24.1837-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:49:24.1837-INFO MyAppExit Begin
2024-11-15 16:49:28.2675-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:49:28.2763-INFO Unix 6.11.8.0 - 64
2024-11-15 16:49:29.0899-INFO UpdateTaskRunGeo
2024-11-15 16:49:34.0195-INFO OnClosing -> WindowClosing
2024-11-15 16:49:35.9542-INFO OnClosing -> WindowClosing
2024-11-15 16:49:38.9919-INFO MyAppExit Begin
2024-11-15 16:49:40.0394-INFO MyAppExit End
2024-11-15 16:49:40.0407-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:49:40.0407-INFO MyAppExit Begin
2024-11-15 16:49:53.5936-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:49:53.6028-INFO Unix 6.11.8.0 - 64
2024-11-15 16:49:54.4284-INFO UpdateTaskRunGeo
2024-11-15 16:50:17.3293-INFO OnClosing -> WindowClosing
2024-11-15 16:50:18.5683-INFO MyAppExit Begin
2024-11-15 16:50:19.6305-INFO MyAppExit End
2024-11-15 16:50:19.6305-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:50:19.6305-INFO MyAppExit Begin
2024-11-15 16:50:21.9934-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:50:22.0026-INFO Unix 6.11.8.0 - 64
2024-11-15 16:50:22.8367-INFO UpdateTaskRunGeo
2024-11-15 16:51:22.8413-INFO UpdateTaskRunSubscription
2024-11-15 16:56:50.5032-INFO OnClosing -> WindowClosing
2024-11-15 16:57:38.7910-INFO OnClosing -> WindowClosing
2024-11-15 16:57:40.7729-INFO MyAppExit Begin
2024-11-15 16:57:41.8313-INFO MyAppExit End
2024-11-15 16:57:41.8313-INFO OnClosing -> ApplicationShutdown
2024-11-15 16:57:41.8313-INFO MyAppExit Begin
2024-11-15 16:57:44.1217-INFO v2rayN start up | v2rayN - V7.1.0 - X64 - 2024/11/14 | /home/LuoTat/Program/v2rayN-linux-64/v2rayN
2024-11-15 16:57:44.1311-INFO Unix 6.11.8.0 - 64
2024-11-15 16:57:44.9553-INFO UpdateTaskRunGeo
2024-11-15 16:58:30.0370-INFO OnClosing -> WindowClosing
2024-11-15 16:58:44.9542-INFO UpdateTaskRunSubscription
2024-11-15 17:00:01.3288-DEBUG FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
,FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: cleanup rules: operation not supported
2024-11-15 17:00:01.3288-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo)
2024-11-15 17:00:16.4343-INFO OnClosing -> WindowClosing
2024-11-15 17:01:47.4951-INFO OnClosing -> WindowClosing
2024-11-15 17:02:47.6604-INFO OnClosing -> WindowClosing
额外信息
No response
我确认已更新至最新版本
- 是
我确认已查询历史issues
- 是
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working