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

小米MIX2 Render Multiple PAG Files on APAGSuface回退崩溃 #108

Closed
382842024 opened this issue Feb 15, 2022 · 5 comments
Closed

小米MIX2 Render Multiple PAG Files on APAGSuface回退崩溃 #108

382842024 opened this issue Feb 15, 2022 · 5 comments
Assignees

Comments

@382842024
Copy link

Bug 描述

问题

在小米手机上运行PAG-Android demo 中 Render Multiple PAG Files on APAGSuface 快速进入退出页面 崩溃

重现

PAG-Android 自带demo

环境

libpag 版本:libpag-android(v3.2.7.34)
设备:小米MIX 2(Android 9 MIUI 12.0.1稳定版)

Demo(可选)

其他(可选)

如果还有其他信息可以帮助我们定位问题,请添加其他内容。
2022-02-15 09:39:05.527 23254-23263/com.tencent.libpag.sample.libpag_sample A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 23263 (FinalizerDaemon), pid 23254 (e.libpag_sample)
2022-02-15 09:39:05.530 934-12655/? E/OMXNodeInstance: getConfig(0xe4a3b044:qcom.decoder.avc, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: Build fingerprint: 'Xiaomi/chiron/chiron:9/PKQ1.190118.001/V12.0.1.0.PDECNXM:user/release-keys'
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: Revision: '0'
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: ABI: 'arm64'
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: pid: 23254, tid: 23263, name: FinalizerDaemon >>> com.tencent.libpag.sample.libpag_sample <<<
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: Abort message too long: claimed length = 564
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x0 0000000000000000 x1 0000000000005adf x2 0000000000000006 x3 0000000000000008
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x4 000024393f4f282a x5 000024393f4f282a x6 000024393f4f282a x7 2a284f3f3924ffff
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x8 0000000000000083 x9 8d5b735a297cfd6a x10 0000000000000000 x11 fffffffc7ffffbdf
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x12 0000000000000001 x13 ffffffffffffffff x14 ffff000000000000 x15 ffffffffffffffff
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x16 00000071db3ad2b0 x17 00000071db2ccbd8 x18 0000000000000010 x19 0000000000005ad6
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x20 0000000000005adf x21 00000071589bb100 x22 0000000000000000 x23 000000715805d843
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x24 000000715805d6f7 x25 0000000000000001 x26 000000713b4826a0 x27 0000000000000043
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: x28 00000071589136f0 x29 000000713b482550
2022-02-15 09:39:05.590 23496-23496/? A/DEBUG: sp 000000713b482510 lr 00000071db2c004c pc 00000071db2c0074
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: backtrace:
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #00 pc 0000000000022074 /system/lib64/libc.so (abort+116)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #1 pc 00000000004671c0 /system/lib64/libart.so (art::Runtime::Abort(char const*)+1196)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #2 pc 0000000000008ce0 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #3 pc 00000000002e694c /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1640)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #4 pc 00000000002e6abc /system/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+116)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #5 pc 00000000000fe540 /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+148)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #6 pc 00000000000fcf1c /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1152)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #7 pc 00000000000fc288 /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+628)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #8 pc 00000000001053e4 /system/lib64/libart.so (art::(anonymous namespace)::CheckJNI::SetField(char const*, _JNIEnv*, _jobject*, _jfieldID*, bool, art::Primitive::Type, art::(anonymous namespace)::JniValueType)+752)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #9 pc 000000000002847c /data/app/com.tencent.libpag.sample.libpag_sample-alNLnmoQrRWcY5dnrZHB8A==/oat/arm64/base.odex (offset 0x25000) (org.libpag.PAGPlayer.nativeFinalize+124)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #10 pc 000000000055d788 /system/lib64/libart.so (art_quick_invoke_stub+584)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #11 pc 00000000000d074c /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #12 pc 0000000000280dbc /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #13 pc 000000000027add0 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #14 pc 000000000052dc18 /system/lib64/libart.so (MterpInvokeDirect+296)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #15 pc 000000000054fe14 /system/lib64/libart.so (ExecuteMterpImpl+14484)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #16 pc 00000000001935f6 /data/app/com.tencent.libpag.sample.libpag_sample-alNLnmoQrRWcY5dnrZHB8A==/oat/arm64/base.vdex (org.libpag.PAGPlayer.finalize)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #17 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1132436365+488)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #18 pc 000000000025a5c8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #19 pc 000000000027adb4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #20 pc 000000000052c8d8 /system/lib64/libart.so (MterpInvokeVirtual+588)
2022-02-15 09:39:05.601 23496-23496/? A/DEBUG: #21 pc 000000000054fd14 /system/lib64/libart.so (ExecuteMterpImpl+14228)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #22 pc 0000000000178c74 /system/framework/boot-core-libart.vdex (java.lang.Daemons$FinalizerDaemon.doFinalize+22)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #23 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1132436365+488)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #24 pc 000000000025a5c8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #25 pc 000000000027adb4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #26 pc 000000000052dc18 /system/lib64/libart.so (MterpInvokeDirect+296)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #27 pc 000000000054fe14 /system/lib64/libart.so (ExecuteMterpImpl+14484)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #28 pc 0000000000178d5c /system/framework/boot-core-libart.vdex (java.lang.Daemons$FinalizerDaemon.runInternal+164)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #29 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1132436365+488)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #30 pc 000000000025a5c8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #31 pc 000000000027adb4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #32 pc 000000000052c8d8 /system/lib64/libart.so (MterpInvokeVirtual+588)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #33 pc 000000000054fd14 /system/lib64/libart.so (ExecuteMterpImpl+14228)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #34 pc 0000000000178af4 /system/framework/boot-core-libart.vdex (java.lang.Daemons$Daemon.run+20)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #35 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1132436365+488)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #36 pc 000000000025a5c8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #37 pc 000000000027adb4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #38 pc 000000000052d854 /system/lib64/libart.so (MterpInvokeInterface+1392)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #39 pc 000000000054ff14 /system/lib64/libart.so (ExecuteMterpImpl+14740)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #40 pc 00000000000dffac /system/framework/boot-core-oj.vdex (java.lang.Thread.run+12)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #41 pc 0000000000254ad4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.1132436365+488)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #42 pc 000000000051d18c /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #43 pc 00000000005668fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #44 pc 000000000055d788 /system/lib64/libart.so (art_quick_invoke_stub+584)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #45 pc 00000000000d074c /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #46 pc 000000000045f850 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #47 pc 000000000046090c /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #48 pc 000000000048ed5c /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1092)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #49 pc 00000000000901b0 /system/lib64/libc.so (__pthread_start(void*)+36)
2022-02-15 09:39:05.602 23496-23496/? A/DEBUG: #50 pc 0000000000023930 /system/lib64/libc.so (__start_thread+68)
2022-02-15 09:39:06.020 23496-23496/? E/crash_dump64: cannot open libmiuindbg.so: No such file or directory
2022-02-15 09:39:06.024 984-984/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_01
2022-02-15 09:39:06.038 770-770/? E/lowmemorykiller: Error writing /proc/23254/oom_score_adj; errno=22
2022-02-15 09:39:06.056 934-12655/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2022-02-15 09:39:06.056 934-10209/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2022-02-15 09:39:06.056 934-10486/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything...
2022-02-15 09:39:06.060 1628-1975/? E/InputDispatcher: channel '3294b1b com.tencent.libpag.sample.libpag_sample/com.tencent.libpag.sample.libpag_sample.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

@kevingpqi123
Copy link
Collaborator

log信息中没看出啥,麻烦提供下demo工程

@382842024
Copy link
Author

382842024 commented Feb 15, 2022 via email

@kevingpqi123
Copy link
Collaborator

请问可以稳定复现吗,我这边使用demo工程在小米10上没有复现

@382842024
Copy link
Author

可以稳定复现,只要快速进出几次就会出现,demo没有改动。今天重新下载了一份main分支的源码,重新编译后打包成aar使用,这个问题没再出现了。

@domchen
Copy link
Collaborator

domchen commented Feb 17, 2022

建议使用release页面的稳定版。main分支是开发分支,还没正式发布。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants