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]: 網頁快取重新整理祈願記錄導致閃退或報錯 #2413

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

[Bug]: 網頁快取重新整理祈願記錄導致閃退或報錯 #2413

JackyHe398 opened this issue Jan 31, 2025 · 4 comments
Labels
area-Gacha 祈愿记录 priority:none Priority not set

Comments

@JackyHe398
Copy link

Windows 版本

19045.5371

Snap Hutao 版本

1.13.1.0

设备 ID

89F21757422AB8B30123F0F7310BA350

问题分类

祈愿记录

发生了什么?

開了游戲内祈願記錄,然後按了snap hutao裏面的【網頁快取重新整理】后:

  1. snap hutao 主視窗閃退/退出(不知道是不是正常的)
  2. 出現全白無資訊視窗
    Image
  3. 全白無資訊視窗也閃退
  4. window tray也退出
  5. 工作管理員進程消失

重複幾次之後有其中一次有報錯畫面:
Image
Image

重開有機率snap hutao畫面凍結,要在工作管理員退出進程。祈願記錄也沒有更新。

另外試了一下,不論開/不開游戲内祈願記錄,開/不開游戲的情況下也會有上述情況

你期望发生的行为?

正常更新祈願記錄

最后一步

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

dgp-bot bot commented Jan 31, 2025

device_id: 89F21757422AB8B30123F0F7310BA350

Exception Data:
----------------------------------------
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
   at System.IO.Stream.ReadExactly(Span`1 buffer)
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.Match(MemoryStream stream, Boolean isOversea) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 99
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.GetQueryAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 73
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOptionKind optionKind) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 146
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshByWebCacheAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 128
   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.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
   at System.IO.Stream.ReadExactly(Span`1 buffer)
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.Match(MemoryStream stream, Boolean isOversea) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 99
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.GetQueryAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 73
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOptionKind optionKind) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 146
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshByWebCacheAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 128
   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.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
   at System.IO.Stream.ReadExactly(Span`1 buffer)
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.Match(MemoryStream stream, Boolean isOversea) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 99
   at Snap.Hutao.Service.GachaLog.QueryProvider.GachaLogQueryWebCacheProvider.GetQueryAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\GachaLog\QueryProvider\GachaLogQueryWebCacheProvider.cs:line 73
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshCoreAsync(RefreshOptionKind optionKind) in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 146
   at Snap.Hutao.ViewModel.GachaLog.GachaLogViewModel.RefreshByWebCacheAsync() in C:\Users\Public\appveyor\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\GachaLog\GachaLogViewModel.cs:line 128
   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 the area-Gacha 祈愿记录 label Jan 31, 2025
@qhy040404
Copy link
Member

删除游戏内网页缓存后进游戏重进历史记录试试

@JackyHe398
Copy link
Author

試了,問題是一樣的,也是閃退,試第二次的時候有報錯畫面。如果不開游戲也閃退那應該不是緩存的問題?

Image

Image

@zbh531
Copy link

zbh531 commented Jan 31, 2025

同,国际服

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Gacha 祈愿记录 priority:none Priority not set
Projects
None yet
Development

No branches or pull requests

3 participants