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]: 修复游戏进度条卡住 #2327

Open
1 task done
3242859343 opened this issue Jan 1, 2025 · 4 comments
Open
1 task done

[Bug]: 修复游戏进度条卡住 #2327

3242859343 opened this issue Jan 1, 2025 · 4 comments
Assignees
Labels
area-GameLauncher 游戏启动器 无法稳定复现 can't be reproduced

Comments

@3242859343
Copy link

Windows 版本

26100.2605

Snap Hutao 版本

1.12.8.0

设备 ID

0957BFDCD6A2670F7EF8BEFE44B5A11B

问题分类

其它

发生了什么?

修复游戏磁盘进度条卡99.21%

你期望发生的行为?

No response

最后一步

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

This comment has been minimized.

@dgp-bot dgp-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2025
@dgp-bot dgp-bot bot added the 需要更多信息 需要提交更多信息 label Jan 1, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 1, 2025

device_id: 0957BFDCD6A2670F7EF8BEFE44B5A11B

Exception Data:
----------------------------------------
System.ArgumentNullException: Value cannot be null. (Parameter 'reference.Window')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Snap.Hutao.Core.LifeCycle.CurrentXamlWindowReferenceExtension.GetXamlRoot(ICurrentXamlWindowReference reference) in C:\Users\Public\appveyor\Snap.Hutao-c53280n3iveyayo5\src\Snap.Hutao\Snap.Hutao\Core\LifeCycle\CurrentXamlWindowReferenceExtension.cs:line 14
   at Snap.Hutao.Factory.ContentDialog.ContentDialogFactory.CreateInstanceAsync[TContentDialog](Object[] parameters) in C:\Users\Public\appveyor\Snap.Hutao-c53280n3iveyayo5\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 83
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in C:\Users\Public\appveyor\Snap.Hutao-c53280n3iveyayo5\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 87
   at Snap.Hutao.ViewModel.TitleViewModel.LoadOverrideAsync() in C:\Users\Public\appveyor\Snap.Hutao-c53280n3iveyayo5\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 66
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.LoadAsync() in C:\Users\Public\appveyor\Snap.Hutao-c53280n3iveyayo5\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 47
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.IO.IOException: The process cannot access the file 'C:\Users\eee\Documents\Hutao\UpdateCache\Snap.Hutao.msix' because it is being used by another process.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.OpenRead(String path)
   at Snap.Hutao.Core.IO.Hashing.SHA256.HashFileAsync(String filePath, CancellationToken token) in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\Core\IO\Hashing\SHA256.cs:line 15
   at Snap.Hutao.Service.Update.UpdateService.CheckUpdateCacheSHA256Async(String filePath, String remoteHash, CancellationToken token) in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 120
   at Snap.Hutao.Service.Update.UpdateService.CheckUpdateAsync(IProgress`1 progress, CancellationToken token) in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\Service\Update\UpdateService.cs:line 73
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 85
   at Snap.Hutao.ViewModel.TitleViewModel.LoadOverrideAsync() in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 69
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.LoadAsync() in C:\Users\Public\appveyor\Snap.Hutao-pae07j2s3mjj4pau\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 48
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@dgp-bot dgp-bot bot added needs-triage 需要诊断问题类型 and removed 需要更多信息 需要提交更多信息 priority:none Priority not set needs-triage 需要诊断问题类型 labels Jan 1, 2025
@3242859343 3242859343 changed the title [Bug]: 在这里填写一个合适的标题 [Bug]: 修复游戏进度条卡住 Jan 1, 2025
@dgp-bot dgp-bot bot reopened this Jan 1, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 1, 2025

标题已经修改

@dgp-bot dgp-bot bot added the needs-triage 需要诊断问题类型 label Jan 1, 2025
@Lightczx Lightczx added area-GameLauncher 游戏启动器 and removed needs-triage 需要诊断问题类型 labels Jan 1, 2025
@qhy040404 qhy040404 added the 无法稳定复现 can't be reproduced label Jan 1, 2025
@qhy040404
Copy link
Member

需要打开调试控制台并获取卡住时的log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-GameLauncher 游戏启动器 无法稳定复现 can't be reproduced
Projects
None yet
Development

No branches or pull requests

3 participants