YAHFA
YAHFA copied to clipboard
hook app时第一次总会卡死
每hook一个app第一次都会报类似的错然后退出,再开才恢复正常,log如下,求助如何解决:
11-21 15:31:26.245 10936-10936/? A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0x96a5fa80 in tid 10936 (mobile.explorer) 11-21 15:31:26.299 1009-1009/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-21 15:31:26.299 1009-1009/? I/DEBUG: Build fingerprint: 'google/shamu/shamu:5.1/LMY47D/1743759:user/release-keys' 11-21 15:31:26.299 1009-1009/? I/DEBUG: Revision: '33696' 11-21 15:31:26.299 1009-1009/? I/DEBUG: ABI: 'arm' 11-21 15:31:26.299 1009-1009/? I/DEBUG: pid: 10936, tid: 10936, name: mobile.explorer >>> sogou.mobile.explorer <<< 11-21 15:31:26.299 1009-1009/? I/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x96a5fa80 11-21 15:31:26.320 1009-1009/? I/DEBUG: r0 ffffffff r1 bea24130 r2 00000010 r3 0000069c 11-21 15:31:26.320 1009-1009/? I/DEBUG: r4 0000000a r5 bea24258 r6 00000180 r7 00000320 11-21 15:31:26.320 1009-1009/? I/DEBUG: r8 b493ccc8 r9 00000014 sl 00000000 fp 32c01040 11-21 15:31:26.320 1009-1009/? I/DEBUG: ip b6e6c6c0 sp bea24100 lr b6e1b141 pc 96a5fa80 cpsr 800b0010 11-21 15:31:26.321 1009-1009/? I/DEBUG: backtrace: 11-21 15:31:26.321 1009-1009/? I/DEBUG: #00 pc 0065fa80 [anon:libc_malloc] 11-21 15:31:26.321 1009-1009/? I/DEBUG: #01 pc 0001813d /system/lib/libc.so (__set_errno+4) 11-21 15:31:26.321 1009-1009/? I/DEBUG: #02 pc ffffffff
而且注入多个API会导致程序崩溃