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

4.6.32版本在下滑加载首页内容过程中极大概率闪退 #669

Closed
Benjamin23333 opened this issue Jun 10, 2024 · 8 comments
Closed
Assignees
Labels
bug Something isn't working 已完成
Milestone

Comments

@Benjamin23333
Copy link

Bug 描述

4.6.32版本在下滑刷新首页过程中极大概率闪退,以前的版本没出现过这个问题

操作步骤

打开应用,下挂以加载更多首页内容

期望结果

尽可能减少闪退的发生

截图

No response

日志

2024-06-10 16:32:45.7775|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/region/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008366&sign={hasValue}|
2024-06-10 16:32:45.9783|INFO|2|StackTrace.CheckVersion|BiliLite.UWP version: 40632|
2024-06-10 16:32:45.9783|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://mirror.ghproxy.com/https://raw.githubusercontent.com/ywmoyue/biliuwp-lite/master/document/new_version.json?ts=1718008366 |
2024-06-10 16:32:46.0820|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://passport.bilibili.com/api/oauth2/info?appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008366&access_token={hasValue}&sign={hasValue}|
2024-06-10 16:32:46.0960|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008366&flush=0&idx=0&login_event=2&network=wifi&open_event=&pull=true&qn=32&style=2&sign={hasValue}|
2024-06-10 16:32:46.2908|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/account/mine?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008366&sign={hasValue}|
2024-06-10 16:32:46.4400|INFO|2|StackTrace.LogRequest|网络请求: [GET]http://app.biliapi.net/x/v2/space?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008366&vmid=12321900&sign={hasValue}|
2024-06-10 16:32:46.6315|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008367&flush=0&idx=1718008367&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-10 16:32:47.0896|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008367&flush=0&idx=1718008358&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-10 16:32:47.8603|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008368&flush=0&idx=1718008349&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-10 16:32:48.6654|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=27eb53fc9058f8c3&build=75900200&mobi_app=iphone&platform=android&ts=1718008369&flush=0&idx=1718008340&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-10 16:32:49.1481|ERROR|2|StackTrace.App_UnhandledException|程序运行出现错误|Object reference not set to an instance of an object.

已定位描述

No response

应用来源

Github/其他Github镜像站

安装方式

appx直接安装

其它来源

No response

系统版本

其它 (需注明)

其它系统版本

Windows11 23h2

设备类型

其他

设备架构

x64

应用架构

x64

备注

设备类型是零刻ser7迷你主机,用的amd 7840hs处理器

代码贡献

我更擅长发现问题

@Benjamin23333 Benjamin23333 added bug Something isn't working 待规划 labels Jun 10, 2024
@Benjamin23333 Benjamin23333 changed the title 4.6.32版本在下滑加载首页内绒过程中极大概率闪退 4.6.32版本在下滑加载首页内容过程中极大概率闪退 Jun 10, 2024
@ywmoyue
Copy link
Owner

ywmoyue commented Jun 10, 2024

#661

@Benjamin23333
Copy link
Author

#661

好的,我试下用手机短信验证码重新登录下

@ywmoyue
Copy link
Owner

ywmoyue commented Jun 12, 2024

@Benjamin23333 麻烦用该版本在复现问题后重新提供一下日志 https://github.com/ywmoyue/biliuwp-lite/releases/tag/v4.6.32.3301

@ywmoyue ywmoyue added this to the 待发布-4.6.33 milestone Jun 15, 2024
@Benjamin23333
Copy link
Author

@Benjamin23333 麻烦用该版本在复现问题后重新提供一下日志 https://github.com/ywmoyue/biliuwp-lite/releases/tag/v4.6.32.3301

您好,v4.6.32.3301,用了几天,用二维码重新登陆的,目前没有闪退现象

@Benjamin23333
Copy link
Author

@Benjamin23333 麻烦用该版本在复现问题后重新提供一下日志 https://github.com/ywmoyue/biliuwp-lite/releases/tag/v4.6.32.3301

最新版本有出现同样的问题了,这回试过用短信验证码登录也不行,版本4.6.33.3403,日志如下
2024-06-30 11:39:58.0104|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=1d8b6e7d45233436&build=75900200&mobi_app=android&platform=android&ts=1719718798&flush=0&idx=1719718746&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-30 11:39:58.9846|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?access_key={hasValue}&appkey=1d8b6e7d45233436&build=75900200&mobi_app=android&platform=android&ts=1719718799&flush=0&idx=1719718737&login_event=2&network=wifi&open_event=&pull=false&qn=32&style=2&sign={hasValue}|
2024-06-30 11:39:59.5171|ERROR|2|StackTrace.App_UnhandledException|程序运行出现错误|Object reference not set to an instance of an object.

@ywmoyue
Copy link
Owner

ywmoyue commented Jun 30, 2024

@Benjamin23333 是在下拉加载更多时发生的吗,还是在一进入这个页面就发生了

@ywmoyue
Copy link
Owner

ywmoyue commented Jun 30, 2024

@Benjamin23333 怪了,这个ViewModel中每个可能导致空引用的调用都有try-catch保护,https://github.com/ywmoyue/biliuwp-lite/blob/dev/src/BiliLite.UWP/ViewModels/Home/RecommendPageViewModel.cs

试试用脚本方式安装看还会不会出现问题,可能某些依赖缺失导致获取注入服务失败了
https://github.com/ywmoyue/biliuwp-lite/blob/dev/document/install-readme.md#%E8%BF%90%E8%A1%8C%E5%AE%89%E8%A3%85%E8%84%9A%E6%9C%AC

@Benjamin23333
Copy link
Author

@Benjamin23333 是在下拉加载更多时发生的吗,还是在一进入这个页面就发生了

首页下拉刷新内容的时候,闪退的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 已完成
Projects
None yet
Development

No branches or pull requests

2 participants