-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
We seem to keep getting regular crashes on one of our test devices. Either when calling
try (Realm realm = Realm.getDefaultInstance()) { if (!realm.isInTransaction()) { realm.beginTransaction(); } //do things here }
we'll get the app never getting past the "begin transaction" line, or sometimes it'll throw the following stack.
It doesn't seem to happen on other devices other than this one.
--------- beginning of crash
05-22 10:36:06.149 20385-20710/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 20710 (le-self.com/...)
05-22 10:36:06.216 995-995/? A/DEBUG:
05-22 10:36:06.217 995-995/? A/DEBUG: Build fingerprint: 'lge/h1_global_com/h1:6.0.1/MMB29M/16166143080f8:user/release-keys'
05-22 10:36:06.218 995-995/? A/DEBUG: Revision: '13'
05-22 10:36:06.218 995-995/? A/DEBUG: ABI: 'arm64'
05-22 10:36:06.219 995-995/? A/DEBUG: pid: 20385, tid: 20710, name: le-self.com/... >>> com.mypossibleself.app <<<
05-22 10:36:06.220 995-995/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
05-22 10:36:06.256 995-995/? A/DEBUG: x0 0000000000000000 x1 0000000000000000 x2 0000007f97c02a00 x3 000000000000003f
05-22 10:36:06.257 995-995/? A/DEBUG: x4 0000000000000006 x5 00000000000000be x6 00000000000000bf x7 0000007fb7b13000
05-22 10:36:06.257 995-995/? A/DEBUG: x8 0000007fb7b136c0 x9 000000000003f640 x10 00000000005d7dd8 x11 00000000005d7df8
05-22 10:36:06.257 995-995/? A/DEBUG: x12 0000000000000000 x13 0000007fb7b53000 x14 0000000000000000 x15 0000007fb7b45000
05-22 10:36:06.257 995-995/? A/DEBUG: x16 0000007fb7b56ec0 x17 0000007fb7b45000 x18 0000007fb7b56f60 x19 0000007f97c02a98
05-22 10:36:06.257 995-995/? A/DEBUG: x20 0000007f97c02a00 x21 0000007fb41fa000 x22 0000007fade545c0 x23 0000007f96df59d8
05-22 10:36:06.258 995-995/? A/DEBUG: x24 0000007f96df5e38 x25 0000007f96df5a9c x26 0000007f96df6130 x27 0000007fb41fa000
05-22 10:36:06.258 995-995/? A/DEBUG: x28 0000007f96df5a80 x29 0000007f96df5950 x30 0000007fb3cf5408
05-22 10:36:06.258 995-995/? A/DEBUG: sp 0000007f96df5950 pc 0000007fb4018aa8 pstate 0000000080000000
05-22 10:36:06.293 995-995/? A/DEBUG: backtrace:
05-22 10:36:06.294 995-995/? A/DEBUG: #00 pc 0000000000451aa8 /system/lib64/libart.so (_ZN3art6Thread28PopDeoptimizationReturnValueEv+24)
05-22 10:36:06.294 995-995/? A/DEBUG: #01 pc 000000000012e404 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+536)
05-22 10:36:06.294 995-995/? A/DEBUG: #02 pc 00000000004d0320 /system/lib64/libart.so (artInterpreterToCompiledCodeBridge+212)
05-22 10:36:06.294 995-995/? A/DEBUG: #03 pc 00000000002a92f0 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+480)
05-22 10:36:06.294 995-995/? A/DEBUG: #04 pc 00000000002ac3b8 /system/lib64/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE2ELb0ELb0EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+268)
05-22 10:36:06.294 995-995/? A/DEBUG: #05 pc 00000000000dd97c /system/lib64/libart.so (ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2+22892)
05-22 10:36:06.294 995-995/? A/DEBUG: #06 pc 0000000000286d00 /system/lib64/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+96)
05-22 10:36:06.294 995-995/? A/DEBUG: #07 pc 000000000053de30 /system/lib64/libart.so (artQuickToInterpreterBridge+632)
05-22 10:36:06.294 995-995/? A/DEBUG: #08 pc 0000000000128164 /system/lib64/libart.so (art_quick_to_interpreter_bridge+100)
05-22 10:36:06.294 995-995/? A/DEBUG: #09 pc 0000000000d89244 /data/app/com.mypossibleself.app-2/oat/arm64/base.odex (offset 0x8eb000) (void com.intechnology.mypossibleself.network.NetworkHelper.access$000(org.json.JSONObject)+56)
05-22 10:36:06.294 995-995/? A/DEBUG: #10 pc 000000000011e698 /system/lib64/libart.so (art_quick_invoke_static_stub+600)
05-22 10:36:06.294 995-995/? A/DEBUG: #11 pc 000000000012e344 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+344)
05-22 10:36:06.294 995-995/? A/DEBUG: #12 pc 00000000004d0320 /system/lib64/libart.so (artInterpreterToCompiledCodeBridge+212)
05-22 10:36:06.294 995-995/? A/DEBUG: #13 pc 00000000002a92f0 /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+480)
05-22 10:36:06.294 995-995/? A/DEBUG: #14 pc 00000000000dd6c8 /system/lib64/libart.so (ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2+22200)
05-22 10:36:06.295 995-995/? A/DEBUG: #15 pc 0000000000286d00 /system/lib64/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+96)
05-22 10:36:06.295 995-995/? A/DEBUG: #16 pc 000000000053de30 /system/lib64/libart.so (artQuickToInterpreterBridge+632)
05-22 10:36:06.295 995-995/? A/DEBUG: #17 pc 0000000000128164 /system/lib64/libart.so (art_quick_to_interpreter_bridge+100)
05-22 10:36:06.295 995-995/? A/DEBUG: #18 pc 00000000001282cc /system/lib64/libart.so
05-22 10:36:06.817 995-995/? A/DEBUG: Tombstone written to: /data/tombstones/tombstone_04
Steps & Code to Reproduce
> Describe your current debugging efforts.
Code Sample
> Your code here. Bigger samples should ideally be as separate Android Studio project, > in gists/repositories or privately at help@realm.io)
Version of Realm and tooling
Realm version(s): ? 5.1
Realm sync feature enabled: no
Android Studio version: 3.1
Which Android version and device: LG G5 - android version 6.0.1