Closed qiangbin0201 closed 2 years ago
运行Demo的native监控(LeakMonitor.INSTANCE.start())会出现栈溢出,LOG如下: 机型是:华为荣耀70 pro Android 12 运行的是master 分支中的Demo, 应该是最新的2.2.0版本 期待得到大佬们的回复,谢谢。
Build fingerprint: 'HONOR/SDY-AN00/HNSDY:12/HONORSDY-AN00/6.1.0.153C00:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2022-08-20 17:17:17.832746807+0800 Process uptime: 0s Cmdline: com.kwai.koom.demo pid: 26182, tid: 26259, name: LoopThread >>> com.kwai.koom.demo <<< uid: 10300 tagged_addr_ctrl: 0000000000000001 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6cc793dfe0 Cause: stack pointer is not in a rw map; likely due to stack overflow. x0 000000701dd4f6c0 x1 0000000000000080 x2 0000000000000000 x3 0000000000000010 x4 0000000000000000 x5 000000701dd56448 x6 00012798000127ce x7 000128280001283a x8 0000000000000000 x9 0000006cc7a42040 x10 0000000000000001 x11 0000000000000000 x12 0000ffff00000eff x13 00000000844f15fc x14 0000000000012936 x15 0000000000000000 x16 0000006cc8c3c148 x17 000000701dcbaf70 x18 0000006cc70e4000 x19 0000000000000080 x20 0000000000000080 x21 0000006cc7a42000 x22 0000000000000001 x23 0000006cc8df4000 x24 000000000000000e x25 b400006e25daf070 x26 0000006cc7a42000 x27 000000000000000b x28 0000006cc7a3ff30 x29 0000006cc793e040 lr 000000701dcc0780 sp 0000006cc793dfc0 pc 000000701dcbfed4 pst 0000000080001000 backtrace:
#01 pc 000000000004377c /apex/com.android.runtime/lib64/bionic/libc.so (scudo_malloc+36) (BuildId: 82e5b2ff86b193c94139353a92c4af29) #02 pc 000000000003df94 /apex/com.android.runtime/lib64/bionic/libc.so (malloc+36) (BuildId: 82e5b2ff86b193c94139353a92c4af29) #03 pc 000000000001b9a8 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #04 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #05 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #06 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #07 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #08 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #09 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #10 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #11 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #12 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #13 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #14 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #15 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #16 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #17 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #18 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #19 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #20 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #21 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #22 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #23 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #24 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #25 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #26 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #27 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #28 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #29 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #30 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #31 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #32 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #33 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #34 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #35 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #36 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #37 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #38 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #39 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #40 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #41 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #42 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #43 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #44 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #45 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #46 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #47 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #48 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #49 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #50 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #51 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #52 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #53 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #54 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #55 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #56 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #57 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #58 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #59 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #60 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #61 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #62 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #63 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #64 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #65 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #66 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #67 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #68 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #69 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #70 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #71 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #72 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #73 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #74 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #75 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #76 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #77 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #78 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085) #79 pc 000000000001b9cc /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libkoom-native.so (BuildId: 806145772bb015db2454101c094aa295036b45de) #80 pc 00000000000ec6b0 /data/app/~~mw24wGiR96CUN_jEpVpzVQ==/com.kwai.koom.demo-GjV91bRSMlRCCU9_ufSwog==/lib/arm64/libc++_shared.so (__emutls_get_address+244) (BuildId: 0da82722c95ec8827f133f0d1abfb38f0e6fc085)
KOOM 2.2.0 libkoom-native.so 提供了动态链接 libc++_shared.so 的版本,导致 hook malloc 后死循环,稍后会发布修复版本
KOOM v2.2.1 release,可以再测试下
测试可以,多谢大佬
运行Demo的native监控(LeakMonitor.INSTANCE.start())会出现栈溢出,LOG如下: 机型是:华为荣耀70 pro Android 12 运行的是master 分支中的Demo, 应该是最新的2.2.0版本 期待得到大佬们的回复,谢谢。
Build fingerprint: 'HONOR/SDY-AN00/HNSDY:12/HONORSDY-AN00/6.1.0.153C00:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2022-08-20 17:17:17.832746807+0800 Process uptime: 0s Cmdline: com.kwai.koom.demo pid: 26182, tid: 26259, name: LoopThread >>> com.kwai.koom.demo <<< uid: 10300 tagged_addr_ctrl: 0000000000000001 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6cc793dfe0 Cause: stack pointer is not in a rw map; likely due to stack overflow. x0 000000701dd4f6c0 x1 0000000000000080 x2 0000000000000000 x3 0000000000000010 x4 0000000000000000 x5 000000701dd56448 x6 00012798000127ce x7 000128280001283a x8 0000000000000000 x9 0000006cc7a42040 x10 0000000000000001 x11 0000000000000000 x12 0000ffff00000eff x13 00000000844f15fc x14 0000000000012936 x15 0000000000000000 x16 0000006cc8c3c148 x17 000000701dcbaf70 x18 0000006cc70e4000 x19 0000000000000080 x20 0000000000000080 x21 0000006cc7a42000 x22 0000000000000001 x23 0000006cc8df4000 x24 000000000000000e x25 b400006e25daf070 x26 0000006cc7a42000 x27 000000000000000b x28 0000006cc7a3ff30 x29 0000006cc793e040 lr 000000701dcc0780 sp 0000006cc793dfc0 pc 000000701dcbfed4 pst 0000000080001000 backtrace:
00 pc 0000000000042ed4 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::allocate(unsigned long, scudo::Chunk::Origin, unsigned long, bool)+4) (BuildId: 82