[英]Pre-launch report “Issue: native crash”
Google Play Console Pre-launch report states a crash with my app running on Pixel Android 8.0 (no issues with the others). Google Play 控制台预发布报告指出,我的应用在 Pixel Android 8.0 上运行时发生崩溃(其他应用没有问题)。 When watching the replay, I see no issue and don't see the app crash.
观看重播时,我没有看到任何问题,也没有看到应用程序崩溃。
This is the info provided.这是提供的信息。
Issue: Native crash of com.xxxxxxxxx
问题: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!'
构建指纹:'google/sailfish/sailfish:8.0.0/OPR3.170623.008/4294783:user/release-keys' 修订版:'0' ABI:'arm64' pid:10010,tid:10046,名称:ControllerMesse >>> com.xxxxxxx <<< 信号 6 (SIGABRT),代码 -6 (SI_TKILL),故障地址 -------- 中止消息:“无法获取脏矩阵!” 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
X0 0000000000000000 X1 000000000000273e X2 0000000000000006 X3 0000000000000008 X4 feff71647164636d X5 feff71647164636d 5233 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 X26 0000000000000000 0000000000000000 X27 0000000012ffffb8 X28 00000000706b05b0 X29 X30 0000007e5f2ee1f0 SP 0000007e7b0bc994 PC 0000007e5f2ee1b0 0000007e7b1085d8 pstate 00000000.6亿
Can anyone point me in the right direction.任何人都可以指出我正确的方向。
Android is open source, so when debugging something like this I always start with Google. Android 是开源的,所以在调试这样的东西时,我总是从谷歌开始。 A Google search for ' android source "cannot get a dirty matrix" ' leads here.
在 Google 上搜索“ android 源代码“无法获得脏矩阵” ”会指向此处。
https://android.googlesource.com/platform/frameworks/base/+/master/libs/hwui/RenderProperties.h https://android.googlesource.com/platform/frameworks/base/+/master/libs/hwui/RenderProperties.h
Now this doesn't tell you how to fix it, but does tell you it is something wrong with the native rendering code with a device running Android O, using 64 bit native code.现在这不会告诉您如何修复它,但会告诉您使用 64 位本机代码运行 Android O 的设备的本机渲染代码有问题。
If it was my app I'd try to find another Android Oreo device with an arm64 processor and see if it happens to me.如果这是我的应用程序,我会尝试找到另一个带有 arm64 处理器的 Android Oreo 设备,看看它是否发生在我身上。 But it is going to be hard to debug, and just as likely to be a bug with the OS or your game engine than something you can fix yourself (unless you have been writing native rendering code).
但是调试起来会很困难,而且很可能是操作系统或游戏引擎的错误,而不是您可以自行修复的错误(除非您一直在编写本机渲染代码)。
I stumbled upon this one as well (probably from a different cause).我也偶然发现了这个(可能是出于不同的原因)。 The error disappeared from the report after I downgraded the following libraries to:
在我将以下库降级后,错误从报告中消失了:
com.google.firebase:firebase-perf:19.0.7 (downgrade from 19.0.8)
com.google.firebase:firebase-firestore-ktx:21.4.3 (downgrade from 21.50.0)
com.google.firebase:firebase-config-ktx:19.1.4 (downgrade from 19.2.0)
Didn't pinpoint the issue exactly but I'm guessing firebase-perf
is to blame here.没有准确指出问题,但我猜
firebase-perf
应该归咎于此。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.