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

[Bug]: 软件突然闪退,打开后持续报错 #6625

Open
2 tasks done
rooodorei opened this issue Feb 3, 2025 · 7 comments
Open
2 tasks done

[Bug]: 软件突然闪退,打开后持续报错 #6625

rooodorei opened this issue Feb 3, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@rooodorei
Copy link

rooodorei commented Feb 3, 2025

预期情况

正常运行

实际情况

软件启动一段时间后就闪退,闪退后浏览器显示代理无连接,重新打开后控制台报错,因为是今天刚注意到控制台报错,不确定报错和闪退有关,在issue中看到其他人有类似情况,但是没找到解决方法,版本已经是v7.7.1 😭

复现方法

一直保持打开系统代理后一段时间闪退

日志信息

2025/02/04 01:17:13 from 127.0.0.1:4965 accepted //collector.github.com:443 [socks -> block]
2025/02/04 01:17:14 [Warning] [849264803] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\xcfc\xbb\xd9\xf9J\xa4q\xb2K\b\x8e\xaa@\xbd:K\x05w\x1f\xe6kUx\xa2\xe96&\xb2\x80?\xfb \xb0\x94\xac\x19p1\xc2r;\xdcv\x92\xb8\x92\\?>\u00904\xa3?\t\xee\x17\xe2\xfe\xbe\xad\xa8\x96\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
2025/02/04 01:17:15 [Warning] [2719249674] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03y\x95y\x97|蚷̈\xce}s\xa0q\x1f\x143\xb93\x03\x1b\x18&\xc8\xfa\x96N\x04*\x96\xd8 o\x15y\xfa\xab1ȿ\x1c\xbb\xf3ߐ\xab\xa8_a\xe7\xa4{\xc4\xde[f*\xdd\xc7\xe4\x02\xabQ\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
2025/02/04 01:17:16 [Warning] [3298467463] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03ө((\x00\xd6T\xb4\xebGm\xb5\t\x9e\x16\x025\xf3\xb3q\x90\x8d\xd8l\xc42\xfa\x19\xdb\xc9\xec\xe1 %\x8cXT\xbe\xf9\xb3\xd7\x1e\xcd\x10$\xef\x98Nj\xc6\x10\x93\xa9\xd0\xc3͌\x9cD\xf38\x01m\xc7\xf2\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
2025/02/04 01:17:17 [Warning] [4129708289] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > invalid method "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\x7f\xa3f\x1b\xea\xec\x97\xe8\xf85\x95\b\xab\x1e>Nh\a\fğ\xe3M\xdf\xf1\xdc\xfc\xce!\xd4OD"
2025/02/04 01:17:18 [Warning] [4084381699] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\xe4\xf2\x93$}\r\xe8\x9bky\xa1.c\x88\x88?\x97\xfc\xf5\x88\xa7\xaaa\xdbW\xff\xbb[\xaf\xfd\xf1\x1e [w\x12\xf3\x1e\xfcWh\xe7\xf42\xe7\xaaB\x8dN\x81\x00Z\xef\xc0\xd6\xe0#\xe3\xd7vA\xe9\xb9\x01\xdb\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
2025/02/04 01:17:19 [Warning] [24655165] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > invalid method "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03
ߘ\xaeI\xff\x97L\x15L/\x0e\xa6Zz\xa6~\x0f\xcf\xca\x04"
2025/02/04 01:17:19 from 127.0.0.1:4974 accepted //collector.github.com:443 [socks -> block]

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@rooodorei rooodorei added the bug Something isn't working label Feb 3, 2025
@rooodorei
Copy link
Author

日志如下:

2025-02-03 20:34:14.1415-DEBUG ConfigHandler,IO_SharingViolation_NoFileName
2025-02-03 20:34:14.1480-DEBUG at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at ServiceLib.Handler.ConfigHandler.SaveConfig(Config config) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Handler/ConfigHandler.cs:line 192
2025-02-03 20:34:48.6307-INFO UpdateTaskRunSubscription
2025-02-03 22:35:07.8591-INFO ProcUtils, KillProcess not completing the job, fileName
2025-02-03 22:35:07.8708-INFO ProcUtils, KillProcess not completing the job, fileName
2025-02-03 22:35:13.1744-INFO ProcUtils, KillProcess not completing the job, fileName
2025-02-03 22:35:13.1744-INFO ProcUtils, KillProcess not completing the job, fileName

2025-02-04 01:12:09.3436-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 01:12:10.1659-INFO UpdateTaskRunGeo
2025-02-04 01:12:57.2773-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 01:12:58.0518-INFO UpdateTaskRunGeo
2025-02-04 01:13:09.0730-DEBUG ProcUtils,NoAssociatedProcess
2025-02-04 01:13:09.0730-DEBUG at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Id()
at ServiceLib.Common.ProcUtils.ProcessStart(String fileName, String arguments, String dir) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 37
2025-02-04 01:13:58.0547-INFO UpdateTaskRunSubscription
2025-02-04 01:27:09.3940-INFO MyAppExitAsync Begin
2025-02-04 01:27:09.7796-INFO MyAppExitAsync End
2025-02-04 01:27:09.7927-INFO OnExit
2025-02-04 01:27:12.0685-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 01:27:13.8449-INFO UpdateTaskRunGeo
2025-02-04 01:28:13.8517-INFO UpdateTaskRunSubscription
2025-02-04 01:33:36.3409-DEBUG ProcUtils,NoAssociatedProcess
2025-02-04 01:33:36.3409-DEBUG at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Id()
at ServiceLib.Common.ProcUtils.ProcessStart(String fileName, String arguments, String dir) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 37

@2dust
Copy link
Owner

2dust commented Feb 4, 2025

看日志应该是启动 5 分钟后出现异常了,请问这个时候你有操作什么功能吗?

2025-02-04 01:28:13.8517-INFO UpdateTaskRunSubscription
2025-02-04 01:33:36.3409-DEBUG ProcUtils,NoAssociatedProcess

@rooodorei
Copy link
Author

看日志应该是启动 5 分钟后出现异常了,请问这个时候你有操作什么功能吗?

2025-02-04 01:28:13.8517-INFO UpdateTaskRunSubscription
2025-02-04 01:33:36.3409-DEBUG ProcUtils,NoAssociatedProcess

没有,我启动代理后就关闭窗口了,虽然控制台报错但是还是能正常代理
闪退应该是在我这次启动之前

2025-02-03 22:35:13.1744-INFO ProcUtils, KillProcess not completing the job, fileName

2025-02-04 01:12:09.3436-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 01:12:10.1659-INFO UpdateTaskRunGeo
2025-02-04 01:12:57.2773-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 01:12:58.0518-INFO UpdateTaskRunGeo

之前几个版本也会闪退,而且闪退后浏览器连接不上网络,显示‘代理服务器错误‘ 重新启动v2ray才好,请问有办法解决吗?
🥺

@rooodorei
Copy link
Author

闪退的问题和这个issue416也许一样,控制台报错目前不影响使用

看来是解决不了,辛苦大佬了

@2dust
Copy link
Owner

2dust commented Feb 4, 2025

你说的 issue 有点老了,框架都换过了。
你重新下载最新版到全新文件夹下,然后导入下一个能用的配置用着,看什么时候出现问题,把日志都发出来。
还有脱敏后把配置也发下。

@rooodorei
Copy link
Author

刚刚又发生了闪退,在15:23左右,并且重新启动后v2ray控制台也一直输出

2025/02/04 15:25:10 [Warning] [1547326992] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > invalid method "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03/\x06\x1b\xfd\xbb\xe2\x8c\xc9\xd9~s\x03\x9e+\xd6S쉿i\xbbG\xd8g"
2025/02/04 15:25:11 [Warning] [3356599906] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03э\x8e\xdd\x10jY\x1e\u0378\x99Q!`\x02\x19_\xb4\x9b\x13\x02\xfd\xbc\xd1\xf4\xceV\xf5.O\xd3\xdf \xaa\xfbh\x11rkߧ\xefu\xc6]:V\x03B?\x04\xd1\xc3g\xb76}\x1e\xd6=\f\xa8\x18\x8d\xcd\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
2025/02/04 15:25:12 [Warning] [1022749880] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03mC{\x01\xdf\xc4\xdd\xdb_\xe3Q\xd2\x15\xca\xfb\xb1f3\xb7\xafm\x05\xbd\xa6\xc2\xe4\xb7W\xdf\xcbv\x93 \xf6\x1cW\x06\x82\xe59\x92\x95\x9e\xea\xfb\x02͢\x11T\x85Q\xe1r\xbe\r(2\xae\xb1T\rH^\xba\x00>\x13\x02\x13\x03\x13\x01\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0"
日志
       2025-02-04 14:23:05.9965-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 14:23:07.1652-INFO UpdateTaskRunGeo
2025-02-04 14:24:07.1764-INFO UpdateTaskRunSubscription
2025-02-04 15:16:17.0122-DEBUG ProcUtils,NoAssociatedProcess
2025-02-04 15:16:17.0672-DEBUG    at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_Id()
   at ServiceLib.Common.ProcUtils.ProcessStart(String fileName, String arguments, String dir) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 37
2025-02-04 15:24:24.7530-INFO v2rayN start up | v2rayN - V7.7.1 - X64 | D:\V2RayN\v2rayN-windows-64-SelfContained\ | D:\V2RayN\v2rayN-windows-64-SelfContained\v2rayN.exe | Microsoft Windows NT 10.0.22631.0
2025-02-04 15:24:25.6176-INFO UpdateTaskRunGeo
2025-02-04 15:24:53.5792-DEBUG ProcUtils,NoAssociatedProcess
2025-02-04 15:24:53.5881-DEBUG    at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_Id()
   at ServiceLib.Common.ProcUtils.ProcessStart(String fileName, String arguments, String dir) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/ProcUtils.cs:line 37
2025-02-04 15:25:25.6206-INFO UpdateTaskRunSubscription   
配置文件
   {
  "IndexId": "5314454044001724248",
  "SubIndexId": "4999145887277832063",
  "RunningCoreType": 2,
  "CoreBasicItem": {
    "LogEnabled": false,
    "Loglevel": "warning",
    "MuxEnabled": false,
    "DefAllowInsecure": false,
    "DefFingerprint": null,
    "DefUserAgent": null,
    "EnableFragment": false,
    "EnableCacheFile4Sbox": true
  },
  "TunModeItem": {
    "EnableTun": false,
    "StrictRoute": true,
    "Stack": null,
    "Mtu": 9000,
    "EnableExInbound": false,
    "EnableIPv6Address": false,
    "LinuxSudoPwd": null
  },
  "KcpItem": {
    "Mtu": 1350,
    "Tti": 50,
    "UplinkCapacity": 12,
    "DownlinkCapacity": 100,
    "Congestion": false,
    "ReadBufferSize": 2,
    "WriteBufferSize": 2
  },
  "GrpcItem": {
    "IdleTimeout": 60,
    "HealthCheckTimeout": 20,
    "PermitWithoutStream": false,
    "InitialWindowsSize": 0
  },
  "RoutingBasicItem": {
    "DomainStrategy": "AsIs",
    "DomainStrategy4Singbox": null,
    "DomainMatcher": null,
    "RoutingIndexId": "4981635521103204856"
  },
  "GuiItem": {
    "AutoRun": false,
    "EnableStatistics": false,
    "DisplayRealTimeSpeed": false,
    "KeepOlderDedupl": false,
    "AutoUpdateInterval": 0,
    "EnableSecurityProtocolTls13": false,
    "TrayMenuServersLimit": 20,
    "EnableHWA": false,
    "EnableLog": true
  },
  "MsgUIItem": {
    "MainMsgFilter": "",
    "AutoRefresh": true
  },
  "UiItem": {
    "EnableAutoAdjustMainLvColWidth": true,
    "EnableUpdateSubOnlyRemarksExist": false,
    "MainWidth": 983,
    "MainHeight": 730,
    "MainGirdHeight1": 319,
    "MainGirdHeight2": 271,
    "MainGirdOrientation": 1,
    "ColorPrimaryName": null,
    "CurrentTheme": null,
    "CurrentLanguage": "zh-Hans",
    "CurrentFontFamily": null,
    "CurrentFontSize": 0,
    "EnableDragDropSort": false,
    "DoubleClick2Activate": true,
    "AutoHideStartup": false,
    "Hide2TrayWhenClose": false,
    "MainColumnItem": [
      {
        "Name": "ConfigType",
        "Width": 80,
        "Index": 0
      },
      {
        "Name": "Remarks",
        "Width": 150,
        "Index": 1
      },
      {
        "Name": "Address",
        "Width": 120,
        "Index": 2
      },
      {
        "Name": "Port",
        "Width": 60,
        "Index": 3
      },
      {
        "Name": "Network",
        "Width": 100,
        "Index": 4
      },
      {
        "Name": "StreamSecurity",
        "Width": 100,
        "Index": 5
      },
      {
        "Name": "SubRemarks",
        "Width": 100,
        "Index": 6
      },
      {
        "Name": "DelayVal",
        "Width": 100,
        "Index": 7
      },
      {
        "Name": "SpeedVal",
        "Width": 100,
        "Index": 8
      },
      {
        "Name": "TodayUp",
        "Width": -1,
        "Index": 9
      },
      {
        "Name": "TodayDown",
        "Width": -1,
        "Index": 10
      },
      {
        "Name": "TotalUp",
        "Width": -1,
        "Index": 11
      },
      {
        "Name": "TotalDown",
        "Width": -1,
        "Index": 12
      }
    ],
    "ShowInTaskbar": true
  },
  "ConstItem": {
    "SubConvertUrl": null,
    "GeoSourceUrl": null,
    "SrsSourceUrl": null,
    "RouteRulesTemplateSourceUrl": null
  },
  "SpeedTestItem": {
    "SpeedTestTimeout": 10,
    "SpeedTestUrl": "https://speed.cloudflare.com/__down?bytes=100000000",
    "SpeedPingTestUrl": "https://www.google.com/generate_204",
    "SpeedTestPageSize": 0
  },
  "Mux4RayItem": {
    "Concurrency": 8,
    "XudpConcurrency": 16,
    "XudpProxyUDP443": "reject"
  },
  "Mux4SboxItem": {
    "Protocol": "h2mux",
    "MaxConnections": 8,
    "Padding": null
  },
  "HysteriaItem": {
    "UpMbps": 100,
    "DownMbps": 100
  },
  "ClashUIItem": {
    "RuleMode": 0,
    "EnableIPv6": false,
    "EnableMixinContent": false,
    "ProxiesSorting": 0,
    "ProxiesAutoRefresh": false,
    "ProxiesAutoDelayTestInterval": 10,
    "ConnectionsAutoRefresh": false,
    "ConnectionsRefreshInterval": 2
  },
  "SystemProxyItem": {
    "SysProxyType": 0,
    "SystemProxyExceptions": "localhost;127.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.21.*;172.22.*;172.23.*;172.24.*;172.25.*;172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;192.168.*",
    "NotProxyLocalAddress": true,
    "SystemProxyAdvancedProtocol": null
  },
  "WebDavItem": {
    "Url": null,
    "UserName": null,
    "Password": null,
    "DirName": null
  },
  "CheckUpdateItem": {
    "CheckPreReleaseUpdate": false,
    "SelectedCoreTypes": null
  },
  "Fragment4RayItem": {
    "Packets": "tlshello",
    "Length": "100-200",
    "Interval": "10-20"
  },
  "Inbound": [
    {
      "LocalPort": 10808,
      "Protocol": "socks",
      "UdpEnabled": true,
      "SniffingEnabled": true,
      "DestOverride": [
        "http",
        "tls"
      ],
      "RouteOnly": false,
      "AllowLANConn": false,
      "NewPort4LAN": false,
      "User": "",
      "Pass": "",
      "SecondLocalPortEnabled": false
    }
  ],
  "GlobalHotkeys": null,
  "CoreTypeItem": [
    {
      "ConfigType": 1,
      "CoreType": 2
    },
    {
      "ConfigType": 2,
      "CoreType": 2
    },
    {
      "ConfigType": 3,
      "CoreType": 2
    },
    {
      "ConfigType": 4,
      "CoreType": 2
    },
    {
      "ConfigType": 5,
      "CoreType": 2
    },
    {
      "ConfigType": 6,
      "CoreType": 2
    },
    {
      "ConfigType": 7,
      "CoreType": 2
    },
    {
      "ConfigType": 8,
      "CoreType": 2
    },
    {
      "ConfigType": 9,
      "CoreType": 2
    },
    {
      "ConfigType": 10,
      "CoreType": 2
    }
  ]
}      

@2dust
Copy link
Owner

2dust commented Feb 4, 2025

Xray core 版本号多少?
你说的闪退,是 v2rayN 退出了还是 core 退出了?
下次发生后查看下进程,v2rayN 和 core 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants