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

偶尔会出现 Worker Panic #76

Closed
kkocdko opened this issue Sep 12, 2022 · 2 comments · Fixed by #79
Closed

偶尔会出现 Worker Panic #76

kkocdko opened this issue Sep 12, 2022 · 2 comments · Fixed by #79
Labels
bug Something isn't working

Comments

@kkocdko
Copy link
Contributor

kkocdko commented Sep 12, 2022

thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 1 but the index is 1', /home/kkocdko/.cargo/git/checkouts/ricq-6bb4bd71a72b13ed/bd07155/ricq-core/src/msg/elem/market_face.rs:92:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

不清楚怎样触发,版本是 commit bd07155。也许加个判断就好了吧?

@lz1998 lz1998 added the bug Something isn't working label Sep 12, 2022
@kkocdko kkocdko changed the title 偶尔会出现 Wroker Panic 偶尔会出现 Worker Panic Sep 12, 2022
@lz1998
Copy link
Owner

lz1998 commented Sep 24, 2022

thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 1 but the index is 1', /home/kkocdko/.cargo/git/checkouts/ricq-6bb4bd71a72b13ed/bd07155/ricq-core/src/msg/elem/market_face.rs:92:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

不清楚怎样触发,版本是 commit bd07155。也许加个判断就好了吧?

应该是骰子有问题,可以看下能不能稳定复现

kkocdko added a commit to kkocdko/ricq that referenced this issue Oct 4, 2022
@kkocdko
Copy link
Contributor Author

kkocdko commented Oct 4, 2022

这本质上是一个 QQ 客户端的 Bug。在 Android TIM 3.4.7 上,长按转发一个已有的正常骰子,有一定概率变成没有值的骰子。转发一个没有值的骰子,没有值的状态保持不变。

没有值的骰子在某些旧版客户端会显示为旋转动画不停止(转个没完),在新版客户端始终显示为 1 点。

@lz1998 lz1998 closed this as completed in #79 Oct 4, 2022
lz1998 pushed a commit that referenced this issue Oct 4, 2022
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

Successfully merging a pull request may close this issue.

2 participants