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

Crash caused by JNI #7118

Closed
Raynor999 opened this issue Sep 21, 2020 · 19 comments · Fixed by realm/realm-core#3935
Closed

Crash caused by JNI #7118

Raynor999 opened this issue Sep 21, 2020 · 19 comments · Fixed by realm/realm-core#3935
Assignees

Comments

@Raynor999
Copy link

Raynor999 commented Sep 21, 2020

Goal

Not crash

Look like crash happened at the jni ,It's a little hard to debug for me。

Steps & Code to Reproduce

 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
26967-26967 A/DEBUG: Build fingerprint: 'HUAWEI/LYA-AL00L/HWLYA:10/HUAWEILYA-AL00L/10.1.0.163C00:user/release-keys'
26967-26967 A/DEBUG: Revision: '0'
26967-26967 A/DEBUG: ABI: 'arm'
26967-26967 E/libc: Access denied finding property "persist.mygote.disable"
26967-26967 E/libc: Access denied finding property "persist.mygote.escape.enable"
26967-26967 A/DEBUG: SYSVMTYPE: Maple
    APPVMTYPE: Art
26967-26967 A/DEBUG: Timestamp: 2020-09-21 20:38:21+0800
26967-26967 A/DEBUG: pid: 26483, tid: 26562, name: DefaultDispatch  >>> com.sundayfun.daycam <<<
26967-26967 A/DEBUG: uid: 10666
26967-26967 A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x271d
26967-26967 A/DEBUG:     r0  ba5f1f40  r1  08001c58  r2  00002719  r3  00002721
26967-26967 A/DEBUG:     r4  ba5f1f40  r5  ef4af17c  r6  ba5f1f38  r7  bacb2520
26967-26967 A/DEBUG:     r8  08001c58  r9  392515bb  r10 d1ae7490  r11 2aa7d22a
26967-26967 A/DEBUG:     ip  ffffffff  sp  bacb24e8  lr  b7b4dfa3  pc  b7b4dfe6
924-1135 E/ScreemCommon: unknow fps mode
924-1135 E/ScreemCommon: failed to recording jank bigdata of different frame rates
1244-1960 E/HwDualBandManager: isAPInConfig, result.SSID error!
924-1135 E/ScreemCommon: unknow fps mode
924-1135 E/ScreemCommon: failed to recording jank bigdata of different frame rates
1244-2165 E/ProcessInfoCollector: getProcessInfo: failed to find this proc 
27004-27004 E/i.android.hwou: Not starting debugger since process cannot load the jdwp agent.
26967-26967 A/DEBUG: backtrace:
26967-26967 A/DEBUG:       #00 pc 00141fe6  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #01 pc 00141f9f  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #02 pc 000ab82b  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #03 pc 00193f2d  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #04 pc 000b8f9b  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #05 pc 0010fa7b  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #06 pc 0010fa7b  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #07 pc 0010fa7b  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #08 pc 0010fc01  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #09 pc 001926a3  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #10 pc 00195315  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #11 pc 0010d6ef  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #12 pc 0010d8d7  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #13 pc 001ce8b5  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #14 pc 0010dbf9  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #15 pc 000e8021  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #16 pc 000e7eb7  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #17 pc 000e8c13  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #18 pc 000aa1c7  /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (Java_io_realm_internal_OsResults_nativeSize+10) (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
26967-26967 A/DEBUG:       #19 pc 000e5519  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #20 pc 02069cef  /memfd:/jit-cache (deleted) (io.realm.internal.OsResults.size+46)
26967-26967 A/DEBUG:       #21 pc 0207d655  /memfd:/jit-cache (deleted) (io.realm.RealmQuery.count+84)
26967-26967 A/DEBUG:       #22 pc 000e0bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #23 pc 004494fb  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #24 pc 000e8ff5  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+160) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #25 pc 0021a63f  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+274) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #26 pc 002167a7  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+802) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #27 pc 0043e6b1  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+584) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #28 pc 000db814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #29 pc 00454cb8  [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.data.extension.StoryDaoExtensionKt.queryContactUnreadStoryCount+204)
26967-26967 A/DEBUG:       #30 pc 00440f31  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+932) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #31 pc 000db994  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #32 pc 0056fe18  [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.story.extension.StoryExtensionKt.handleStoryItem+388)
26967-26967 A/DEBUG:       #33 pc 004437c9  /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+644) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #34 pc 000dbc94  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #35 pc 0056fc7a  [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.story.extension.StoryExtensionKt.handleStoryItem$default+50)
26967-26967 A/DEBUG:       #36 pc 004437c9  /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+644) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #37 pc 000dbc94  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #38 pc 003ddc34  [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.contact.extension.ContactExtensionKt$getPublicStories$2$invokeSuspend$$inlined$realmUseWithTransition$1.execute+708)
26967-26967 A/DEBUG:       #39 pc 0043fe25  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1468) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #40 pc 000dba14  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #41 pc 0046766e  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes4.dex] (io.realm.Realm.executeTransaction+10)
26967-26967 A/DEBUG:       #42 pc 0043e909  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #43 pc 000db814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #44 pc 003de222  [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.contact.extension.ContactExtensionKt$getPublicStories$2.invokeSuspend+1062)
26967-26967 A/DEBUG:       #45 pc 0043e909  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #46 pc 000db814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #47 pc 00569688  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes4.dex] (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+40)
26967-26967 A/DEBUG:       #48 pc 0043fe25  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1468) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #49 pc 000dba14  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #50 pc 00142922  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.DispatchedTask.run+334)
26967-26967 A/DEBUG:       #51 pc 0043e909  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #52 pc 000db814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #53 pc 00190c4a  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely+2)
26967-26967 A/DEBUG:       #54 pc 0043e909  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #55 pc 000db814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #56 pc 0018f84a  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask+34)
26967-26967 A/DEBUG:       #57 pc 0044082b  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+994) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #58 pc 000db914  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #59 pc 0018f97c  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker+56)
26967-26967 A/DEBUG:       #60 pc 0044082b  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+994) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #61 pc 000db914  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #62 pc 0018f92c  [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run)
26967-26967 A/DEBUG:       #63 pc 001f6a93  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.16045327618246135572+194) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #64 pc 001fb105  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+120) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #65 pc 004329ed  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+832) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #66 pc 000e55a1  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #67 pc 000e0bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #68 pc 004494fb  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #69 pc 000e8ff5  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+160) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #70 pc 00389ff3  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #71 pc 0038acfd  /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+300) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #72 pc 003bc32b  /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+966) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
26967-26967 A/DEBUG:       #73 pc 0009c1b7  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 2ae2ed355dc68e7fe1e09d70518111d1)
26967-26967 A/DEBUG:       #74 pc 00055657  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 2ae2ed355dc68e7fe1e09d70518111d1)
2624-2624 E/CHR_ChrModemStatistics: sensors invalid

Version of Realm and tooling

Realm version(s): 7.0.6

Realm Sync feature enabled: No

Android Studio version: AS 4.0

Android Build Tools version: 29.0.0

Which Android version and device(s): Android 10, Huawei Mate20 Pro

@sdex
Copy link

sdex commented Sep 21, 2020

I have a similar report from another device:
Google Pixel 2 XL (taimen), 3840MB RAM, Android 10

backtrace:
  #00  pc 00000000002a31bc  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #01  pc 0000000000119e30  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #02  pc 0000000000119d68  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #03  pc 0000000000119d04  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #04  pc 000000000028ab68  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #05  pc 000000000028aa10  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #06  pc 000000000028ca2c  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #07  pc 00000000002530d0  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #08  pc 0000000000252f54  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #09  pc 000000000011fe5c  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #10  pc 0000000000251dd8  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #11  pc 0000000000257404  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #12  pc 00000000002565b4  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #13  pc 00000000002575bc  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #14  pc 0000000000259918  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #15  pc 000000000018ae5c  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #16  pc 000000000018a998  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #17  pc 000000000018a90c  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #18  pc 0000000000176a08  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #19  pc 000000000011f3e0  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000) (Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm+132)
  #20  pc 0000000000051e94  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.odex (art_jni_trampoline+196)
  #21  pc 00000000001365b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #22  pc 00000000001450cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #23  pc 00000000002e1f98  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #24  pc 00000000002de090  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+656)
  #25  pc 00000000005a5874  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStaticRange+236)
  #26  pc 0000000000130c94  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static_range+20)
  #27  pc 0000000000992ddc  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.<init>+108)
  #28  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #29  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #30  pc 0000000000992b86  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.getInstance+26)
  #31  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #32  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #33  pc 000000000095a4a8  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.a.<init>+176)
  #34  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #35  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #36  pc 000000000095a3dc  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.a.<init>+8)
  #37  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #38  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #39  pc 00000000009675b4  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.w.<init>+24)
  #40  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #41  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #42  pc 0000000000966d24  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.w.a+4)
  #43  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #44  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #45  pc 00000000009623b8  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.y.a+8)
  #46  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #47  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #48  pc 0000000000961f7e  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.y.b+234)
  #49  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #50  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #51  pc 0000000000961e4e  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.y.a+22)
  #52  pc 00000000002b28c8  /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
  #53  pc 0000000000591348  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
  #54  pc 000000000013f468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #55  pc 00000000001365b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #56  pc 00000000001450cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #57  pc 00000000002e1f98  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #58  pc 00000000002dd024  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
  #59  pc 00000000005a2a08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
  #60  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #61  pc 0000000000966dc4  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (io.realm.w.I+56)
  #62  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #63  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #64  pc 00000000003bff46  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (com.getmonument.app.sync.e.b+58)
  #65  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #66  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #67  pc 00000000003bfef2  /data/app/com.myapp.pckg-019kzvE1InmvRQPfleTDNw==/oat/arm64/base.vdex (com.getmonument.app.sync.e.onPerformSync+50)
  #68  pc 00000000002b28c8  /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
  #69  pc 0000000000591348  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
  #70  pc 000000000013f468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #71  pc 0000000000410ce0  /system/framework/arm64/boot-framework.oat (android.content.AbstractThreadedSyncAdapter$SyncThread.run+720)
  #72  pc 0000000000136334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
  #73  pc 00000000001450ac  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
  #74  pc 00000000004b0390  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
  #75  pc 00000000004b1440  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
  #76  pc 00000000004f1988  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
  #77  pc 00000000000e230c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #78  pc 0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@ppamorim
Copy link

@sdex Is this in the same version 7.0.6? When this is happening (when the app starts for example)?

@sdex
Copy link

sdex commented Sep 21, 2020

@sdex Is this in the same version 7.0.6? When this is happening (when the app starts for example)?

It's in 7.0.5. The user says that the app crashes immediately after launch.

@ppamorim
Copy link

@cmelchior @jedelbo Could you please check this out?

@ganfra
Copy link

ganfra commented Sep 22, 2020

Got the same issue after some usage. Then it crashes directly when getting a Realm instance.
At least since 7.0.6

@edualonso
Copy link
Contributor

edualonso commented Sep 22, 2020

Unfolded stacktrace for #7118 (comment):

Unrolling /Users/eduardo.lopez/git/realm-java/tools/dump.txt from Realm Java 7.0.6 (base) using ABI armeabi-v7a
********** Crash dump: **********
Build fingerprint: 'HUAWEI/LYA-AL00L/HWLYA:10/HUAWEILYA-AL00L/10.1.0.163C00:user/release-keys'
#00 0x00141fe6 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::NodeHeader::get_width_from_header(char const*)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/node_header.hpp:106:41
                                                                                                realm::Node::init_from_mem(realm::MemRef)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/node.hpp:132:0
#01 0x00141f9f /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Array::init_from_mem(realm::MemRef)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/array.cpp:223:26
#02 0x000ab82b /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Array::init_from_ref(unsigned int)
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/array.hpp:169:9
#03 0x00193f2d /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Cluster::init_leaf(realm::ColKey, realm::ArrayPayload*) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/cluster.cpp:1529:11
#04 0x000b8f9b /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::LinkMap::set_cluster(realm::Cluster const*)
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/query_expression.hpp:1863:18
#05 0x0010fa7b /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::ParentNode::set_cluster(realm::Cluster const*)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query_engine.hpp:210:22
#06 0x0010fa7b /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::ParentNode::set_cluster(realm::Cluster const*)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query_engine.hpp:210:22
#07 0x0010fa7b /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::ParentNode::set_cluster(realm::Cluster const*)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query_engine.hpp:210:22
#08 0x0010fc01 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const::$_4::operator()(realm::Cluster const*) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query.cpp:1354:27
                                                                                                realm::util::FunctionRef<bool (realm::Cluster const*)>::FunctionRef<realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const::$_4&>(realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const::$_4&)::'lambda'(void*, realm::Cluster const*)::operator()(void*, realm::Cluster const*) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/util/function_ref.hpp:64:0
                                                                                                realm::util::FunctionRef<bool (realm::Cluster const*)>::FunctionRef<realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const::$_4&>(realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const::$_4&)::'lambda'(void*, realm::Cluster const*)::__invoke(void*, realm::Cluster const*)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/util/function_ref.hpp:63:0
#09 0x001926a3 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::util::FunctionRef<bool (realm::Cluster const*)>::operator()(realm::Cluster const*) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/util/function_ref.hpp:77:16
                                                                                                realm::ClusterNodeInner::traverse(realm::util::FunctionRef<bool (realm::Cluster const*)>, long long) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/cluster.cpp:703:0
#10 0x00195315 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::ClusterTree::traverse(realm::util::FunctionRef<bool (realm::Cluster const*)>) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/cluster.cpp:2054:62
#11 0x0010d6ef /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Table::traverse_clusters(realm::util::FunctionRef<bool (realm::Cluster const*)>) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/table.hpp:319:27
#12 0x0010d8d7 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Query::find_all(realm::ConstTableView&, unsigned int, unsigned int, unsigned int) const
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query.cpp:1368:22
#13 0x001ce8b5 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::ConstTableView::do_sync()
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/table_view.cpp:602:17
#14 0x0010dbf9 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Query::find_all(realm::DescriptorOrdering const&)
                                                                                                /mnt/jenkins/workspace/realm_realm-core_release_6.0.26@3/build-android-armeabi-v7a-Release/../src/realm/query.cpp:1492:9
#15 0x000e8021 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Results::do_evaluate_query_if_needed(bool)
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/results.cpp:383:40
#16 0x000e7eb7 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Results::do_size()
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/results.cpp:159:13
#17 0x000e8c13 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                realm::Results::size()
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/results.cpp:140:12
#18 0x000aa1c7 /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/lib/arm/librealm-jni.so (Java_io_realm_internal_OsResults_nativeSize+10) (BuildId: b20acc7e18428497ad7096f513bea1ee13068ade)
                                                                                                Java_io_realm_internal_OsResults_nativeSize
                                                                                                /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsResults.cpp:142:57
#19 0x000e5519 /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#20 0x02069cef /memfd:/jit-cache (deleted) (io.realm.internal.OsResults.size+46)
#21 0x0207d655 /memfd:/jit-cache (deleted) (io.realm.RealmQuery.count+84)
#22 0x000e0bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#23 0x004494fb /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#24 0x000e8ff5 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+160) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#25 0x0021a63f /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+274) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#26 0x002167a7 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+802) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#27 0x0043e6b1 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+584) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#28 0x000db814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#29 0x00454cb8 [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.data.extension.StoryDaoExtensionKt.queryContactUnreadStoryCount+204)
#30 0x00440f31 /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+932) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#31 0x000db994 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#32 0x0056fe18 [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.story.extension.StoryExtensionKt.handleStoryItem+388)
#33 0x004437c9 /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+644) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#34 0x000dbc94 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#35 0x0056fc7a [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.story.extension.StoryExtensionKt.handleStoryItem$default+50)
#36 0x004437c9 /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+644) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#37 0x000dbc94 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#38 0x003ddc34 [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.contact.extension.ContactExtensionKt$getPublicStories$2$invokeSuspend$$inlined$realmUseWithTransition$1.execute+708)
#39 0x0043fe25 /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1468) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#40 0x000dba14 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#41 0x0046766e [anon:dalvik-classes4.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes4.dex] (io.realm.Realm.executeTransaction+10)
#42 0x0043e909 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#43 0x000db814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#44 0x003de222 [anon:dalvik-classes3.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes3.dex] (com.sundayfun.daycam.contact.extension.ContactExtensionKt$getPublicStories$2.invokeSuspend+1062)
#45 0x0043e909 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#46 0x000db814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#47 0x00569688 [anon:dalvik-classes4.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes4.dex] (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+40)
#48 0x0043fe25 /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1468) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#49 0x000dba14 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#50 0x00142922 [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.DispatchedTask.run+334)
#51 0x0043e909 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#52 0x000db814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#53 0x00190c4a [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely+2)
#54 0x0043e909 /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1184) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#55 0x000db814 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#56 0x0018f84a [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask+34)
#57 0x0044082b /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+994) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#58 0x000db914 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#59 0x0018f97c [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker+56)
#60 0x0044082b /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+994) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#61 0x000db914 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#62 0x0018f92c [anon:dalvik-classes5.dex extracted in memory from /data/app/com.sundayfun.daycam-s04His5XNhnJOAK75i_IPQ==/base.apk!classes5.dex] (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run)
#63 0x001f6a93 /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.16045327618246135572+194) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#64 0x001fb105 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+120) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#65 0x004329ed /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+832) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#66 0x000e55a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#67 0x000e0bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#68 0x004494fb /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#69 0x000e8ff5 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+160) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#70 0x00389ff3 /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#71 0x0038acfd /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+300) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#72 0x003bc32b /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+966) (BuildId: 2e55b99bfc5b904dcb28f4ff4b636f3a)
#73 0x0009c1b7 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 2ae2ed355dc68e7fe1e09d70518111d1)
#74 0x00055657 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 2ae2ed355dc68e7fe1e09d70518111d1)
Crash dump is completed

@edualonso
Copy link
Contributor

edualonso commented Sep 22, 2020

@sdex could you provide us with the full stacktrace for the crash? The one you posted above (#7118 (comment)) is incomplete. It should start with *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***, then we could determine if it's the same crash or not.

@sdex
Copy link

sdex commented Sep 22, 2020

@edualonso I've copied it from play console, there is almost no additional info.
This report from updated version of my app with realm 7.0.6.

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.myapp.pckg <<<

backtrace:
  #00  pc 00000000002a334c  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #01  pc 0000000000119e30  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #02  pc 0000000000119d68  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #03  pc 0000000000119d04  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #04  pc 000000000028ac00  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #05  pc 000000000028aaa8  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #06  pc 000000000028cac4  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #07  pc 0000000000253168  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #08  pc 0000000000252fec  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #09  pc 000000000011fe5c  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #10  pc 0000000000251e70  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #11  pc 000000000025749c  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #12  pc 000000000025664c  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #13  pc 0000000000257654  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #14  pc 00000000002599b0  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #15  pc 000000000018aef8  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #16  pc 000000000018aa34  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #17  pc 000000000018a9a8  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #18  pc 0000000000176aa4  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
  #19  pc 000000000011f3e0  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000) (Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm+132)
  #20  pc 0000000000051e94  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.odex (art_jni_trampoline+196)
  #21  pc 00000000001365b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #22  pc 00000000001450cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #23  pc 00000000002e1f98  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #24  pc 00000000002de090  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+656)
  #25  pc 00000000005a5874  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStaticRange+236)
  #26  pc 0000000000130c94  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static_range+20)
  #27  pc 0000000000992dd8  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.<init>+108)
  #28  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #29  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #30  pc 0000000000992b82  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.getInstance+26)
  #31  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #32  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #33  pc 000000000095a4a4  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.a.<init>+176)
  #34  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #35  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #36  pc 000000000095a3d8  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.a.<init>+8)
  #37  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #38  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #39  pc 00000000009675b0  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.<init>+24)
  #40  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #41  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #42  pc 0000000000966d20  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.a+4)
  #43  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #44  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #45  pc 00000000009623b4  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.a+8)
  #46  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #47  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #48  pc 0000000000961f7a  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.b+234)
  #49  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #50  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #51  pc 0000000000961e4a  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.a+22)
  #52  pc 00000000002b28c8  /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
  #53  pc 0000000000591348  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
  #54  pc 000000000013f468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #55  pc 00000000001365b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #56  pc 00000000001450cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #57  pc 00000000002e1f98  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #58  pc 00000000002dd024  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
  #59  pc 00000000005a2a08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
  #60  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #61  pc 0000000000966dc0  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.I+56)
  #62  pc 00000000005a2d08  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #63  pc 0000000000130994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #64  pc 00000000003bff42  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (com.getmonument.app.sync.e.b+58)
  #65  pc 00000000005a2500  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #66  pc 0000000000130914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #67  pc 00000000003bfeee  /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (com.getmonument.app.sync.e.onPerformSync+50)
  #68  pc 00000000002b28c8  /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
  #69  pc 0000000000591348  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
  #70  pc 000000000013f468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #71  pc 0000000000410ce0  /system/framework/arm64/boot-framework.oat (android.content.AbstractThreadedSyncAdapter$SyncThread.run+720)
  #72  pc 0000000000136334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
  #73  pc 00000000001450ac  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
  #74  pc 00000000004b0390  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
  #75  pc 00000000004b1440  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
  #76  pc 00000000004f1988  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
  #77  pc 00000000000e230c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #78  pc 0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@jedelbo
Copy link

jedelbo commented Sep 22, 2020

@sdex do you have access to the realm, where this crash happens? And would you be able and willing to share it privately by sending it to jorgen.edelbo@mongodb.net?

@edualonso
Copy link
Contributor

Unfolded stacktrace from #7118 (comment) :

Unrolling /Users/eduardo.lopez/git/realm-java/tools/dump.txt from Realm Java 7.0.6 (base) using ABI arm64-v8a
********** Crash dump: **********
#00 0x00000000002a334c /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::util::EncryptedFileMapping::get_local_index_of_address(void const*, unsigned long) const
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/util/encrypted_file_mapping.hpp:149:90
                                                                                                                     realm::util::EncryptedFileMapping::read_barrier(void const*, unsigned long, unsigned long (*)(char const*))
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/util/encrypted_file_mapping.cpp:793:0
#01 0x0000000000119e30 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::util::do_encryption_read_barrier(void const*, unsigned long, unsigned long (*)(char const*), realm::util::EncryptedFileMapping*)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/util/file_mapper.hpp:133:14
#02 0x0000000000119d68 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Allocator::translate(unsigned long) const
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/alloc.hpp:515:9
#03 0x0000000000119d04 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Array::init_from_ref(unsigned long)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/array.hpp:168:32
#04 0x000000000028ac00 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Spec::init(realm::MemRef)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/spec.cpp:90:16
#05 0x000000000028aaa8 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Spec::init(unsigned long)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/spec.cpp:38:5
#06 0x000000000028cac4 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Table::init(unsigned long, realm::ArrayParent*, unsigned long, bool, bool)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/table.cpp:449:12
#07 0x0000000000253168 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Group::create_table_accessor(unsigned long)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/group.cpp:973:20
#08 0x0000000000252fec /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Group::do_get_table(unsigned long)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/group.cpp:826:21
#09 0x000000000011fe5c /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Group::get_table(realm::StringData)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/distribution/realm-core/core-5.0.23/include/realm/group.hpp:1001:20
#10 0x0000000000251e70 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Transaction::upgrade_file_format(int)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/group.cpp:418:26
#11 0x000000000025749c /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::DB::upgrade_file_format(bool, int, int, int)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/db.cpp:1825:17
#12 0x000000000025664c /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::DB::do_open(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, bool, bool, realm::DBOptions)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/db.cpp:1307:13
#13 0x0000000000257654 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::DB::open(realm::Replication&, realm::DBOptions)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/db.cpp:1346:5
#14 0x00000000002599b0 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::DB::create(realm::Replication&, realm::DBOptions)
                                                                                                                     /mnt/jenkins/workspace/realm_realm-core_release_6.0.26/build-android-arm64-v8a-Release/../src/realm/db.cpp:2693:13
#15 0x000000000018aef8 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::_impl::RealmCoordinator::open_db()
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/impl/realm_coordinator.cpp:507:16
#16 0x000000000018aa34 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::_impl::RealmCoordinator::do_get_realm(realm::Realm::Config, std::__ndk1::shared_ptr<realm::Realm>&, realm::util::Optional<realm::VersionID>, realm::util::CheckedUniqueLock&)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/impl/realm_coordinator.cpp:293:5
#17 0x000000000018a9a8 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::_impl::RealmCoordinator::get_realm(realm::Realm::Config, realm::util::Optional<realm::VersionID>)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/impl/realm_coordinator.cpp:264:5
#18 0x0000000000176aa4 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000)
                                                                                                                     realm::Realm::get_shared_realm(realm::Realm::Config)
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/object-store/src/shared_realm.cpp:144:25
#19 0x000000000011f3e0 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/split_config.arm64_v8a.apk!librealm-jni.so (offset 0x24a000) (Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm+132)
                                                                                                                     Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm
                                                                                                                     /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp:70:28
#20 0x0000000000051e94 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.odex (art_jni_trampoline+196)
#21 0x00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
#22 0x00000000001450cc /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
#23 0x00000000002e1f98 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
#24 0x00000000002de090 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+656)
#25 0x00000000005a5874 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStaticRange+236)
#26 0x0000000000130c94 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static_range+20)
#27 0x0000000000992dd8 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.<init>+108)
#28 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#29 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#30 0x0000000000992b82 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.internal.OsSharedRealm.getInstance+26)
#31 0x00000000005a2d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
#32 0x0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#33 0x000000000095a4a4 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.a.<init>+176)
#34 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#35 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#36 0x000000000095a3d8 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.a.<init>+8)
#37 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#38 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#39 0x00000000009675b0 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.<init>+24)
#40 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#41 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#42 0x0000000000966d20 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.a+4)
#43 0x00000000005a2d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
#44 0x0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#45 0x00000000009623b4 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.a+8)
#46 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#47 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#48 0x0000000000961f7a /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.b+234)
#49 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#50 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#51 0x0000000000961e4a /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.y.a+22)
#52 0x00000000002b28c8 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
#53 0x0000000000591348 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
#54 0x000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#55 0x00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
#56 0x00000000001450cc /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
#57 0x00000000002e1f98 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
#58 0x00000000002dd024 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
#59 0x00000000005a2a08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
#60 0x0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#61 0x0000000000966dc0 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (io.realm.w.I+56)
#62 0x00000000005a2d08 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
#63 0x0000000000130994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
#64 0x00000000003bff42 /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (com.getmonument.app.sync.e.b+58)
#65 0x00000000005a2500 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
#66 0x0000000000130914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
#67 0x00000000003bfeee /data/app/com.myapp.pckg-lTPwmmy6mfZTfwJF4CWWkQ==/oat/arm64/base.vdex (com.getmonument.app.sync.e.onPerformSync+50)
#68 0x00000000002b28c8 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.4600927533238258340)+240)
#69 0x0000000000591348 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
#70 0x000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
#71 0x0000000000410ce0 /system/framework/arm64/boot-framework.oat (android.content.AbstractThreadedSyncAdapter$SyncThread.run+720)
#72 0x0000000000136334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
#73 0x00000000001450ac /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
#74 0x00000000004b0390 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#75 0x00000000004b1440 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
#76 0x00000000004f1988 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
#77 0x00000000000e230c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
#78 0x0000000000083d98 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

@jedelbo
Copy link

jedelbo commented Sep 22, 2020

I guess you are not using encryption?

@sdex
Copy link

sdex commented Sep 22, 2020

@jedelbo I don't have an access to the db.

I guess you are not using encryption?

Nope. The config is quite trivial:

    private RealmConfiguration getRealmConfiguration() {
        return new RealmConfiguration.Builder()
                .name(Realm.DEFAULT_REALM_NAME)
                .schemaVersion(DbMigration.SCHEMA_VERSION)
                .migration(new DbMigration())
                .rxFactory(new RealmObservableFactory(false))
                .compactOnLaunch((totalBytes, usedBytes) -> {
                    sharedPrefsHelper.putRealmTotalBytes(totalBytes);
                    sharedPrefsHelper.putRealmUsedBytes(usedBytes);
                    return false;
                })
                .build();
    }

@jedelbo
Copy link

jedelbo commented Sep 22, 2020

Thanks. My initial observation is that we have 2 distinct issues here. The last one fails immediately when trying to upgrade the file, whereas the other one fails when trying to run a query.

@ppamorim
Copy link

@sdex Did you implement any database migration?

@sdex
Copy link

sdex commented Sep 22, 2020

@ppamorim Yes. In this version of the app two migrations should be executed:

        if (oldVersion == 30) {
            schema.create(ContentLocationCount.class.getSimpleName())
                    .addField("location_id", int.class, FieldAttribute.PRIMARY_KEY)
                    .addField("count", int.class);
            oldVersion++;
        }
        if (oldVersion == 31) {
            final RealmObjectSchema contentSchema = schema.get(Content.class.getSimpleName());
            if (contentSchema != null) {
                contentSchema.addField("isFavorite", boolean.class, FieldAttribute.INDEXED);
            }
            oldVersion++;
        }

@ppamorim
Copy link

ppamorim commented Sep 22, 2020

@jedelbo We just updated our application with Realm 7.0.6 but we didn't migrate the database, I don't see any crash yet. Hopefully I will not see anything. :)

@jedelbo
Copy link

jedelbo commented Sep 23, 2020

I believe we have fixed the issue originally reported here - the one where realm::LinkMap::set_cluster is in the stack trace.

@cmelchior
Copy link
Contributor

Realm Java 7.0.7 was released which should fix this.

@VirajS1202
Copy link

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15510 (e.foodandplaces), pid 15510 (e.foodandplaces)
2024-01-23 14:53:13.040 16382-16382 DEBUG pid-16382 A pid: 15510, tid: 15510, name: e.foodandplaces >>> com.example.foodandplaces <<<
2024-01-23 14:53:13.325 16382-16382 DEBUG pid-16382 A #62 pc 000000000003517a [anon:dalvik-classes4.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk!classes4.dex] (com.example.foodandplaces.databinding.CommentRecyclerviewBinding.inflate+6)
2024-01-23 14:53:13.325 16382-16382 DEBUG pid-16382 A #65 pc 0000000000025bd2 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk!classes4.dex] (com.example.foodandplaces.adapter.recycleradapter.CommentAdapter.onCreateViewHolder+18)
2024-01-23 14:53:13.325 16382-16382 DEBUG pid-16382 A #68 pc 0000000000025ba4 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk!classes4.dex] (com.example.foodandplaces.adapter.recycleradapter.CommentAdapter.onCreateViewHolder)
2024-01-23 14:53:13.325 16382-16382 DEBUG pid-16382 A #71 pc 000000000033396e [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder+10)
2024-01-23 14:53:13.326 16382-16382 DEBUG pid-16382 A #85 pc 000000000032a5fa [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.GridLayoutManager.layoutChunk+202)
2024-01-23 14:53:13.326 16382-16382 DEBUG pid-16382 A #97 pc 000000000032ad5a [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.GridLayoutManager.onLayoutChildren+18)
2024-01-23 14:53:13.326 16382-16382 DEBUG pid-16382 A #100 pc 000000000033eb50 [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2+144)
2024-01-23 14:53:13.326 16382-16382 DEBUG pid-16382 A #103 pc 000000000033e7ca [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.RecyclerView.dispatchLayout+142)
2024-01-23 14:53:13.326 16382-16382 DEBUG pid-16382 A #106 pc 000000000033ff9a [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.recyclerview.widget.RecyclerView.onLayout+10)
2024-01-23 14:53:13.327 16382-16382 DEBUG pid-16382 A #129 pc 000000000026250e [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.coordinatorlayout.widget.CoordinatorLayout.layoutChild+286)
2024-01-23 14:53:13.327 16382-16382 DEBUG pid-16382 A #132 pc 0000000000262e44 [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.coordinatorlayout.widget.CoordinatorLayout.onLayoutChild+64)
2024-01-23 14:53:13.328 16382-16382 DEBUG pid-16382 A #135 pc 00000000001beaaa [anon:dalvik-classes18.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk!classes18.dex] (com.google.android.material.bottomsheet.BottomSheetBehavior.onLayoutChild+222)
2024-01-23 14:53:13.328 16382-16382 DEBUG pid-16382 A #138 pc 0000000000262dd8 [anon:dalvik-classes.dex extracted in memory from /data/app/~~aWzwxYP7nD77KslRFsQZew==/com.example.foodandplaces-V0lPWgY8fbajibp9E-QahQ==/base.apk] (androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout+84)
2024-01-23 14:53:15.338 4032-4032 audit auditd E type=1400 audit(1706001795.335:4758): avc: granted { execute } for pid=16406 comm="re-initialized>" path="/data/data/com.example.foodandplaces/code_cache/startup_agents/566ca8ec-agent.so" dev="sda32" ino=289350 scontext=u:r:untrusted_app:s0:c138,c262,c512,c768 tcontext=u:object_r:app_data_file:s0:c138,c262,c512,c768 tclass=file SEPF_SM-M307F_11_0010 audit_filtered

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

Successfully merging a pull request may close this issue.

8 participants