Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: 导入成就时出现错误程序崩溃 #2307

Closed
1 task done
CreamPig233 opened this issue Dec 22, 2024 · 5 comments
Closed
1 task done

[Bug]: 导入成就时出现错误程序崩溃 #2307

CreamPig233 opened this issue Dec 22, 2024 · 5 comments
Labels
area-Achievement 成就管理 已完成 This issue is completed
Milestone

Comments

@CreamPig233
Copy link

CreamPig233 commented Dec 22, 2024

Windows 版本

26100.2605

Snap Hutao 版本

1.12.8.0

设备 ID

No response

问题分类

成就管理

发生了什么?

背景说明:已开启代理工具,使用TUN模式,此时Hutao可正常联网

复现过程:
1.正常启动hutao
2.loopback提示窗口点击取消
3.关闭主窗口
4.打开YaeAchievement,导入成就
【! 此时未显示导入成就窗口】
5.loopback提示窗口点击取消
6.关闭主窗口
7.打开YaeAchievement,导入成就
8.发生崩溃

2024-12-22.12-52-31.mp4

Image

Snap Hutao 1.12.8.0
Windows 10.0.26100.2605
System Architecture: X64
Process Architecture: X64
Framework: .NET 9.0.0

Exception Data:
[string]:Description:某个异步操作没有正常启动。

[string]:RestrictedDescription:Only a single ContentDialog can be open at any time.
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
[bool]:__HasRestrictedLanguageErrorObject:False

System.Runtime.InteropServices.COMException (0x80000019): 某个异步操作没有正常启动。

Only a single ContentDialog can be open at any time.
at WinRT.ExceptionHelpers.g__Throw|38_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.Controls.IContentDialogMethods.ShowAsync(IObjectReference _obj)
at Microsoft.UI.Xaml.Controls.ContentDialog.ShowAsync()
at Snap.Hutao.Factory.ContentDialog.ContentDialogQueue.<>c__DisplayClass9_0.<b__0>d.MoveNext() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogQueue.cs:line 38
--- End of stack trace from previous location ---
at Snap.Hutao.Factory.ContentDialog.ContentDialogFactory.CreateForConfirmCancelAsync(String title, String content, ContentDialogButton defaultButton) in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 55
at Snap.Hutao.ViewModel.TitleViewModel.CheckProxyAndLoopbackAsync() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 198
at Snap.Hutao.ViewModel.TitleViewModel.LoadOverrideAsync() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 68
at Snap.Hutao.ViewModel.Abstraction.ViewModel.LoadAsync() in C:\Users\Public\appveyor\Snap.Hutao-356hyp21t1wc7wck\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 46
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b__0()

你期望发生的行为?

猜测是loopback窗口与成就导入窗口发生冲突;

预期成果为两窗口不冲突,且成就可以成功导入

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@CreamPig233 CreamPig233 added the priority:none Priority not set label Dec 22, 2024
@dgp-bot dgp-bot bot added the area-Achievement 成就管理 label Dec 22, 2024
Copy link

Probable Similar Topics

  1. 54% [Bug]: 导入成就窗口错误的程序语言 #617

@Mikachu2333
Copy link
Collaborator

坏消息,更新弹窗一样可以导致此种类型的崩溃

@DGP-Studio DGP-Studio deleted a comment from Mikachu2333 Dec 22, 2024
@dgp-bot
Copy link

dgp-bot bot commented Dec 22, 2024

0d77290 已完成此议题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Dec 22, 2024
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Dec 22, 2024
@dgp-bot dgp-bot bot moved this to 完成 in Snap Hutao Development Dec 22, 2024
@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
Copy link

github-actions bot commented Feb 8, 2025

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
area-Achievement 成就管理 已完成 This issue is completed
Projects
Development

No branches or pull requests

2 participants