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]: 黑色窗口一闪而过,无法启动 #2339

Closed
1 task done
tagaga opened this issue Jan 3, 2025 · 17 comments
Closed
1 task done

[Bug]: 黑色窗口一闪而过,无法启动 #2339

tagaga opened this issue Jan 3, 2025 · 17 comments
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Milestone

Comments

@tagaga
Copy link

tagaga commented Jan 3, 2025

Windows 版本

windows11 2024H2

Snap Hutao 版本

1.12.8

设备 ID

No response

问题分类

安装和环境

发生了什么?

弹出这样一个窗口:
Image

windows日志:
出错应用程序名称: Snap.Hutao.exe,版本: 1.0.0.0,时间戳: 0x67200000 (最新的胡桃,但是这里显示是1.0.0.0)
出错模块名称: ntdll.dll, 版本: 10.0.26100.2454,时间戳: 0x7cb6b6a8
异常代码: 0xc00000fd
错误偏移: 0x0000000000163df7
出错进程 ID: 0x1508
出错应用程序开始时间: 0x1DB5DBE4B569C4E
Faulting 应用程序路径: C:\Program Files\WindowsApps\60568DGPStudio.SnapHutao_1.12.8.0_x64__wbnnev551gwxy\Snap.Hutao.exe
Faulting 模块路径: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: dd0e4a9b-09a9-4b65-a0e7-4cb74e52dad5
Faulting 包全名: 60568DGPStudio.SnapHutao_1.12.8.0_x64__wbnnev551gwxy
Faulting 程序包相对应用程序 ID: App 个

谁能帮我看看怎么回事,上一个版本都是可以的,折腾一天了,需要安装的第三方的包都已经安装了

你期望发生的行为?

希望窗口不消失,正常显示其中的内容

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@tagaga tagaga added the priority:none Priority not set label Jan 3, 2025
@dgp-bot dgp-bot bot added the area-LifeCycle App生命周期问题 label Jan 3, 2025
@Lightczx
Copy link
Member

Lightczx commented Jan 3, 2025

信息不全

@Lightczx Lightczx closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jan 3, 2025
@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

还需要补充什么信息?

@Lightczx
Copy link
Member

Lightczx commented Jan 3, 2025

Windows 版本 未按格式填写
设备 ID 没填
提供的日志完全无用

@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

版本 Windows 11 专业工作站版
版本号 24H2
安装日期 ‎2024/‎10/‎8
操作系统版本 26100.2605
体验 Windows 功能体验包 1000.26100.36.0

@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

Windows 版本 未按格式填写 设备 ID 没填 提供的日志完全无用

hutao自己的运行日志在什么目录,我没找到呀? 只看到windows日志有报错

@Mikachu2333
Copy link
Collaborator

下载本程序 https://github.com/DGP-Automation/ISSUE_TEMPLATES/releases/download/diagnosis_tools/Snap.Hutao.Diagnostic.Tooling.exe 并运行,发送程序生成的文件即可

@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

Generated by Snap Hutao Diagnosis Tool

Windows version: 10.0.26100.2605
Public IP: 117.150.117.234
Your machine id: A13873FDBA23255FDB8613211A7FB1D2

@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

这个就是生成文件的内容,谢谢

@Mikachu2333
Copy link
Collaborator

Image

@Lightczx
Copy link
Member

Lightczx commented Jan 3, 2025

不要运行老版本胡桃

@tagaga
Copy link
Author

tagaga commented Jan 3, 2025

Image

这个不是上面黑框的版本的日志,1.8.4的版本下午已经卸载了

@tagaga
Copy link
Author

tagaga commented Jan 4, 2025

逐个版本试了一下,分界线在1.12.4.自从1.12.4安装后就显示黑框退出,1.12.3都是好的,安装后能够正常显示
Image

@tagaga
Copy link
Author

tagaga commented Jan 4, 2025

hutaoerror.log
打开1.12.3的debug console,升级到1.12.8,无法进入界面,报错日志参见附件

@tagaga
Copy link
Author

tagaga commented Jan 4, 2025

2025-01-04 11:41:14.278 fail: Snap.Hutao.UI.Xaml.View.TitleView[0]
Failed to initialize DataContext
System.Runtime.InteropServices.COMException (0x800706F4): 向占位程序传送了空的索引指针。 (0x800706F4)
at Snap.Hutao.Core.IO.Http.Loopback.LoopbackSupport.Initialize(String& containerStringSid) in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Loopback\LoopbackSupport.cs:line 46
at Snap.Hutao.Core.IO.Http.Loopback.LoopbackSupport..ctor() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\Core\IO\Http\Loopback\LoopbackSupport.cs:line 23
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)

@tagaga
Copy link
Author

tagaga commented Jan 4, 2025

2025-01-04 11:48:18.613 fail: Snap.Hutao.Core.LifeCycle.AppActivation[0]
SafeForget:
Exception Data:
[string]:Description:无法找到与此错误代码关联的文本。

  [string]:RestrictedDescription:Cannot create instance of type 'Snap.Hutao.UI.Xaml.View.TitleView' [Line: 0 Position: 0]
  [string]:RestrictedErrorReference:
  [string]:RestrictedCapabilitySid:
  [WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
  [bool]:__HasRestrictedLanguageErrorObject:False
  ----------------------------------------
  Microsoft.UI.Xaml.Markup.XamlParseException: 无法找到与此错误代码关联的文本。

  Cannot create instance of type 'Snap.Hutao.UI.Xaml.View.TitleView' [Line: 0 Position: 0]
     at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
     at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
     at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
     at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
     at Snap.Hutao.UI.Xaml.View.Window.MainWindow.InitializeComponent() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\obj\x64\Release\net9.0-windows10.0.26100.0\win-x64\UI\Xaml\View\Window\MainWindow.g.i.cs:line 39
     at Snap.Hutao.UI.Xaml.View.Window.MainWindow..ctor(IServiceProvider serviceProvider) in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Window\MainWindow.xaml.cs:line 23

@Lightczx Lightczx reopened this Jan 4, 2025
@dgp-bot dgp-bot bot added the priority:none Priority not set label Jan 4, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 4, 2025

3e7ec03 已完成此议题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Jan 4, 2025
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jan 4, 2025
@dgp-bot dgp-bot bot moved this to 完成 in Snap Hutao Development Jan 4, 2025
@dgp-bot dgp-bot bot added this to the 1.13.0 milestone Jan 8, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 8, 2025

包含解决该问题的程序版本 1.13.0 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Projects
Development

No branches or pull requests

3 participants