【问题标题】:Native crashes on detachAnimatorsdetachAnimators 上的原生崩溃
【发布时间】: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)

【问题讨论】:

    标签: android crash native


    【解决方案1】:

    我有同样的问题,很多崩溃但无法在真实设备上重现

    这里似乎报告了这个问题:https://issuetracker.google.com/issues/173906153

    【讨论】:

      猜你喜欢
      • 2018-04-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-15
      • 2021-09-27
      相关资源
      最近更新 更多