Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGABRT : Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size #1576

Closed
Shabinder opened this issue Nov 20, 2023 · 2 comments
Closed

Comments

@Shabinder
Copy link

Shabinder commented Nov 20, 2023

How frequently does the bug occur?

Sometimes

Description

We are seeing following crashes reported on our Android App (distributed via playstore)

SIGABRT: [split_config.arm64_v8a.apk!librealmc.so] Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size

Some devices which are inflicted:

  • vivo 2111
  • OnePlus OnePlusNordCE
  • POCO karna

Stacktrace & log output

[split_config.arm64_v8a.apk!librealmc.so] Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size

Pure virtual function called!


backtrace:
  #00  pc 0x000000000007da34  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
  #01  pc 0x000000000083c954  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #02  pc 0x000000000083dab8  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #03  pc 0x0000000000564e6c  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #04  pc 0x000000000036cb64  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #05  pc 0x00000000005bc4d4  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #06  pc 0x00000000005bba48  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #07  pc 0x00000000005baf30  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #08  pc 0x0000000000313364  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #09  pc 0x00000000002eab9c  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/split_config.arm64_v8a.apk!librealmc.so (Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size+80) (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #10  pc 0x000000000034aa30  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144)
  #11  pc 0x00000000005bc59c  /apex/com.android.art/lib64/libart.so (nterp_helper+1948)
  #12  pc 0x0000000001730a8c  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (io.realm.kotlin.internal.ManagedRealmList.U+60)
  #13  pc 0x00000000005bcd54  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #14  pc 0x0000000001787f20  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (kotlin.collections.AbstractMutableList.size)
  #15  pc 0x0000000000479f9c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.AbstractList$Itr.hasNext+60)
  #16  pc 0x000000000051a744  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.AbstractCollection.toString+84)
  #17  pc 0x00000000004e85a8  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.StringBuilder.append+72)
  #18  pc 0x00000000005bcdb0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
  #19  pc 0x00000000014ce072  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (com.subconscious.thrive.models.cohort.CohortModel.toString+66)
  #20  pc 0x00000000004e85a8  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.StringBuilder.append+72)
  #21  pc 0x000000000051a7e4  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.AbstractCollection.toString+244)
  #22  pc 0x00000000004e85a8  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.StringBuilder.append+72)
  #23  pc 0x00000000005bcdb0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
  #24  pc 0x000000000136f0e6  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (com.subconscious.thrive.common.cohorts.CohortManager$filterCohortsForSectionVariant$$inlined$map$1$2.emit+1546)
  #25  pc 0x00000000005bdb74  /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
  #26  pc 0x0000000001da6dc2  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (kotlinx.coroutines.flow.StateFlowImpl.collect+402)
  #27  pc 0x00000000005bcd54  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #28  pc 0x0000000001da6a38  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (kotlinx.coroutines.flow.StateFlowImpl$collect$1.invokeSuspend+24)
  #29  pc 0x00000000005bcd54  /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
  #30  pc 0x0000000001793acc  /data/app/~~zS5ObOwx2IORomtK9QptyA==/com.subconscious.thrive-gdKchnn34ILGvF2CofgXCg==/oat/arm64/base.vdex (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+16)
  #31  pc 0x0000000002033600  /memfd:jit-cache

Can you reproduce the bug?

No

Reproduction Steps

No response

Version

1.10.0

What Atlas App Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

Android 13 and 12

Build environment

Android Studio version: Iguana
Gradle version: 8.0.2

@Shabinder
Copy link
Author

More Seemingly Related Crashes:

Check failed: klass->IsResolved() && !klass->IsErroneousResolved() (Retired)java.lang.Class<㄀ᓄㄨᓄㅐᓄㅸᓄㆠ>: state=Retired

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 15066 >>> com.subconscious.thrive <<<

backtrace:
  #00  pc 0x000000000008ddb4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
  #01  pc 0x00000000006f305c  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+596)
  #02  pc 0x0000000000016ea8  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80)
  #03  pc 0x0000000000016450  /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352)
  #04  pc 0x00000000004400d8  /apex/com.android.art/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+5888)
  #05  pc 0x00000000003bacd4  /apex/com.android.art/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+100)
  #06  pc 0x00000000005e5fbc  /apex/com.android.art/lib64/libart.so (art::JNI<false>::GetMethodID(_JNIEnv*, _jclass*, char const*, char const*)+1820)
  #07  pc 0x00000000002fc338  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/split_config.arm64_v8a.apk!librealmc.so (register_results_notification_cb(realm_results*, _jobject*)+380) (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #08  pc 0x00000000002f9b34  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/split_config.arm64_v8a.apk!librealmc.so (Java_io_realm_kotlin_internal_interop_realmcJNI_register_1results_1notification_1cb+24) (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
  #09  pc 0x000000000049ca44  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/oat/arm64/base.odex (art_jni_trampoline+132)
  #10  pc 0x00000000014e6c8c  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/oat/arm64/base.odex (io.realm.kotlin.internal.RealmResultsImpl.q+364)
  #11  pc 0x00000000015f13a8  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/oat/arm64/base.odex (io.realm.kotlin.internal.SuspendableNotifier$registerObserver$1$1.invokeSuspend+1304)
  #12  pc 0x00000000013f6b54  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/oat/arm64/base.odex (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+164)
  #13  pc 0x0000000001896adc  /data/app/~~NBnzbanjR9uUSefw2H8Pwg==/com.subconscious.thrive-shTcHa2DWuWK_gnsJkORFg==/oat/arm64/base.odex (kotlinx.coroutines.DispatchedTask.run+1164)
  #14  pc 0x0000000000308ed0  /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+976)
  #15  pc 0x00000000003060b8  /system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+72)
  #16  pc 0x000000000017f210  /system/framework/arm64/boot.oat (java.lang.Thread.run+80)
  #17  pc 0x0000000000457d6c  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556)
  #18  pc 0x0000000000483be4  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+156)
  #19  pc 0x00000000004838b0  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+400)
  #20  pc 0x00000000005cc068  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1680)
  #21  pc 0x00000000000fd040  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
  #22  pc 0x000000000008f5e0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@rorbech
Copy link
Contributor

rorbech commented Nov 20, 2023

Hi @Shabinder. As you point out it seems related to #1577. It against look like some symbols are somehow stripped from the APK. I will close this issue to avoid duplicating discussions and we can reopen if we identify the root causes to be different.

@rorbech rorbech closed this as completed Nov 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants