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]: 遇到了无法恢复的致命错误 #2200

Closed
4 tasks done
DMZ20010102 opened this issue Nov 20, 2024 · 3 comments
Closed
4 tasks done

[Bug]: 遇到了无法恢复的致命错误 #2200

DMZ20010102 opened this issue Nov 20, 2024 · 3 comments
Labels
area-LifeCycle App生命周期问题

Comments

@DMZ20010102
Copy link

检查清单

  • 我已阅读 Snap Hutao 文档中的常见问题常见程序异常,我的问题没有在文档中得到解答
  • 我知道文档站的导航栏中有搜索功能,且已经搜索过相关关键词
  • 我的问题不是已完成的问题也不是一个别人已发布的重复的问题

Windows 版本

26100.2314

Snap Hutao 版本

1.12.2.0

设备 ID

0B949BB4E2921772566F2177F0DF5EE9

问题分类

安装和环境

发生了什么?

打开胡桃时可以正常启动,
进入程序后发现各种模块不加载
Image
退出胡桃后发现遇到无法恢复的致命错误
Image
下方是Snap.Hutao Error Log.txt以及报错信息
Snap.Hutao Error Log.txt
Snap Hutao 1.12.2.0
Windows 10.0.26100.2314
System Architecture: X64
Process Architecture: X64
Framework: .NET 9.0.0

Exception Data:

System.Runtime.InteropServices.COMException (0x80070582): 类已存在。 (0x80070582)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Snap.Hutao.UI.Shell.NotifyIconMessageWindow..ctor() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMessageWindow.cs:line 46
at Snap.Hutao.UI.Shell.NotifyIconController..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 38
at InvokeStub_NotifyIconController..ctor(Object, Span1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func`2 valueFactory)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 159
at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 124
at WinRT.EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs.EventState.b__1_0(Object sender, WindowEventArgs args)
at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)

你期望发生的行为?

No response

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@DMZ20010102 DMZ20010102 added the priority:none Priority not set label Nov 20, 2024
@dgp-bot
Copy link

dgp-bot bot commented Nov 20, 2024

device_id: 0B949BB4E2921772566F2177F0DF5EE9

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070582): 类已存在。 (0x80070582)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMessageWindow..ctor() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMessageWindow.cs:line 46
   at Snap.Hutao.UI.Shell.NotifyIconController..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 38
   at InvokeStub_NotifyIconController..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 159
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 124
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070582): 类已存在。 (0x80070582)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMessageWindow..ctor() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMessageWindow.cs:line 46
   at Snap.Hutao.UI.Shell.NotifyIconController..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 38
   at InvokeStub_NotifyIconController..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 159
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 124
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80070582): 类已存在。 (0x80070582)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMessageWindow..ctor() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMessageWindow.cs:line 46
   at Snap.Hutao.UI.Shell.NotifyIconController..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 38
   at InvokeStub_NotifyIconController..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 159
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-b0gle226p0dq575m\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 124
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)

@dgp-bot dgp-bot bot added the area-LifeCycle App生命周期问题 label Nov 20, 2024
@Lightczx
Copy link
Member

#2198

@Lightczx Lightczx closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2024
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-LifeCycle App生命周期问题
Projects
None yet
Development

No branches or pull requests

2 participants