android - 发布前报告 "Issue: native crash"

标签 android crash android-emulator prelaunch

Google Play 控制台发布前报告指出我的应用程序在 Pixel Android 8.0 上运行时发生崩溃(其他应用程序没有问题)。观看回放时,我没有发现任何问题,也没有看到应用程序崩溃。

这是提供的信息。

Issue: Native crash of com.xxxxxxxxx


Build fingerprint: 'google/sailfish/sailfish:8.0.0/OPR3.170623.008/4294783:user/release-keys' Revision: '0' ABI: 'arm64' pid: 10010, tid: 10046, name: ControllerMesse >>> com.xxxxxxx <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'Cannot get a dirty matrix!' x0 0000000000000000 x1 000000000000273e x2 0000000000000006 x3 0000000000000008 x4 feff71647164636d x5 feff71647164636d x6 feff71647164636d x7 7f7f7f7f7f7f7f7f x8 0000000000000083 x9 09ee441dd405312c x10 0000000000000000 x11 0000000000000001 x12 ffffffffffffffff x13 ffffffffffffffff x14 ffffffffff000000 x15 ffffffffffffffff x16 0000007e7b1662f8 x17 0000007e7b1085d0 x18 00000000ebad6082 x19 000000000000271a x20 000000000000273e x21 000000007099a7f0 x22 0000000012c6d508 x23 0000000012fffd20 x24 00000000135a0278 x25 0000000000000000 x26 0000000000000000 x27 0000000012ffffb8 x28 00000000706b05b0 x29 0000007e5f2ee1f0 x30 0000007e7b0bc994 sp 0000007e5f2ee1b0 pc 0000007e7b1085d8 pstate 0000000060000000

谁能指出我正确的方向。

最佳答案

Android 是开源的,所以在调试这样的东西时,我总是从谷歌开始。在 Google 上搜索“android 源代码“无法获取脏矩阵””会引导至此处。

https://android.googlesource.com/platform/frameworks/base/+/master/libs/hwui/RenderProperties.h

现在这不会告诉您如何修复它,但会告诉您使用 64 位 native 代码运行 Android O 的设备的 native 渲染代码有问题。

如果这是我的应用程序,我会尝试找到另一台配备 arm64 处理器的 Android Oreo 设备,看看它是否发生在我身上。但它很难调试,而且很可能是操作系统或游戏引擎的错误,而不是您可以自己修复的错误(除非您一直在编写 native 渲染代码)。

关于android - 发布前报告 "Issue: native crash",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50927032/

相关文章:

android - 如何在 android 中玩 .pls?

java - 主数据管理开发

ios - __CFTSDFinalize 崩溃

android - 为什么在项目中使用不同的 Google API key ?

java - GPS项目的Android应用程序

c# - Clipboard.Clear() 使 Outlook 和 Visual Studio 崩溃

ios - iOS 14.2 版本中的 EXC_CRASH (SIGKILL)

Android应用谷歌地图显示灰色瓷砖而不是 map !

android - 在安卓模拟器上运行google play store

android - 在 Android 中自动捕获图像