A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c

43:23.170 873-873/? I/MSM-irqbalance: Decided to move IRQ3 from CPU1 [P:0] to CPU7 [P:1] (banned)
05-15 14:43:23.233 5828-5828/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-15 14:43:23.234 5828-5828/? A/DEBUG: Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/7.12.21:user/release-keys'
    Revision: '0'
    ABI: 'arm'
    pid: 5710, tid: 5710, name: encent.mobileqq  >>> com.tencent.mobileqq <<<
05-15 14:43:23.235 5828-5828/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c
        r0 786d402c  r1 00000000  r2 130c6178  r3 ffae4a38
        r4 786d402c  r5 ffae4a40  r6 ffae47f8  r7 ffae47b8
        r8 ffae47f8  r9 e8884400  sl 00000000  fp ffae4784
        ip 00000000  sp ffae4740  lr e84b2fc3  pc cb004cbe  cpsr 600e0030
05-15 14:43:23.268 5828-5828/? A/DEBUG: backtrace:
        #00 pc 050a2cbe  /data/app/com.tencent.mobileqq-2/oat/arm/base.odex (offset 0x4fba000)
        #01 pc 000a9fc1  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
        #02 pc 0040d5fd  /system/lib/libart.so (art_quick_invoke_stub+232)
        #03 pc 000b1289  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
        #04 pc 001ef38f  /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+198)
        #05 pc 001e992f  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+478)
        #06 pc 00407a17  /system/lib/libart.so (MterpInvokeVirtualQuick+354)
05-15 14:43:23.269 5828-5828/? A/DEBUG:     #07 pc 000a0b94  /system/lib/libart.so (ExecuteMterpImpl+29972)
        #08 pc 001cd69b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
        #09 pc 001d21fb  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
        #10 pc 001e9913  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+450)
        #11 pc 00405e9b  /system/lib/libart.so (MterpInvokeDirect+266)
        #12 pc 0009cf14  /system/lib/libart.so (ExecuteMterpImpl+14484)
        #13 pc 001cd69b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+290)
        #14 pc 001d2165  /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
        #15 pc 003fca01  /system/lib/libart.so (artQuickToInterpreterBridge+716)
        #16 pc 000aea13  /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
        #17 pc 000a9fc1  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
        #18 pc 0040d5fd  /system/lib/libart.so (art_quick_invoke_stub+232)
        #19 pc 000b1289  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+136)
        #20 pc 0031a2bb  /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+58)
        #21 pc 0031a0cb  /system/lib/libart.so (_ZN3art17InvokeWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDSt9__va_list+266)
        #22 pc 002722d7  /system/lib/libart.so (_ZN3art3JNI25CallNonvirtualVoidMethodVEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_list+438)
        #23 pc 002672cf  /system/lib/libart.so (_ZN3art3JNI10NewObjectVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+494)
        #24 pc 00009461  /data/app/cn.qssq666.redpacket-2/lib/arm/libhlkq.so
        #25 pc 00009177  /data/app/cn.qssq666.redpacket-2/lib/arm/libhlkq.so
        #26 pc 004c754d  /data/app/cn.qssq666.redpacket-2/oat/arm/base.odex (offset 0x4ac000)
05-15 14:43:24.032 2852-3053/com.tencent.mobileqq:MSF D/MSF.C.NetConnTag: netRecv ssoSeq:-1159396849 uin:

错误发生在libhlkq.so具体哪个方法只能通过log或者调试得出,但是我这是你写,得模拟写一个app,但是我比较懒,就算了不这么搞,就通过日志了。
我这里错误原因一眼被我看出来了
NewObject我传错了对象,也就是jni method是传递的对象和 newobject的传递的对象不一致引发的问题。

或者参数少传递多传递等不匹配也会引发此错误signal 11

你可能感兴趣的:(A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c)