2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
68.4k stars 11.38k forks source link

[Bug]: 在arm设备上开启实时网络显示将导致软件无法启动 #3642

Closed s235784 closed 1 year ago

s235784 commented 1 year ago

预期情况

在arm设备上开启实时网络显示后软件应正常启动,并在界面右下角显示实时网速

实际情况

使用的版本:6.21 v2rayN-arm64

开启实时网络显示后,软件将无法正常启动,v2rayN主界面无响应,只能通过任务管理器强制停止。 该问题仅在6.21的arm64版本中出现,6.21的x64版本没有此问题(在arm设备上通过转义运行或在x64设备上运行)。

复现方法

打开v2rayN,依次打开 设置 参数设置,在 v2rayN设置 中开启 启用统计(实时网络显示,需要重启),然后退出v2rayN,重新启动软件

日志信息

2023-04-08 15:13:10.9884-INFO v2rayN start up | v2rayN - V6.21 - 2023/04/08 | D:\v2rayN\v2rayN.exe 2023-04-08 15:13:11.5919-DEBUG App_DispatcherUnhandledException,对类型“v2rayN.Views.MainWindow”的构造函数执行符合指定的绑定约束的调用时引发了异常。 2023-04-08 15:13:11.6029-DEBUG at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2023-04-08 15:13:11.6029-ERROR System.DllNotFoundException: Unable to load DLL 'grpc_csharp_ext.arm64' or one of its dependencies: 找不到指定的模块。 (0x8007007E)

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 1 year ago

是grpc在arm上的问题,暂时关闭速度显示 等待解决

2dust commented 1 year ago

https://github.com/2dust/v2rayN/releases/tag/6.22

yuhan6665 commented 1 year ago

研究了一下似乎是需要迁移 grpc core 至 grpc net client?https://grpc.io/blog/grpc-csharp-future/

2dust commented 1 year ago

研究了一下似乎是需要迁移 grpc core 至 grpc net client?https://grpc.io/blog/grpc-csharp-future/

确实有,迁移下先

2dust commented 1 year ago

v2rayN-arm64.zip

迁移了,请测试反馈