Tencent / libpag

The official rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms.
https://pag.io
Other
5.03k stars 459 forks source link

出现一个anr #1772

Open liuyuesheng opened 1 year ago

liuyuesheng commented 1 year ago

"main" prio=5 tid=1 Native | group="main" sCount=1 ucsCount=0 flags=1 obj=0x71d973d8 self=0xb400007c40c42c00 | sysTid=28076 nice=-20 cgrp=top-app sched=1073741825/1 handle=0x7ce190d4f8 | state=S schedstat=( 4211946737623 203634763993 6536945 ) utm=323941 stm=97253 core=3 HZ=100 | stack=0x7fc1a8f000-0x7fc1a91000 stackSize=8188KB | held mutexes= native: #00 pc 0000000000089630 /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32) (BuildId: 2e2fc76e249d55958dfc0c7378b9ff3b) native: #01 pc 000000000008e018 /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile, bool, int, bool, timespec const)+148) (BuildId: 2e2fc76e249d55958dfc0c7378b9ff3b) native: #02 pc 00000000000f6620 /apex/com.android.runtime/lib64/bionic/libc.so (NonPI::MutexLockWithTimeout(pthread_mutex_internal_t, bool, timespec const)+352) (BuildId: 2e2fc76e249d55958dfc0c7378b9ff3b) native: #03 pc 00000000000f6324 /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+224) (BuildId: 2e2fc76e249d55958dfc0c7378b9ff3b) native: #04 pc 0000000000218654 /data/app/~~SP0spV_TxCf51pvFGEqNw==/com.meizu.mstore-wuuWMAdgz-ex278p8B3dw==/lib/arm64/libpag.so (???) (BuildId: cd4ab68341f372634220a1af5a0fff348a052e72) native: #05 pc 000000000009b8e8 /data/app/~~SP0spV_TxCf51pvFGEqNw==/com.meizu.mstore-wuuWMAdgz-ex278p8B3dw==/lib/arm64/libpag.so (pag::PAGPlayer::setComposition(std::__ndk1::shared_ptr)+80) (BuildId: cd4ab68341f372634220a1af5a0fff348a052e72) native: #06 pc 00000000000fee4c /data/app/~~SP0spV_TxCf51pvFGEqNw==/com.meizu.mstore-wuuWMAdgz-ex278p8B3dw==/lib/arm64/libpag.so (Java_org_libpag_PAGPlayer_setComposition+136) (BuildId: cd4ab68341f372634220a1af5a0fff348a052e72) native: #07 pc 000000000021a354 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 21cdec58d836b96df5a87c25ec6cd8fa) native: #08 pc 00000000026aa99c /memfd:jit-cache (deleted) (offset 2000000) (org.libpag.PAGView.setComposition+140) native: #09 pc 00000000026e0564 /memfd:jit-cache (deleted) (offset 2000000) (org.libpag.PAGView.setPath+420) native: #10 pc 00000000026a4de0 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.cloud.app.widget.LoadDataView.r+656) native: #11 pc 00000000026acbc0 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.ir2.showEmptyView+592) native: #12 pc 000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 21cdec58d836b96df5a87c25ec6cd8fa) native: #13 pc 0000000000ebc21a /data/app/~~SP0spV_TxCf51pvFGEqNw==/com.meizu.mstore-wuuWMAdgz-ex278p8B3dw==/oat/arm64/base.vdex (com.meizu.flyme.policy.sdk.ir2.showEmptyView+2) native: #14 pc 000000000275ffe4 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.ir2.showEmptyView+228) native: #15 pc 000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 21cdec58d836b96df5a87c25ec6cd8fa) native: #16 pc 0000000000ebc1fe /data/app/~~SP0spV_TxCf51pvFGEqNw==/com.meizu.mstore-wuuWMAdgz-ex278p8B3dw==/oat/arm64/base.vdex (com.meizu.flyme.policy.sdk.ir2.showEmptyView+6) native: #17 pc 000000000241498c /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.ir2.setData+268) native: #18 pc 00000000026fa454 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.f83.setData+68) native: #19 pc 00000000025d6c70 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.h83$a.a+224) native: #20 pc 0000000002715864 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.h83$a.onNext+148) native: #21 pc 000000000252e670 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.f24$a.c+688) native: #22 pc 0000000002088080 /memfd:jit-cache (deleted) (offset 2000000) (com.meizu.flyme.policy.sdk.cw3$b.run+112) at org.libpag.PAGPlayer.setComposition(Native method) at org.libpag.PAGView.setComposition(SourceFile:3) at org.libpag.PAGView.setPath(SourceFile:4)

chauncyfeng commented 6 months ago

什么原因?