Tencent / Tencent/libpag

4.3.57版本概率出现释放卡死导致进程无响应

Open
#2,322 14 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since May 24, 2024.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.3.57

【平台信息】

Android 原生

【预期的表现】

onCancel阶段设置progress为0

【实际的情况】

05-23 20:40:43.080 2204 2259 E AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon
05-23 20:40:43.080 2204 2259 E AndroidRuntime: Process: , PID: 2204
05-23 20:40:43.080 2204 2259 E AndroidRuntime: java.util.concurrent.TimeoutException: org.libpag.PAGAnimator.finalize() timed out after 10 seconds
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGAnimator.setProgress(Native Method)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGView.setProgress(SourceFile:2)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at com.
.settings_ui.fragment.$adapter$2$1$1$playAnimation$1.onAnimationCancel(.kt:163)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGView.onAnimationCancel(SourceFile:5)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGAnimator.onAnimationCancel(SourceFile:3)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGAnimator.nativeFinalize(Native Method)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at org.libpag.PAGAnimator.finalize(SourceFile:1)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:289)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:276)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at java.lang.Daemons$Daemon.run(Daemons.java:137)
05-23 20:40:43.080 2204 2259 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)
05-23 20:40:22.878 802 1460 I InputDispatcher: Application is not responding: Window{df30193 u0

【Demo及附件】

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.