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的初始化去掉之后华为真机就不会崩溃了,其他的设备则不会。
W Failure to open libjavacore.so, try next. 华为真机崩溃问题。
最新推荐文章于 2024-04-18 15:55:54 发布