Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-964

SIGSEGV: register_results_notification_cb(realm_results*, _jobject*)

      How frequently does the bug occur?

      Sometimes

      Description

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

      [split_config.arm64_v8a.apk!librealmc.so] register_results_notification_cb(realm_results_, jobject)

      Only Samsung devices are inflicted like:

      • samsung m32
      • samsung b5q
      • samsung beyond2
      • samsung a32x

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [split_config.arm64_v8a.apk!librealmc.so] register_results_notification_cb(realm_results*, _jobject*)
      
      *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      pid: 0, tid: 10238 >>> com.subconscious.thrive <<<
      
      backtrace:
        #00  pc 0x0000000000460ba0  /apex/com.android.art/lib64/libart.so (art::FindMethodJNI(art::ScopedObjectAccess const&, _jclass*, char const*, char const*, bool)+80)
        #01  pc 0x000000000046cf78  /apex/com.android.art/lib64/libart.so (art::JNI<false>::GetMethodID(_JNIEnv*, _jclass*, char const*, char const*)+616)
        #02  pc 0x00000000002fc338  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/split_config.arm64_v8a.apk!librealmc.so (register_results_notification_cb(realm_results*, _jobject*)+380) (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
        #03  pc 0x00000000002f9b34  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/split_config.arm64_v8a.apk!librealmc.so (Java_io_realm_kotlin_internal_interop_realmcJNI_register_1results_1notification_1cb+24) (BuildId: 533e53c62871f9d2818ed137fd0c02c6241c7609)
        #04  pc 0x0000000000394cc4  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/oat/arm64/base.odex (art_jni_trampoline+116)
        #05  pc 0x00000000010a6004  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/oat/arm64/base.odex (io.realm.kotlin.internal.RealmResultsImpl.q+356)
        #06  pc 0x000000000116c3a0  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/oat/arm64/base.odex (io.realm.kotlin.internal.SuspendableNotifier$registerObserver$1$1.invokeSuspend+1072)
        #07  pc 0x00000000010072d4  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/oat/arm64/base.odex (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+180)
        #08  pc 0x000000000130b3dc  /data/app/~~RmIHjfJYizSUN8-Lh1EESw==/com.subconscious.thrive-NBb_Gunk0DIJ7S4GEKb0bg==/oat/arm64/base.odex (kotlinx.coroutines.DispatchedTask.run+1052)
        #09  pc 0x000000000037b5ec  /apex/com.android.art/javalib/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+988)
        #10  pc 0x0000000000374e14  /apex/com.android.art/javalib/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+68)
        #11  pc 0x00000000001bf2ec  /apex/com.android.art/javalib/arm64/boot.oat (java.lang.Thread.run+76)
        #12  pc 0x0000000000218964  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
        #13  pc 0x00000000002851f0  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+184)
        #14  pc 0x0000000000628a24  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460)
        #15  pc 0x0000000000678488  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1184)
        #16  pc 0x00000000000b4b38  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
        #17  pc 0x0000000000052c60  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
      

      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

            Assignee:
            claus.rorbech@mongodb.com Claus Rørbech (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: