Open bmarty opened 4 months ago
Reported by the PlayStore and Sentry:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 26624 >>> io.element.android.x <<< backtrace: #00 pc 0x0000000000094264 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) #01 pc 0x0000000002dccefc /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #02 pc 0x0000000002def7e8 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #03 pc 0x0000000002df1be4 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #04 pc 0x0000000002df1838 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #05 pc 0x0000000002df17cc /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #06 pc 0x0000000002df17c4 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #07 pc 0x0000000000a5d194 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #08 pc 0x0000000001894974 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #09 pc 0x0000000001894734 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #10 pc 0x0000000001894488 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #11 pc 0x0000000001894350 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #12 pc 0x00000000018941c0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #13 pc 0x00000000018b2bd0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #14 pc 0x00000000018b26f0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #15 pc 0x00000000018b1ec0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #16 pc 0x0000000001f7e9f8 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #17 pc 0x0000000001f7e840 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #18 pc 0x0000000001f7e5d4 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #19 pc 0x000000000232a06c /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #20 pc 0x000000000235dfc0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #21 pc 0x000000000001404c /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #22 pc 0x0000000000010a08 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #23 pc 0x00000000000063c8 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk #24 pc 0x00000000000082dc /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/split_config.arm64_v8a.apk (Java_com_sun_jna_Native_invokeVoid+32) #25 pc 0x0000000000225288 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (art_jni_trampoline+152) #26 pc 0x000000000067e864 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (com.sun.jna.Function.invoke+3988) #27 pc 0x000000000067d100 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (com.sun.jna.Function.invoke+1344) #28 pc 0x0000000000474f10 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (com.sun.jna.Library$Handler.invoke+1824) #29 pc 0x000000000050e21c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.reflect.Proxy.invoke+92) #30 pc 0x000000000033b680 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) #31 pc 0x00000000002c2b88 /apex/com.android.art/lib64/libart.so (art::InvokeProxyInvocationHandler(art::ScopedObjectAccessAlreadyRunnable&, char const*, _jobject*, _jobject*, std::__1::vector<jvalue, std::__1::allocator<jvalue> >&)+784) #32 pc 0x00000000002c0678 /apex/com.android.art/lib64/libart.so (artQuickProxyInvokeHandler+820) #33 pc 0x0000000000351a4c /apex/com.android.art/lib64/libart.so (art_quick_proxy_invoke_handler+76) #34 pc 0x0000000000b9df54 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (org.matrix.rustcomponents.sdk.SyncService$stop$5.invoke+2932) #35 pc 0x0000000000b9cf3c /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (org.matrix.rustcomponents.sdk.SyncService$stop$5.invoke+2428) #36 pc 0x0000000000ac06c4 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt.uniffiRustCallAsync+2996) #37 pc 0x0000000000b916e0 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (org.matrix.rustcomponents.sdk.Matrix_sdk_ffiKt$uniffiRustCallAsync$1.invokeSuspend+96) #38 pc 0x00000000006c05fc /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+156) #39 pc 0x0000000000acb234 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (kotlinx.coroutines.DispatchedTask.run+1268) #40 pc 0x00000000003da7b4 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (androidx.fragment.app.Fragment$4.run+628) #41 pc 0x0000000000ae3598 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (kotlinx.coroutines.scheduling.TaskImpl.run+72) #42 pc 0x0000000000a92210 /data/app/~~ZsSFG_LjP-G5VrYViMWHnw==/io.element.android.x-_EjBtiUW5PHHLmq4JRJ7bQ==/oat/arm64/base.odex (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run+2784) #43 pc 0x000000000033b3a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) #44 pc 0x000000000023a5d0 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) #45 pc 0x0000000000539a7c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) #46 pc 0x0000000000101d5c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) #47 pc 0x0000000000095bc0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Since to occur since 0.4.7 and less and more recent version.
Given a few issues I found while implementing QR Code login which looked a lot like this, I think we're trying to call SyncService.stop() when either the Client or the SyncService have already been destroyed.
SyncService.stop()
Client
SyncService
Reported by the PlayStore and Sentry:
Since to occur since 0.4.7 and less and more recent version.