AdguardTeam / AdguardTeam/AdGuardVPNForWindows

GUI crashes after reinstall drivers or after graphic card replacement

Ouverte
#466 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Bug Priority: P4
Langage dominant
Aucune donnée de langage
Étoiles
207
Forks
19
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Please answer the following questions for yourself before submitting an issue.

- [X] I am running the latest version
- [X] I checked the documentation and found no answer
- [X] I checked to make sure that this issue has not already been filed

### AdGuard VPN version

2.1 n23

### Operating mode

VPN

### Environment

```markdown
- OS: Windows 10
- Other network-level software: no
```

### Issue Details

Steps to reproduce:
1. Run AdGuard VPN

### Expected Behavior

App works.

### Actual Behavior

GUI crashes on app start.

### Screenshots

_No response_

### Additional Information

Log:

Details

```
VERBOSE, AdGuardVpn.exe, Logger, 1, 09.07.2023 20:34:05.954, AdjustTwoComponentLanguage: from en
VERBOSE, AdGuardVpn.exe, Logger, 1, 09.07.2023 20:34:05.960, AdjustTwoComponentLanguage: to en
ERROR, AdGuardVpn.exe, Logger, 1, 09.07.2023 20:34:06.009, Unhandled exception: System.Configuration.ConfigurationErrorsException: Система конфигурации не прошла инициализацию
Source: System.Configuration
Data key System.Object:
Stack trace: в System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
в System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
в System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
в System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
в System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
в System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
в System.Configuration.ConfigurationManager.GetSection(String sectionName)
в System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
в System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
в System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
в System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
в System.Configuration.SettingsBase.get_Item(String propertyName)
в System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
в System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
в iCV0deOtNVOoIZo4pNr.XIcuOCjkoW(Object , String , iCV0deOtNVOoIZo4pNr )
в AdGuardVpn.Properties.Settings.get_LanguageCode()
в AdGuardVpn.App.B49e2c98A1Qv290vOD5U(Object )
в AdGuardVpn.App.wpABEQSBJB()
в AdGuardVpn.App.OnStartup(StartupEventArgs e)
в System.Windows.Application.<.ctor>b__1_0(Object unused)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

System.Configuration.ConfigurationErrorsException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 9, позиция 1. (C:\Users\Alex\AppData\Local\Adguard_Software_Limited\AdGuardVpn.exe_StrongName_dcjvqv4mwhaksv3lahul52a3q4k4nm25\2.1.939.0\user.config line 9)
Source: System.Configuration
Stack trace: в System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
в System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
в System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
в System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)

System.Xml.XmlException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 9, позиция 1.
Source: System.Xml
Stack trace: в System.Xml.XmlTextReaderImpl.Throw(Exception e)
в System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
в System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
в System.Xml.XmlTextReaderImpl.ParseText()
в System.Xml.XmlTextReaderImpl.ParseElementContent()
в System.Xml.XmlTextReaderImpl.Read()
в System.Xml.XmlTextReader.Read()
в System.Configuration.XmlUtil.StrictReadToNextElement(ExceptionAction action)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
в System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

.
ERROR, AdGuardVpn.exe, Logger, 1, 09.07.2023 20:34:06.014, Unhandled exception event raised. Sender=Имя:AdGuardVpn.exe
Политики контекста отсутствуют.
Exception=System.Configuration.ConfigurationErrorsException: Система конфигурации не прошла инициализацию
Source: System.Configuration
Data key System.Object:
Stack trace: в System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
в System.Configuration.Internal.InternalConfigRoot.OnConfigRemoved(InternalConfigEventArgs e)
в System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
в System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
в System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
в System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
в System.Configuration.ConfigurationManager.GetSection(String sectionName)
в System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
в System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
в System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
в System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
в System.Configuration.SettingsBase.get_Item(String propertyName)
в System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
в System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
в iCV0deOtNVOoIZo4pNr.XIcuOCjkoW(Object , String , iCV0deOtNVOoIZo4pNr )
в AdGuardVpn.Properties.Settings.get_LanguageCode()
в AdGuardVpn.App.B49e2c98A1Qv290vOD5U(Object )
в AdGuardVpn.App.wpABEQSBJB()
в AdGuardVpn.App.OnStartup(StartupEventArgs e)
в System.Windows.Application.<.ctor>b__1_0(Object unused)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
в System.Windows.Threading.DispatcherOperation.InvokeImpl()
в System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
в System.Windows.Threading.DispatcherOperation.Invoke()
в System.Windows.Threading.Dispatcher.ProcessQueue()
в System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
в System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
в MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
в System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
в System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
в System.Windows.Application.RunDispatcher(Object ignore)
в System.Windows.Application.RunInternal(Window window)
в System.Windows.Application.Run(Window window)
в System.Windows.Application.Run()
в RjdsIqOYyqKTgmUHLnG.XIcuOCjkoW(Object , RjdsIqOYyqKTgmUHLnG )
в AdGuardVpn.App.Main()

System.Configuration.ConfigurationErrorsException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 9, позиция 1. (C:\Users\Alex\AppData\Local\Adguard_Software_Limited\AdGuardVpn.exe_StrongName_dcjvqv4mwhaksv3lahul52a3q4k4nm25\2.1.939.0\user.config line 9)
Source: System.Configuration
Stack trace: в System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
в System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
в System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
в System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)

System.Xml.XmlException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 9, позиция 1.
Source: System.Xml
Stack trace: в System.Xml.XmlTextReaderImpl.Throw(Exception e)
в System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
в System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
в System.Xml.XmlTextReaderImpl.ParseText()
в System.Xml.XmlTextReaderImpl.ParseElementContent()
в System.Xml.XmlTextReaderImpl.Read()
в System.Xml.XmlTextReader.Read()
в System.Configuration.XmlUtil.StrictReadToNextElement(ExceptionAction action)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
в System.Configuration.BaseConfigurationRecord.InitConfigFromFile()

```

Full log is in chat, search by `https://github.com/AdguardTeam/AdGuardVPNForWindows/issues/466`

Config file with an error, mentioned in the log:

[user.config.zip](https://github.com/AdguardTeam/AdGuardVPNForWindows/files/11995953/user.config.zip)

After removing this file, next app launch is successful.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.