通过墓碑文件(tombstones)定位native代码crash时具体挂在了哪行代码上

1、查看tombstones文件,例如:
Build fingerprint: ‘Android/sa8155_v35_a08/sa8155_v35_a08:9/PQ1A.190105.004/114:userdebug/test-keys’
Revision: ‘0’
ABI: ‘arm64’
pid: 4493, tid: 12804, name: RenderThread >>> com.gwm.app.settings <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7f2981277f2799
x0 0000007e70aee000 x1 0000007e5fcbe060 x2 0000007e5fcbe2a0 x3 0000000000000000
x4 0000007e5fcbdea4 x5 0000007e73f72cb0 x6 0000007f00789000 x7 000000000004cce0
x8 297f2981277f2781 x9 0000007efda19648 x10 0000000000000001 x11 0000000000000000
x12 0000000000000033 x13 0000000000000050 x14 0000007e5f587000 x15 0000000000000001
x16 0000007e5f587000 x17 0000007efda6c910 x18 000000000000000f x19 0000007e7255ea00
x20 0000007e5fcbe2a0 x21 0000007e5fcbe060 x22 0000000000000000 x23 0000000000000000
x24 0000007e5fcbe2b8 x25 0000007e5fcbe588 x26 0000000000000000 x27 0000007e5f587050
x28 0000007e5f587000 x29 0000007e5fcbde60
sp 0000007e5fcbdd70 lr 0000007efda2a3dc pc 0000007efda2a548

backtrace:
#00 pc 0000000000448548 /system/lib64/libhwui.so (android::uirenderer::RenderNode::prepareTreeImpl(android::uirenderer::TreeObserver&, android::uirenderer::TreeInfo&, bool)+496)
#01 pc 00000000000f6740 /system/lib64/libhwui.so (android::uirenderer::skiapipeline::SkiaDisplayList::prepareListAndChildren(android::u

  • 21
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值