We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.3.18
Android 原生
正常播放pag动效,app不崩溃
调用PAGImageView的play()方法后app崩溃
【调用方法】
pagImageView.pause() pagImageView.setRepeatCount(1) pagImageView.setCacheAllFramesInMemory(false) val pagFile = getPAGFile() pagFile?.let { pagImageView.composition = pagFile pagImageView.play() }
【崩溃日志】
--------- beginning of crash 04-27 00:30:45.965 2275 27129 F libc : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xb40000779e6f1538) 04-27 00:30:49.575 2275 27129 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 27129 (tgfx_JNIEnviron), pid 2275 04-27 00:30:49.825 27320 27320 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 04-27 00:30:49.825 27320 27320 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 04-27 00:30:49.825 27320 27320 F DEBUG : ' 04-27 00:30:49.826 27320 27320 F DEBUG : x0 0000000000000000 x1 00000000000069f9 x2 0000000000000006 x3 00000076f5f98360 04-27 00:30:49.826 27320 27320 F DEBUG : x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f 04-27 00:30:49.826 27320 27320 F DEBUG : x8 00000000000000f0 x9 530477e1e63f6aeb x10 0000000000000000 x11 ffffffc0fffffbdf 04-27 00:30:49.826 27320 27320 F DEBUG : x12 0000000000000001 x13 0000004da7f9d696 x14 0039385629e70400 x15 0000000034155555 04-27 00:30:49.826 27320 27320 F DEBUG : x16 0000007a50007c80 x17 0000007a4ffe99f0 x18 000000774e2aebfb x19 00000000000008e3 04-27 00:30:49.826 27320 27320 F DEBUG : x20 00000000000069f9 x21 00000000ffffffff x22 00000000145fb150 x23 00000000145fb440 04-27 00:30:49.826 27320 27320 F DEBUG : x24 00000076f1d11014 x25 00000076f5f99000 x26 0000000000000000 x27 0000000000000043 04-27 00:30:49.826 27320 27320 F DEBUG : x28 00000076f5f99000 x29 00000076f5f983e0 04-27 00:30:49.826 27320 27320 F DEBUG : lr 0000007a4ff9d420 sp 00000076f5f98340 pc 0000007a4ff9d44c pst 0000000000000000 04-27 00:30:50.218 27320 27320 F DEBUG : backtrace: 04-27 00:30:50.218 27320 27320 F DEBUG : #00 pc 000000000004e44c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 8d0a10271eef02de6c33b788fec2db37) 04-27 00:30:50.218 27320 27320 F DEBUG : #1 pc 00000000000b15a8 /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+124) (BuildId: 8d0a10271eef02de6c33b788fec2db37) 04-27 00:30:50.218 27320 27320 F DEBUG : #2 pc 00000000000b0ba4 /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+52) (BuildId: 8d0a10271eef02de6c33b788fec2db37) 04-27 00:30:50.218 27320 27320 F DEBUG : #3 pc 00000000000b09fc /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+160) (BuildId: 8d0a10271eef02de6c33b788fec2db37) 04-27 00:30:50.218 27320 27320 F DEBUG : #4 pc 00000000002231b4 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.218 27320 27320 F DEBUG : #5 pc 00000000000de2dc /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (pag::PAGLayer::duration() const+68) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.218 27320 27320 F DEBUG : #6 pc 0000000000107ae4 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (Java_org_libpag_PAGLayer_duration+68) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.218 27320 27320 F DEBUG : #7 pc 000000000201dc6c /memfd:jit-cache (deleted) (offset 0x2000000) (art_jni_trampoline+124) 04-27 00:30:50.218 27320 27320 F DEBUG : #8 pc 00000000020249d8 /memfd:jit-cache (deleted) (offset 0x2000000) (org.libpag.PAGImageView.onAnimationUpdate+120) 04-27 00:30:50.218 27320 27320 F DEBUG : #9 pc 0000000002128d2c /memfd:jit-cache (deleted) (offset 0x2000000) (org.libpag.PAGAnimator.onAnimationUpdate+204) 04-27 00:30:50.218 27320 27320 F DEBUG : #10 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 608b016d7406f8b265b67f1420430d02) 04-27 00:30:50.218 27320 27320 F DEBUG : #11 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 608b016d7406f8b265b67f1420430d02) 04-27 00:30:50.218 27320 27320 F DEBUG : #12 pc 00000000005551e8 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgsart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+468) (BuildId: 608b016d7406f8b265b67f1420430d02) 04-27 00:30:50.218 27320 27320 F DEBUG : #13 pc 0000000000555388 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 608b016d7406f8b265b67f1420430d02) 04-27 00:30:50.218 27320 27320 F DEBUG : #14 pc 00000000003ab860 /apex/com.android.art/lib64/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+660) (BuildId: 608b016d7406f8b265b67f1420430d02) 04-27 00:30:50.219 27320 27320 F DEBUG : #15 pc 00000000000fd724 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #16 pc 0000000000101194 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #17 pc 000000000009a538 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #18 pc 000000000009aff8 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #19 pc 00000000001414d0 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #20 pc 00000000001417e8 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #21 pc 0000000000141f3c /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc) 04-27 00:30:50.219 27320 27320 F DEBUG : #22 pc 00000000000afecc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 8d0a10271eef02de6c33b788fec2db37) 04-27 00:30:50.219 27320 27320 F DEBUG : #23 pc 0000000000050408 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
The text was updated successfully, but these errors were encountered:
我也有相同的问题,版本是 4.3.27
Sorry, something went wrong.
遇到+1,有解决吗?
kevingpqi123
No branches or pull requests
【版本信息】
4.3.18
【平台信息】
Android 原生
【预期的表现】
正常播放pag动效,app不崩溃
【实际的情况】
调用PAGImageView的play()方法后app崩溃
【Demo及附件】
【调用方法】
pagImageView.pause()
pagImageView.setRepeatCount(1)
pagImageView.setCacheAllFramesInMemory(false)
val pagFile = getPAGFile()
pagFile?.let {
pagImageView.composition = pagFile
pagImageView.play()
}
【崩溃日志】
--------- beginning of crash
04-27 00:30:45.965 2275 27129 F libc : FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xb40000779e6f1538)
04-27 00:30:49.575 2275 27129 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 27129 (tgfx_JNIEnviron), pid 2275
04-27 00:30:49.825 27320 27320 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-27 00:30:49.825 27320 27320 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-27 00:30:49.825 27320 27320 F DEBUG : '
04-27 00:30:49.826 27320 27320 F DEBUG : x0 0000000000000000 x1 00000000000069f9 x2 0000000000000006 x3 00000076f5f98360
04-27 00:30:49.826 27320 27320 F DEBUG : x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f
04-27 00:30:49.826 27320 27320 F DEBUG : x8 00000000000000f0 x9 530477e1e63f6aeb x10 0000000000000000 x11 ffffffc0fffffbdf
04-27 00:30:49.826 27320 27320 F DEBUG : x12 0000000000000001 x13 0000004da7f9d696 x14 0039385629e70400 x15 0000000034155555
04-27 00:30:49.826 27320 27320 F DEBUG : x16 0000007a50007c80 x17 0000007a4ffe99f0 x18 000000774e2aebfb x19 00000000000008e3
04-27 00:30:49.826 27320 27320 F DEBUG : x20 00000000000069f9 x21 00000000ffffffff x22 00000000145fb150 x23 00000000145fb440
04-27 00:30:49.826 27320 27320 F DEBUG : x24 00000076f1d11014 x25 00000076f5f99000 x26 0000000000000000 x27 0000000000000043
04-27 00:30:49.826 27320 27320 F DEBUG : x28 00000076f5f99000 x29 00000076f5f983e0
04-27 00:30:49.826 27320 27320 F DEBUG : lr 0000007a4ff9d420 sp 00000076f5f98340 pc 0000007a4ff9d44c pst 0000000000000000
04-27 00:30:50.218 27320 27320 F DEBUG : backtrace:
04-27 00:30:50.218 27320 27320 F DEBUG : #00 pc 000000000004e44c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
04-27 00:30:50.218 27320 27320 F DEBUG : #1 pc 00000000000b15a8 /apex/com.android.runtime/lib64/bionic/libc.so (__fortify_fatal(char const*, ...)+124) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
04-27 00:30:50.218 27320 27320 F DEBUG : #2 pc 00000000000b0ba4 /apex/com.android.runtime/lib64/bionic/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+52) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
04-27 00:30:50.218 27320 27320 F DEBUG : #3 pc 00000000000b09fc /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+160) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
04-27 00:30:50.218 27320 27320 F DEBUG : #4 pc 00000000002231b4 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.218 27320 27320 F DEBUG : #5 pc 00000000000de2dc /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (pag::PAGLayer::duration() const+68) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.218 27320 27320 F DEBUG : #6 pc 0000000000107ae4 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (Java_org_libpag_PAGLayer_duration+68) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.218 27320 27320 F DEBUG : #7 pc 000000000201dc6c /memfd:jit-cache (deleted) (offset 0x2000000) (art_jni_trampoline+124)
04-27 00:30:50.218 27320 27320 F DEBUG : #8 pc 00000000020249d8 /memfd:jit-cache (deleted) (offset 0x2000000) (org.libpag.PAGImageView.onAnimationUpdate+120)
04-27 00:30:50.218 27320 27320 F DEBUG : #9 pc 0000000002128d2c /memfd:jit-cache (deleted) (offset 0x2000000) (org.libpag.PAGAnimator.onAnimationUpdate+204)
04-27 00:30:50.218 27320 27320 F DEBUG : #10 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 608b016d7406f8b265b67f1420430d02)
04-27 00:30:50.218 27320 27320 F DEBUG : #11 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 608b016d7406f8b265b67f1420430d02)
04-27 00:30:50.218 27320 27320 F DEBUG : #12 pc 00000000005551e8 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgsart::ArtMethod*(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+468) (BuildId: 608b016d7406f8b265b67f1420430d02)
04-27 00:30:50.218 27320 27320 F DEBUG : #13 pc 0000000000555388 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 608b016d7406f8b265b67f1420430d02)
04-27 00:30:50.218 27320 27320 F DEBUG : #14 pc 00000000003ab860 /apex/com.android.art/lib64/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+660) (BuildId: 608b016d7406f8b265b67f1420430d02)
04-27 00:30:50.219 27320 27320 F DEBUG : #15 pc 00000000000fd724 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #16 pc 0000000000101194 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #17 pc 000000000009a538 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #18 pc 000000000009aff8 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #19 pc 00000000001414d0 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #20 pc 00000000001417e8 /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #21 pc 0000000000141f3c /data/app/~~66bqidSLa7_7Od8fQybNSw==/base.apk!libpag.so (offset 0x7ec7000) (BuildId: cc235277469cb13466ae14789d165b0d89d438fc)
04-27 00:30:50.219 27320 27320 F DEBUG : #22 pc 00000000000afecc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
04-27 00:30:50.219 27320 27320 F DEBUG : #23 pc 0000000000050408 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 8d0a10271eef02de6c33b788fec2db37)
The text was updated successfully, but these errors were encountered: