tincubeth / android

Android lib to use tincubed
2 stars 0 forks source link

Accessed stale Local 0x79 (index 7 in a table of size 1) #4

Open ligi opened 4 years ago

ligi commented 4 years ago

got this via the pre-launch report for one device.

Issue: Native crash of org.walleth
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/walleye/walleye:9/PQ3A.190801.002/5670241:user/release-keys'
Revision: 'MP1'
ABI: 'arm64'
pid: 11899, tid: 11977, name: DefaultDispatch  >>> org.walleth <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'indirect_reference_table.cc:59] JNI ERROR (app bug): accessed stale Local 0x79  (index 7 in a table of size 1)'
    x0  0000000000000000  x1  0000000000002ec9  x2  0000000000000006  x3  0000000000000008
    x4  0000000000000000  x5  0000000000000000  x6  0000000000000000  x7  00000000000007b9
    x8  0000000000000083  x9  0000007418af79a0  x10 fffffff87ffffbdf  x11 0000000000000001
    x12 ffffffffa1e1248c  x13 00000000162e00be  x14 0000000022c5c817  x15 0000000000000000
    x16 0000007418b302c8  x17 0000007418a6e2d8  x18 0000000000000000  x19 0000000000002e7b
    x20 0000000000002ec9  x21 0000000000000083  x22 0000007390947000  x23 000000737b1359e0
    x24 0000000000000000  x25 0000000000000012  x26 0000000000000005  x27 0000007396e8dbf3
    x28 0000007396e8daa7  x29 000000737f343bc0
    sp  000000737f343b80  lr  0000007418a62a90  pc  0000007418a62abc
backtrace:
    #00 pc 0000000000021abc  /system/lib64/libc.so (abort+124)
    #01 pc 000000000046ad00  /system/lib64/libart.so (art::Runtime::Abort(char const*)+1208)
    #02 pc 0000000000008d2c  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
    #03 pc 00000000002417e4  /system/lib64/libart.so (art::IndirectReferenceTable::AbortIfNoCheckJNI(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)+244)
    #04 pc 00000000002ef6c0  /system/lib64/libart.so (art::IndirectReferenceTable::GetChecked(void*) const+432)
    #05 pc 000000000049b854  /system/lib64/libart.so (art::Thread::DecodeJObject(_jobject*) const+100)
    #06 pc 00000000003716ac  /system/lib64/libart.so (art::JNI::GetObjectArrayElement(_JNIEnv*, _jobjectArray*, int)+604)
    #07 pc 000000000000eeac  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/lib/arm64/libin3_jni.so (Java_in3_IN3_transport+424)
    #08 pc 000000000002ad0c  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/lib/arm64/libin3_jni.so (in3_send_ctx+224)
    #09 pc 000000000002acb4  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/lib/arm64/libin3_jni.so (in3_send_ctx+136)
    #10 pc 000000000000e4ac  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/lib/arm64/libin3_jni.so (Java_in3_IN3_send+272)
    #11 pc 000000000003b5b8  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.odex (offset 0x3b000) (in3.IN3.send+152)
    #12 pc 000000000055cb88  /system/lib64/libart.so (art_quick_invoke_stub+584)
    #13 pc 00000000000cf740  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
    #14 pc 00000000002823b0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
    #15 pc 000000000027c36c  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+948)
    #16 pc 000000000052f468  /system/lib64/libart.so (MterpInvokeVirtualQuick+584)
    #17 pc 0000000000552e94  /system/lib64/libart.so (ExecuteMterpImpl+29972)
    #18 pc 0000000000c60e88  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.walleth.activities.IN3Transport.call+20)
    #19 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #20 pc 000000000025b9e8  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
    #21 pc 000000000027c350  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
    #22 pc 000000000052d390  /system/lib64/libart.so (MterpInvokeInterface+1392)
    #23 pc 000000000054f314  /system/lib64/libart.so (ExecuteMterpImpl+14740)
    #24 pc 0000000000c0041c  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.kethereum.rpc.RPCTransport$DefaultImpls.call+80)
    #25 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #26 pc 000000000025b9e8  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
    #27 pc 000000000027c350  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
    #28 pc 000000000052d91c  /system/lib64/libart.so (MterpInvokeStatic+204)
    #29 pc 000000000054f294  /system/lib64/libart.so (ExecuteMterpImpl+14612)
    #30 pc 0000000000c60f38  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.walleth.activities.IN3Transport.call+20)
    #31 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #32 pc 000000000025b9e8  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
    #33 pc 000000000027c350  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
    #34 pc 000000000052d390  /system/lib64/libart.so (MterpInvokeInterface+1392)
    #35 pc 000000000054f314  /system/lib64/libart.so (ExecuteMterpImpl+14740)
    #36 pc 0000000000bff9b8  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.kethereum.rpc.BaseEthereumRPC.stringCall+4)
    #37 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #38 pc 000000000025b9e8  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
    #39 pc 000000000027c350  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
    #40 pc 000000000052d758  /system/lib64/libart.so (MterpInvokeDirect+296)
    #41 pc 000000000054f214  /system/lib64/libart.so (ExecuteMterpImpl+14484)
    #42 pc 0000000000bff70a  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.kethereum.rpc.BaseEthereumRPC.estimateGas+22)
    #43 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #44 pc 000000000025b9e8  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
    #45 pc 000000000027c350  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
    #46 pc 000000000052d390  /system/lib64/libart.so (MterpInvokeInterface+1392)
    #47 pc 000000000054f314  /system/lib64/libart.so (ExecuteMterpImpl+14740)
    #48 pc 0000000000c8b196  /data/app/org.walleth-X7hLB_JSmi8PDlPOXANnpg==/oat/arm64/base.vdex (org.walleth.transactions.CreateTransactionActivity$estimateGasLimit$1$result$1.invokeSuspend+82)
    #49 pc 0000000000255e68  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2088410233+496)
    #50 pc 000000000051cb58  /system/lib64/libart.so (artQuickToInterpreterBridge+1032)
    #51 pc 0000000000565cfc  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
    #52 pc 000000000012207c  /dev/ashmem/dalvik-jit-code-cache (deleted)

Test ID 10

Screen size 1080 × 1920

Test Duration 300 seconds

Screen density (dpi) 420 Model Name Pixel 2 RAM 4096 MB Manufacturer Google OpenGL ES Version 3.2 Android Version Android 9 Native platform armeabi-v7a Locale en_US CPU Make Qualcomm CPU Model MSM8998

cc @simon-jentzsch