smartlook / smartlook-android-sdk

5 stars 1 forks source link

Native Crash #13

Closed Lancelittle closed 5 years ago

Lancelittle commented 5 years ago

I'm seeing crashes since implementing the sdk. I removed the sdk to test if it was smartlook and the crashes went away. I re-added the sdk and the crashes are back. I can't replicate the crashes, but I am seeing them in the google play console.

There are multiple different crashes

Native crash at signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

  #00  pc 0000000000028778  /system/lib64/libjavacore.so (_ZL33NativeConverter_setCallbackEncodeP7_JNIEnvP7_jclassliiP11_jbyteArray+132)
  #01  pc 00000000002e4574  /system/framework/arm64/boot-core-libart.oat (dalvik.system.ZygoteHooks.nativePostForkChild [DEDUPED]+196)
  #02  pc 000000000030998c  /system/framework/arm64/boot-core-libart.oat (java.nio.charset.CharsetEncoderICU.<init>+460)
  #03  pc 000000000030a070  /system/framework/arm64/boot-core-libart.oat (java.nio.charset.CharsetEncoderICU.newInstance+368)
  #04  pc 000000000030b3c0  /system/framework/arm64/boot-core-libart.oat (java.nio.charset.CharsetICU.newEncoder+64)
  #05  pc 00000000019f6358  /system/framework/arm64/boot-framework.oat (com.android.internal.util.FastXmlSerializer.setOutput+168)
  #06  pc 0000000001a1ba44  /system/framework/arm64/boot-framework.oat (com.android.internal.util.XmlUtils.writeMapXml+244)
  #07  pc 00000000008c9800  /system/framework/arm64/boot-framework.oat (android.app.SharedPreferencesImpl.writeToFile+944)
  #08  pc 00000000008c6248  /system/framework/arm64/boot-framework.oat (android.app.SharedPreferencesImpl$2.run+152)
  #09  pc 00000000008b6940  /system/framework/arm64/boot-framework.oat (android.app.QueuedWork.processPendingWork+544)
  #10  pc 00000000008b62ec  /system/framework/arm64/boot-framework.oat (android.app.QueuedWork$QueuedWorkHandler.handleMessage+60)
  #11  pc 000000000074333c  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+188)
  #12  pc 00000000010a9480  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1184)
  #13  pc 0000000001044ddc  /system/framework/arm64/boot-framework.oat (android.os.HandlerThread.run+620)
  #14  pc 0000000000508384  /system/lib64/libart.so (art_quick_invoke_stub+580)
  #15  pc 00000000000d84f4  /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
  #16  pc 0000000000430894  /system/lib64/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+104)
  #17  pc 0000000000431a20  /system/lib64/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+432)
  #18  pc 0000000000457f44  /system/lib64/libart.so (_ZN3art6Thread14CreateCallbackEPv+1140)
  #19  pc 000000000006814c  /system/lib64/libc.so (_ZL15__pthread_startPv+36)
  #20  pc 000000000001f664  /system/lib64/libc.so (__start_thread+68)

Another one

Native crash at signal 5 (SIGTRAP), code 1 (TRAP_BRKPT)

 #00  pc 0000000002088558  /data/app/com.android.chrome-Jp9tISbnFpwsOuTuOENbyA==/base.apk

Another one

tgkill

  #00  pc 000000000006b7d0  /system/lib64/libc.so (tgkill+8)
  #01  pc 000000000001df10  /system/lib64/libc.so (abort+88)
  #02  pc 0000000000007f44  /system/lib64/liblog.so (__android_log_assert+304)
  #03  pc 0000000000171328  /system/lib64/libandroid_runtime.so (_ZN7android6bitmap8toBitmapEP7_JNIEnvP8_jobject+68)
  #04  pc 000000000017066c  /system/lib64/libandroid_runtime.so (_ZN7android9CanvasJNIL10drawBitmapEP7_JNIEnvP8_jobjectlS4_ffliii+76)
  #05  pc 0000000000bbb6d4  /system/framework/arm64/boot-framework.oat (android.graphics.BaseCanvas.nDrawBitmap+228)
  #06  pc 0000000000bcf624  /system/framework/arm64/boot-framework.oat (android.graphics.Canvas.drawBitmap+228)
  #07  pc 00000000011629fc  /system/framework/arm64/boot-framework.oat (android.view.View.draw+4044)
  #08  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #09  pc 00000000011965ec  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1900)
  #10  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #11  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #12  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #13  pc 0000000000508384  /system/lib64/libart.so (art_quick_invoke_stub+580)
  #14  pc 00000000000d84f4  /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
  #15  pc 000000000028258c  /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
  #16  pc 000000000027dac4  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+616)
  #17  pc 00000000004f1b10  /system/lib64/libart.so (MterpInvokeSuperRange+1436)
  #18  pc 00000000004fa114  /system/lib64/libart.so (ExecuteMterpImpl+15124)
  #19  pc 000000000025d9d0  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
  #20  pc 00000000004e3adc  /system/lib64/libart.so (artQuickToInterpreterBridge+1468)
  #21  pc 000000000051181c  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
  #22  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #23  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #24  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #25  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #26  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #27  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #28  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #29  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #30  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #31  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #32  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #33  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #34  pc 0000000001162830  /system/framework/arm64/boot-framework.oat (android.view.View.draw+3584)
  #35  pc 000000000119bc00  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.drawChild+64)
  #36  pc 000000000119643c  /system/framework/arm64/boot-framework.oat (android.view.ViewGroup.dispatchDraw+1468)
  #37  pc 0000000001160f8c  /system/framework/arm64/boot-framework.oat (android.view.View.draw+332)
  #38  pc 0000000001906d1c  /system/framework/arm64/boot-framework.oat (com.android.internal.policy.DecorView.draw+60)
  #39  pc 0000000000508384  /system/lib64/libart.so (art_quick_invoke_stub+580)
  #40  pc 00000000000d84f4  /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
  #41  pc 000000000028258c  /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+352)
  #42  pc 000000000027cc54  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+672)
  #43  pc 00000000004f2d80  /system/lib64/libart.so (MterpInvokeVirtualQuick+680)
  #44  pc 00000000004fdb14  /system/lib64/libart.so (ExecuteMterpImpl+29972)
  #45  pc 000000000025d9d0  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
  #46  pc 00000000002640d0  /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
  #47  pc 000000000027cc34  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
  #48  pc 00000000004f1180  /system/lib64/libart.so (MterpInvokeStatic+468)
  #49  pc 00000000004f9f14  /system/lib64/libart.so (ExecuteMterpImpl+14612)
  #50  pc 000000000025d9d0  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
  #51  pc 00000000002640d0  /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
  #52  pc 000000000027cc34  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
  #53  pc 00000000004f1180  /system/lib64/libart.so (MterpInvokeStatic+468)
  #54  pc 00000000004f9f14  /system/lib64/libart.so (ExecuteMterpImpl+14612)
  #55  pc 000000000025d9d0  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
  #56  pc 00000000002640d0  /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
  #57  pc 000000000027cc34  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
  #58  pc 00000000004f1180  /system/lib64/libart.so (MterpInvokeStatic+468)
  #59  pc 00000000004f9f14  /system/lib64/libart.so (ExecuteMterpImpl+14612)
  #60  pc 000000000025d9d0  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+444)
  #61  pc 00000000002640d0  /system/lib64/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+212)
  #62  pc 000000000027cc34  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+640)
  #63  pc 00000000004f1180  /system/lib64/libart.so (MterpInvokeStatic+468)
adamblack commented 5 years ago

Hi @Lancelittle ,

could you tell me more about your app, which SDK version are you using etc. ?

Would be great to join us at our discord server: https://discord.gg/SbEt98m

Communication is faster and we can create private channel as well.

adamblack commented 5 years ago

Closing due to inactivity. Feel free to open the issue again or you can visit us on our Discord.