W Failure to open libjavacore.so, try next. 华为真机崩溃问题。

I doHook
2023-05-17 16:17:55.431 23611-23611 IOCanary.JNI com.dcm360.robot I try to hook function in libopenjdkjvm.so.
2023-05-17 16:17:55.457 23611-23611 IOCanary.JNI com.dcm360.robot I try to hook function in libjavacore.so.
2023-05-17 16:17:55.458 23611-23611 IOCanary.JNI com.dcm360.robot W Failure to open libjavacore.so, try next.
2023-05-17 16:17:55.458 23611-23611 IOCanary.JNI com.dcm360.robot I try to hook function in libopenjdk.so.
2023-05-17 16:17:55.458 23611-23611 libc com.dcm360.robot A Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe2fc7000 in tid 23611 (om.dcm360.robot), pid 23611 (om.dcm360.robot)
2023-05-17 16:17:55.558 23611-23611 libc com.dcm360.robot I orig_dumpable: 1
2023-05-17 16:17:55.559 23650-23650 DEBUG pid-23650 A pid: 23611, tid: 23611, name: om.dcm360.robot >>> com.dcm360.robot <<<
2023-05-17 16:17:55.566 23650-23650 DEBUG pid-23650 A #00 pc 00056a4c /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.566 23650-23650 DEBUG pid-23650 A #01 pc 00056a23 /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.566 23650-23650 DEBUG pid-23650 A #02 pc 00056141 /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.567 23650-23650 DEBUG pid-23650 A #06 pc 00057f27 /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.567 23650-23650 DEBUG pid-23650 A #07 pc 00055fef /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.567 23650-23650 DEBUG pid-23650 A #08 pc 00054c79 /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/base.apk (offset 0xea09000)
2023-05-17 16:17:55.567 23650-23650 DEBUG pid-23650 A #09 pc 0007d427 /data/app/com.dcm360.robot-B5Jc8ZrVy8ahoOJrBNkW7Q==/oat/arm/base.odex (offset 0x6b000)
在这里插入图片描述原因是项目中使用了腾讯的性能监测工具Matrix Matrix 的原理是会去hook .so的库。当我把matrix的初始化去掉之后华为真机就不会崩溃了,其他的设备则不会。
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值