【发布时间】:2020-12-14 11:26:56
【问题描述】:
我们最近在 Google Play 上发布了一个新的 Android 应用程序,我注意到在运行 Android 8 - 9 的设备上发生了几次原生崩溃。不幸的是,我们无法在我们的任何设备上重现崩溃。看起来崩溃与低级绘图(画布功能)有关,根据其他一些帖子,它可能与硬件加速有关 - 但是我没有找到解释这是什么以及如何修复它的信息。有人可以帮助我们解决此问题吗?
这是实例最多的崩溃...
#00 pc 000000000001cc96 /system/lib/libc.so (abort+58)
#00 pc 0000000000006ccd /system/lib/liblog.so (__android_log_assert+156)
#00 pc 000000000000bab1 /system/lib/libutils.so (android::sp_report_race()+12)
#00 pc 00000000000a9ddd /system/lib/libandroid_runtime.so (android::RootRenderNode::detachAnimators()+212)
#00 pc 00000000000a8987 /system/lib/libandroid_runtime.so (android::AnimationContextBridge::destroy()+10)
#00 pc 000000000046a8e9 /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::destroy()+76)
#00 pc 000000000046ccaf /system/lib/libhwui.so (std::__1::packaged_task<void ()>::operator()()+50)
#00 pc 0000000000432f9f /system/lib/libhwui.so (android::uirenderer::WorkQueue::process()+122)
#00 pc 0000000000159e5f /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+178)
#00 pc 000000000000c0df /system/lib/libutils.so (android::Thread::_threadLoop(void*)+166)
#00 pc 0000000000063325 /system/lib/libc.so (__pthread_start(void*)+22)
#00 pc 000000000001de59 /system/lib/libc.so (__start_thread+24)
【问题讨论】: