realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.44k stars 1.74k forks source link

Samsung Tab 3 Lite 7 crashes on Realm 2.0.1 and 2.0.2 #3651

Closed cmelchior closed 7 years ago

cmelchior commented 7 years ago

A Samsung Galaxy Tab 3 Lite 7 (SM-T111) crashes on startup with the below error (Android 4.2.2) Has been confirmed working on Nexus 5, Nexus 4 and emulators 15, 19, 21, 22, 23, 24.

10-18 11:57:25.851 D/dalvikvm( 6127): Trying to load lib /data/app-lib/com.zt.android.test.realmio-1/librealm-jni.so 0x412e0568
10-18 11:57:25.851 D/dalvikvm( 6127): Added shared lib /data/app-lib/com.zt.android.test.realmio-1/librealm-jni.so 0x412e0568
10-18 11:57:25.859 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
10-18 11:57:25.859 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1521857752
10-18 11:57:25.867 I/v_hwc   (  112): hwc prepare: 3D composition
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1521857752
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeHasTable 1522273128
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1522273128
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1521857752
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1521857752
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522276080
10-18 11:57:25.875 V/REALM   ( 6127):  --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1522276080
10-18 11:57:25.875 F/libc    ( 6127): Fatal signal 11 (SIGSEGV) at 0x5ab3eff6 (code=2), thread 6127 (id.test.realmio)
10-18 11:57:25.882 F/libc    ( 6127): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 6142 (id.test.realmio)
10-18 11:48:42.945 D/CrashAnrDetector(  484): Build: samsung/goya3gxx/goya3g:4.2.2/JDQ39/T111XXUAOC2:user/release-keys
10-18 11:48:42.945 D/CrashAnrDetector(  484): Hardware: PXA986
10-18 11:48:42.945 D/CrashAnrDetector(  484): Revision: 2
10-18 11:48:42.945 D/CrashAnrDetector(  484): Bootloader: T111XXUAOC2
10-18 11:48:42.945 D/CrashAnrDetector(  484): Radio: unknown
10-18 11:48:42.945 D/CrashAnrDetector(  484): Kernel: Linux version 3.4.5-2825369 (se.infra@SWDB2804) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Tue Mar 17 22:04:14 KST 2015
10-18 11:48:42.945 D/CrashAnrDetector(  484):
10-18 11:48:42.945 D/CrashAnrDetector(  484): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-18 11:48:42.945 D/CrashAnrDetector(  484): Build fingerprint: 'samsung/goya3gxx/goya3g:4.2.2/JDQ39/T111XXUAOC2:user/release-keys'
10-18 11:48:42.945 D/CrashAnrDetector(  484): Revision: '2'
10-18 11:48:42.945 D/CrashAnrDetector(  484): pid: 5805, tid: 5805, name: id.test.realmio  >>> io.realm.test.realmio <<<
10-18 11:48:42.945 D/CrashAnrDetector(  484): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5baa4ffe
10-18 11:48:42.945 D/CrashAnrDetector(  484):     r0 5baa500b  r1 5baa4ffe  r2 5bb71283  r3 5baa4ffe
10-18 11:48:42.945 D/CrashAnrDetector(  484):     r4 00000000  r5 5baa500a  r6 5bbb5358  r7 5dc08d20
10-18 11:48:42.945 D/CrashAnrDetector(  484):     r8 00000010  r9 00000010  sl 5e8bf810  fp 00000010
10-18 11:48:42.945 D/CrashAnrDetector(  484):     ip 00000000  sp bed19318  lr 00000000  pc 5e7a1052  cpsr 20000030
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d0  65706f72705f6b70  d1  532f6c616e726500
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d2  65742e64696f7200  d3  6d6c6165722e7402
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d4  746c75616665642f  d5  6d2e6d6c6165722e
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d6  6e656d6567616e61  d7  7373656363612f74
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d8  0000000000000000  d9  0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d10 0000000000000000  d11 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d12 0000000000000000  d13 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d14 0000000000000000  d15 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d16 4026000000000000  d17 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d18 0000000000000000  d19 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d20 4008000000000000  d21 3fbc71c71c71c71c
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d22 3fcc7288e957b53b  d23 3fd24998d6307188
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d24 3fd99a27ad32ddf5  d25 3fe555b0aaeac752
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d26 0000000000000000  d27 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d28 0000000000000000  d29 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     d30 0000000000000000  d31 0000000000000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     scr 20000010
10-18 11:48:42.945 D/CrashAnrDetector(  484):
10-18 11:48:42.945 D/CrashAnrDetector(  484): backtrace:
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #00  pc 00082052  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #01  pc 000a50b7  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #02  pc 0005a69d  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):
10-18 11:48:42.945 D/CrashAnrDetector(  484): stack:
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192d8  5bbb5950
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192dc  00001680
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192e0  5bbb5bd0
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192e4  00001900
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192e8  5e7991cb  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192ec  5e7a0e85  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192f0  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192f4  5e8d4168  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192f8  5bbb5958
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed192fc  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19300  bed19330  [stack]
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19304  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19308  5dc08d20
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1930c  5dc08d20
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19310  df0027ad
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19314  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #00  bed19318  5e799c41  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1931c  00000001
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19320  0000000f
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19324  00000008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19328  5e8bf810  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1932c  00000008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19330  5bbb5360
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19334  ffffffff
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19338  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1933c  5dc08d20
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19340  00000001
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19344  00000001
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19348  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1934c  5e8bf810  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19350  5dc08008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19354  5e7c40bb  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #01  bed19358  ffffffff
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1935c  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19360  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19364  00000008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19368  5abee570
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1936c  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19370  5ab9ed08
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19374  5abee6e0
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19378  5e8bf810  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1937c  00000008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19380  00000001
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19384  5e7db265  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19388  5e8bf810  /data/app-lib/io.realm.test.realmio-1/librealm-jni.so
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed1938c  00000008
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19390  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed19394  5abee570
10-18 11:48:42.945 D/CrashAnrDetector(  484):          ........  ........
10-18 11:48:42.945 D/CrashAnrDetector(  484):     #02  bed193b8  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed193bc  00000000
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed193c0  5dc08d20
10-18 11:48:42.945 D/CrashAnrDetector(  484):          bed193c4  5e7c0c
10-18 11:48:42.945 D/CrashAnrDetector(  484): processName:io.realm.test.realmio
10-18 11:48:42.945 D/CrashAnrDetector(  484): broadcastEvent : io.realm.test.realmio SYSTEM_TOMBSTONE

I'm working on getting a sample project. /cc @beeender

cmelchior commented 7 years ago

Our introExample also crashes on that device.

Zhuinden commented 7 years ago

A possibility is that context.getApplicationContext()'s getFilesDir() returns null on first start-up

A wild guess, but I've seen it happen on Samsung devices.

cmelchior commented 7 years ago

I doubt that is the case here, since in that code path, the file has already been created and opened.

imayank91 commented 7 years ago

How soon can we expect this to be fixed? It happens consistently on this device

cmelchior commented 7 years ago

There is no timeline yet unfortunately. We are working on it.

Zhuinden commented 7 years ago

Have you tried Realm 2.1.1 and see if it helps, just in case?

beeender commented 7 years ago

@maysaini Can you have to get the crash backtrace with realm-java 2.1.0 or 2.1.1? We lost symbol files for release version >=2.0.0 < 2.1.0, so cannot parse the call stack :(

imayank91 commented 7 years ago

This is with 2.1.1

10-28 10:50:24.585 12448-12448/com.raremediacompany.vihaan D/dalvikvm: Trying to load lib /data/app-lib/com.raremediacompany.vihaan-1/librealm-jni.so 0x4133d820 10-28 10:50:24.585 12448-12448/com.raremediacompany.vihaan D/dalvikvm: Added shared lib /data/app-lib/com.raremediacompany.vihaan-1/librealm-jni.so 0x4133d820 10-28 10:50:24.601 12448-12448/com.raremediacompany.vihaan A/libc: Fatal signal 11 (SIGSEGV) at 0x5bb29ffe (code=2), thread 12448 (acompany.vihaan)

beeender commented 7 years ago

@maysaini Would you please share a completed backtrace? It seems some call stacks are missed.

imayank91 commented 7 years ago

These are the only logs Im getting

Zhuinden commented 7 years ago

@beeender is there a way to create verbose native log with the refactored RealmLog?

JamesPaulKey commented 7 years ago

Sorry to interject, but i believe the same issue is also applicable to the Galaxy S3 Mini (GT-I8200N), Also running Android 4.2.2, running any Realm 2.x version (2.0.1, 2.0.2, 2.1.1). 2.1.1 trace attached

10-31 13:36:00.264 11481-11481/io.realm.examples.intro D/dalvikvm: Trying to load lib /data/app-lib/io.realm.examples.intro-1/librealm-jni.so 0x42219cc8
10-31 13:36:00.280 11481-11481/io.realm.examples.intro D/dalvikvm: Added shared lib /data/app-lib/io.realm.examples.intro-1/librealm-jni.so 0x42219cc8
10-31 13:36:00.436 11481-11481/io.realm.examples.intro A/libc: Fatal signal 11 (SIGSEGV) at 0x5ba9fffe (code=2), thread 11481 (.examples.intro)
10-31 13:36:00.491 106-106/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-31 13:36:00.491 106-106/? I/DEBUG: Build fingerprint: 'samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUANI2:user/release-keys'
10-31 13:36:00.491 106-106/? I/DEBUG: Revision: '3'
10-31 13:36:00.491 106-106/? I/DEBUG: pid: 11481, tid: 11481, name: .examples.intro  >>> io.realm.examples.intro <<<
10-31 13:36:00.491 106-106/? I/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5ba9fffe
10-31 13:36:00.655 114-708/? D/v_gal: [tid=708] gralloc_free: ===>Width = 480, Height = 800, surface = 0x43afc6f8
10-31 13:36:00.780 11452-11506/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013
10-31 13:36:00.905 106-106/? I/DEBUG:     r0 5baa000b  r1 5ba9fffe  r2 5bb682ff  r3 5ba9fffe
10-31 13:36:00.905 106-106/? I/DEBUG:     r4 00000000  r5 5baa000a  r6 5bbaaea8  r7 581126d8
10-31 13:36:00.905 106-106/? I/DEBUG:     r8 00000010  r9 00000010  sl 5e47de58  fp 00000010
10-31 13:36:00.905 106-106/? I/DEBUG:     ip 00000000  sp bee4f320  lr 00000000  pc 5e35e598  cpsr 20000030
10-31 13:36:00.905 106-106/? I/DEBUG:     d0  65706f72705f6b70  d1  532f6c616e726500
10-31 13:36:00.905 106-106/? I/DEBUG:     d2  56db020856db0100  d3  56db027856db0202
10-31 13:36:00.905 106-106/? I/DEBUG:     d4  6665642f73656c69  d5  6165722e746c7561
10-31 13:36:00.905 106-106/? I/DEBUG:     d6  67616e616d2e6d6c  d7  63612f746e656d65
10-31 13:36:00.905 106-106/? I/DEBUG:     d8  0000000000000000  d9  0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d10 0000000000000000  d11 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d12 0000000000000000  d13 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d14 0000000000000000  d15 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d16 0000000d0000000c  d17 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d18 0000000000000000  d19 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d20 4008000000000000  d21 3fbc71c71c71c71c
10-31 13:36:00.905 106-106/? I/DEBUG:     d22 3fcc7288e957b53b  d23 3fd24998d6307188
10-31 13:36:00.905 106-106/? I/DEBUG:     d24 3fd99a27ad32ddf5  d25 3fe555b0aaeac752
10-31 13:36:00.905 106-106/? I/DEBUG:     d26 0000000000000000  d27 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d28 0000000000000000  d29 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     d30 0000000000000000  d31 0000000000000000
10-31 13:36:00.905 106-106/? I/DEBUG:     scr 20000010
10-31 13:36:00.905 106-106/? I/DEBUG: backtrace:
10-31 13:36:00.905 106-106/? I/DEBUG:     #00  pc 00086598  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.905 106-106/? I/DEBUG:     #01  pc 000a9d37  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.905 106-106/? I/DEBUG:     #02  pc 0005ec8d  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.905 106-106/? I/DEBUG: stack:
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2e0  5bbab4a0
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2e4  00001680
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2e8  5bbab720
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2ec  00001900
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2f0  5e3568dd  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2f4  5e35e3cb  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2f8  00000000
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f2fc  5e493188  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f300  5bbab4a8
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f304  00000000
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f308  bee4f338  [stack]
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f30c  00000000
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f310  581126d8
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f314  581126d8
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f318  df0027ad
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f31c  00000000
10-31 13:36:00.913 106-106/? I/DEBUG:     #00  bee4f320  5e357341  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f324  00000001
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f328  0000000f
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f32c  00000008
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f330  5e47de58  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f334  00000008
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f338  5bbaaeb0
10-31 13:36:00.913 106-106/? I/DEBUG:          bee4f33c  ffffffff
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f340  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f344  581126d8
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f348  00000001
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f34c  00000001
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f350  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f354  5e47de58  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f358  581119c0
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f35c  5e381d3b  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.921 106-106/? I/DEBUG:     #01  bee4f360  ffffffff
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f364  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f368  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f36c  00000008
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f370  5ac12058
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f374  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f378  5ac274d8
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f37c  5ac121c8
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f380  5e47de58  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f384  00000008
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f388  00000001
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f38c  5e3a48fd  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f390  5e47de58  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f394  00000008
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f398  00000000
10-31 13:36:00.921 106-106/? I/DEBUG:          bee4f39c  5ac12058
10-31 13:36:00.921 106-106/? I/DEBUG:          ........  ........
10-31 13:36:00.929 106-106/? I/DEBUG:     #02  bee4f3c0  00000000
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3c4  00000000
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3c8  00000000
10-31 13:36:00.929 11452-11456/? D/dalvikvm: GC_CONCURRENT freed 351K, 15% free 9912K/11628K, paused 3ms+3ms, total 52ms

10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3cc  bee4f4e0  [stack]
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3d0  00000000
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3d4  5ac12058
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3d8  581119c8
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3dc  000000d0
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3e0  5e47e1d4  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3e4  00000008
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3e8  5e47dff4  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3ec  00000002
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3f0  5e47de58  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so

10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3f4  00000008
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3f8  00000000
10-31 13:36:00.929 106-106/? I/DEBUG:          bee4f3fc  00000000
10-31 13:36:00.929 106-106/? I/DEBUG: memory near r0:
10-31 13:36:00.929 106-106/? I/DEBUG:     5ba9ffe8 00000000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5ba9fff8 00000000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0008 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0018 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0028 000c0000 00000c00 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0038 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0048 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0058 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0068 000c0000 00000c00 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0078 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0088 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa0098 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa00a8 000c0000 00000c00 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa00b8 000c0000 0000000c 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa00c8 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG:     5baa00d8 000c0000 00000000 00000000 00000000
10-31 13:36:00.929 106-106/? I/DEBUG: memory near r1:
10-31 13:36:00.936 106-106/? I/DEBUG:     5ba9ffdc 00000000 00000000 00000000 00000000
10-31 13:36:00.936 106-106/? I/DEBUG:     5ba9ffec 00000000 00000000 00000000 00000000
10-31 13:36:00.936 106-106/? I/DEBUG:     5ba9fffc 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa000c 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa001c 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa002c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa003c 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa004c 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa005c 00000000 00000000 00000000 000c0000
10-31 13:36:00.936 106-106/? I/DEBUG:     5baa006c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa007c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa008c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa009c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00ac 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00bc 0000000c 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00cc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG: memory near r2:
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb682dc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb682ec 00000c00 00000000 00000000 0c0c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb682fc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6830c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6831c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6832c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6833c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6834c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6835c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6836c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6837c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6838c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb6839c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb683ac 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb683bc 0000000c 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5bb683cc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG: memory near r3:
10-31 13:36:00.944 106-106/? I/DEBUG:     5ba9ffdc 00000000 00000000 00000000 00000000
10-31 13:36:00.944 106-106/? I/DEBUG:     5ba9ffec 00000000 00000000 00000000 00000000
10-31 13:36:00.944 106-106/? I/DEBUG:     5ba9fffc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa000c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa001c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa002c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa003c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa004c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa005c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa006c 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa007c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa008c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa009c 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00ac 00000c00 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00bc 0000000c 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa00cc 00000000 00000000 00000000 000c0000
10-31 13:36:00.944 106-106/? I/DEBUG: memory near r5:
10-31 13:36:00.944 106-106/? I/DEBUG:     5ba9ffe8 00000000 00000000 00000000 00000000
10-31 13:36:00.944 106-106/? I/DEBUG:     5ba9fff8 00000000 00000000 00000000 00000000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa0008 000c0000 00000000 00000000 00000000
10-31 13:36:00.944 106-106/? I/DEBUG:     5baa0018 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0028 000c0000 00000c00 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0038 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0048 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0058 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0068 000c0000 00000c00 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0078 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0088 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa0098 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa00a8 000c0000 00000c00 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa00b8 000c0000 0000000c 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa00c8 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5baa00d8 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG: memory near r6:
10-31 13:36:00.952 106-106/? I/DEBUG:     5bbaae88 000c0000 00000000 00000000 00000000
10-31 13:36:00.952 106-106/? I/DEBUG:     5bbaae98 000c0000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaea8 000e0000 00000000 00000000 0d000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaeb8 00000000 00000000 00000000 0c000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaec8 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaed8 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaee8 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaef8 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf08 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf18 00000000 00000000 00800000 02000045
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf28 16801180 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf38 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf48 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf58 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf68 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     5bbaaf78 00000000 00000000 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG: memory near r7:
10-31 13:36:00.960 106-106/? I/DEBUG:     581126b8 00000002 0000003c 581119c8 00001100
10-31 13:36:00.960 106-106/? I/DEBUG:     581126c8 58112648 00000001 00010010 d1d1d1d1
10-31 13:36:00.960 106-106/? I/DEBUG:     581126d8 5e491ab0 5e357321 00000000 5e49321c
10-31 13:36:00.960 106-106/? I/DEBUG:     581126e8 5bbaaea8 d1d1d1d1 00000000 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     581126f8 00000000 00000000 00000002 00000007
10-31 13:36:00.960 106-106/? I/DEBUG:     58112708 581119c8 00001080 58112648 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     58112718 00000004 d1d1d100 5ac239c8 5ac239cc
10-31 13:36:00.960 106-106/? I/DEBUG:     58112728 5ac239cc d1d10101 d1d1d1d1 d1d1d1d1
10-31 13:36:00.960 106-106/? I/DEBUG:     58112738 00000000 d1d1d1d1 d1d1d1d1 d1d1d1d1
10-31 13:36:00.960 106-106/? I/DEBUG:     58112748 00000000 d1d1d1d1 00000001 00000000
10-31 13:36:00.960 106-106/? I/DEBUG:     58112758 00000000 00000000 00001000 d1d1d1d1
10-31 13:36:00.960 106-106/? I/DEBUG:     58112768 00000020 00000025 00000000 5bc03000
10-31 13:36:00.968 106-106/? I/DEBUG:     58112778 00000488 00000000 5bd6f000 00000488
10-31 13:36:00.968 106-106/? I/DEBUG:     58112788 00000000 d1d1d101 5abf175c 5abe5ad4
10-31 13:36:00.968 106-106/? I/DEBUG:     58112798 5abe64a4 5bc18fd4 00000000 00000002
10-31 13:36:00.968 106-106/? I/DEBUG:     581127a8 5ac5d934 d1d1d1d1 0000b310 00000000
10-31 13:36:00.968 106-106/? I/DEBUG: memory near sl:
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de38 656b2079 25272079 32252e31 6f642027
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de48 6e207365 6520746f 74736978 0000002e
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de58 6174656d 61746164 00000000 6e6e6143
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de68 6920746f 7865646e 6f727020 74726570
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de78 25272079 32252e31 69203a27 7865646e
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de88 20676e69 706f7270 69747265 6f207365
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47de98 79742066 27206570 20273325 6e207369
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47dea8 7920746f 69207465 656c706d 746e656d
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47deb8 002e6465 766f7250 64656469 68637320
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47dec8 20616d65 73726576 206e6f69 69203125
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47ded8 656c2073 74207373 206e6168 7473616c
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47dee8 74657320 72657620 6e6f6973 2e322520
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47def8 00000000 6d697250 20797261 2079656b
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47df08 706f7270 79747265 31252720 2732252e
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47df18 73616820 70756420 6163696c 76206574
10-31 13:36:00.968 106-106/? I/DEBUG:     5e47df28 65756c61 66612073 20726574 7267696d
10-31 13:36:00.968 106-106/? I/DEBUG: memory near sp:
10-31 13:36:00.968 106-106/? I/DEBUG:     bee4f300 5bbab4a8 00000000 bee4f338 00000000
10-31 13:36:00.968 106-106/? I/DEBUG:     bee4f310 581126d8 581126d8 df0027ad 00000000
10-31 13:36:00.968 106-106/? I/DEBUG:     bee4f320 5e357341 00000001 0000000f 00000008
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f330 5e47de58 00000008 5bbaaeb0 ffffffff
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f340 00000000 581126d8 00000001 00000001
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f350 00000000 5e47de58 581119c0 5e381d3b
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f360 ffffffff 00000000 00000000 00000008
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f370 5ac12058 00000000 5ac274d8 5ac121c8
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f380 5e47de58 00000008 00000001 5e3a48fd
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f390 5e47de58 00000008 00000000 5ac12058
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3a0 581119c0 ffffffff 418558e8 bee4f508
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3b0 416e3ac4 41858660 bee4f51c 5e336c91
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3c0 00000000 00000000 00000000 bee4f4e0
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3d0 00000000 5ac12058 581119c8 000000d0
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3e0 5e47e1d4 00000008 5e47dff4 00000002
10-31 13:36:00.975 106-106/? I/DEBUG:     bee4f3f0 5e47de58 00000008 00000000 00000000
10-31 13:36:00.975 106-106/? I/DEBUG: code around pc:
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e578 ebc1ec01 1e6a0109 44711e5d 1c01f803
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e588 1040f897 0301ebc8 429d442b 4619d006
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e598 4b01f801 d1fb428d 1040f897 0501f1c1
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5a8 1b524415 d36e428a d028429e 1040f897
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5b8 f1b9e7dd d10e0f00 0801f04f 0f00f1bb
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5c8 f108d042 fa5f33ff 9302fc88 e7b446c3
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5d8 0f00f1bb f109d038 f1b80801 d9f00f02
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5e8 0859ea49 0898ea48 1818ea48 0801f108
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e5f8 fc88fa5f 33fff10c 46e39302 46cce79d
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e608 f8dd693e f887900c 9b01c040 6b0bfb03
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e618 445b9b02 f1b9461c d0040f00 46514658
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e628 f791464a 44d9ec90 bf1c454c 2200464b
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e638 f803d003 42a32b01 f1bad1fb d02b0f00
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e648 0904ebc9 9000f884 e8bdb007 f10b8ff0
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e658 693e33ff e7d89302 d0d4429e f488fa5f
10-31 13:36:00.975 106-106/? I/DEBUG:     5e35e668 f1c81e59 f8030800 44434c01 bf184299
10-31 13:36:00.975 106-106/? I/DEBUG: code around lr:
10-31 13:36:00.975 106-106/? I/DEBUG:     00000000 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.975 106-106/? I/DEBUG:     00000010 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.975 106-106/? I/DEBUG:     00000020 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.975 106-106/? I/DEBUG:     00000030 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.975 106-106/? I/DEBUG:     00000040 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     00000050 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     00000060 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     00000070 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     00000080 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     00000090 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000a0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000b0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000c0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000d0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000e0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG:     000000f0 ffffffff ffffffff ffffffff ffffffff
10-31 13:36:00.983 106-106/? I/DEBUG: memory map around fault addr 5ba9fffe:
10-31 13:36:00.983 106-106/? I/DEBUG:     5ba1e000-5ba9f000
10-31 13:36:00.983 106-106/? I/DEBUG:     5ba9f000-5baa0000
10-31 13:36:00.983 106-106/? I/DEBUG:     5baa0000-5bb9f000 [stack:11488]
vykintas commented 7 years ago

I am also experiencing the same problem. Samsung s3 mini crashes with realm versions 2.x (Tested on 2.0.2, 2.1.0 and 2.1.1).

Logs for crash from CrashAnrDetector:

Build: samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUANJ2:user/release-keys
Hardware: PXA986
Revision: 3
Bootloader: I8200NXXUANJ2
Radio: unknown
Kernel: Linux version 3.4.5-2794522 (se.infra@SWDA2612) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Thu Oct 23 12:23:48 KST 2014

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUANJ2:user/release-keys'
Revision: '3'
pid: 10263, tid: 10263, name: eetbees.sandbox  >>> com.streetbees.sandbox <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5c9b9fff
    r0 5c9bf683  r1 00000010  r2 5c9bfbe3  r3 5c9ba000
    r4 00000000  r5 5c9b9fff  r6 5c9bfdb0  r7 5c9bf640
    r8 00000010  r9 00000010  sl 636fce58  fp 00000010
    ip 00000000  sp bef03320  lr 00000000  pc 635dd584  cpsr 20000030
    d0  65706f72705f6b70  d1  532f6c616e726500
    d2  5735e2085735e100  d3  5735e2785735e202
    d4  657274732f73656c  d5  722e736565627465
    d6  6e616d2e6d6c6165  d7  2f746e656d656761
    d8  0000000000000000  d9  0000000000000000
    d10 0000000000000000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 4026000000000000  d17 0000000000000000
    d18 0000000000000105  d19 0000000000000104
    d20 6614485c6614485c  d21 6614485c6614485c
    d22 6614485c6614485c  d23 611345576614485c
    d24 6614485c6614485c  d25 6614485c6614485c
    d26 6614485c6614485c  d27 6614485c6614485c
    d28 6614485c6614485c  d29 3c0c2b366514485b
    d30 390b283356113d4d  d31 0000000011030c0f
    scr 20000010

backtrace:
    #00  pc 00086584  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #01  pc 000a9d37  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #02  pc 0005ec8d  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so

stack:
         bef032e0  5c9c03a8  
         bef032e4  00001680  
         bef032e8  5c9c0628  
         bef032ec  00001900  
         bef032f0  635d58dd  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef032f4  635dd3cb  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef032f8  00000000  
         bef032fc  63712188  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03300  5c9c03b0  
         bef03304  00000000  
         bef03308  bef03338  [stack]
         bef0330c  00000000  
         bef03310  5c9bf640  
         bef03314  5c9bf640  
         bef03318  df0027ad  
         bef0331c  00000000  
    #00  bef03320  635d6341  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03324  00000001  
         bef03328  0000000f  
         bef0332c  00000008  
         bef03330  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03334  00000008  
         bef03338  5c9bfdb8  
         bef0333c  ffffffff  
         bef03340  00000000  
         bef03344  5c9bf640  
         bef03348  00000001  
         bef0334c  00000001  
         bef03350  00000000  
         bef03354  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03358  5c9be928  
         bef0335c  63600d3b  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #01  bef03360  ffffffff  
         bef03364  00000000  
         bef03368  00000000  
         bef0336c  00000008  
         bef03370  60628918  
         bef03374  00000000  
         bef03378  606688a0  
         bef0337c  60628a88  
         bef03380  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03384  00000008  
         bef03388  00000001  
         bef0338c  636238fd  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03390  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03394  00000008  
         bef03398  00000000  
         bef0339c  60628918  
         ........  ........
    #02  bef033c0  00000000  
         bef033c4  00000000  
         bef033c8  00000000  
         bef033cc  bef034e0  [stack]
         bef033d0  00000000  

processName:com.streetbees.sandbox
11-02 10:52:07.156 D/CrashAnrDetector(  542): broadcastEvent : com.streetbees.sandbox SYSTEM_TOMBSTONE

And a full debug crash log:

pid: 10263, tid: 10263, name: eetbees.sandbox  >>> com.streetbees.sandbox <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5c9b9fff
    r0 5c9bf683  r1 00000010  r2 5c9bfbe3  r3 5c9ba000
    r4 00000000  r5 5c9b9fff  r6 5c9bfdb0  r7 5c9bf640
    r8 00000010  r9 00000010  sl 636fce58  fp 00000010
    ip 00000000  sp bef03320  lr 00000000  pc 635dd584  cpsr 20000030
    d0  65706f72705f6b70  d1  532f6c616e726500
    d2  5735e2085735e100  d3  5735e2785735e202
    d4  657274732f73656c  d5  722e736565627465
    d6  6e616d2e6d6c6165  d7  2f746e656d656761
    d8  0000000000000000  d9  0000000000000000
    d10 0000000000000000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 4026000000000000  d17 0000000000000000
    d18 0000000000000105  d19 0000000000000104
    d20 6614485c6614485c  d21 6614485c6614485c
    d22 6614485c6614485c  d23 611345576614485c
    d24 6614485c6614485c  d25 6614485c6614485c
    d26 6614485c6614485c  d27 6614485c6614485c
    d28 6614485c6614485c  d29 3c0c2b366514485b
    d30 390b283356113d4d  d31 0000000011030c0f
    scr 20000010

backtrace:
    #00  pc 00086584  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #01  pc 000a9d37  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #02  pc 0005ec8d  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so

stack:
         bef032e0  5c9c03a8  
         bef032e4  00001680  
         bef032e8  5c9c0628  
         bef032ec  00001900  
         bef032f0  635d58dd  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef032f4  635dd3cb  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef032f8  00000000  
         bef032fc  63712188  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03300  5c9c03b0  
         bef03304  00000000  
         bef03308  bef03338  [stack]
         bef0330c  00000000  
         bef03310  5c9bf640  
         bef03314  5c9bf640  
         bef03318  df0027ad  
         bef0331c  00000000  
    #00  bef03320  635d6341  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03324  00000001  
         bef03328  0000000f  
         bef0332c  00000008  
         bef03330  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03334  00000008  
         bef03338  5c9bfdb8  
         bef0333c  ffffffff  
         bef03340  00000000  
         bef03344  5c9bf640  
         bef03348  00000001  
         bef0334c  00000001  
         bef03350  00000000  
         bef03354  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03358  5c9be928  
         bef0335c  63600d3b  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
    #01  bef03360  ffffffff  
         bef03364  00000000  
         bef03368  00000000  
         bef0336c  00000008  
         bef03370  60628918  
         bef03374  00000000  
         bef03378  606688a0  
         bef0337c  60628a88  
         bef03380  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03384  00000008  
         bef03388  00000001  
         bef0338c  636238fd  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03390  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef03394  00000008  
         bef03398  00000000  
         bef0339c  60628918  
         ........  ........
    #02  bef033c0  00000000  
         bef033c4  00000000  
         bef033c8  00000000  
         bef033cc  bef034e0  [stack]
         bef033d0  00000000  
         bef033d4  60628918  
         bef033d8  5c9be930  
         bef033dc  000000b8  
         bef033e0  636fd1d4  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef033e4  00000008  
         bef033e8  636fcff4  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef033ec  00000002  
         bef033f0  636fce58  /data/app-lib/com.streetbees.sandbox-1/librealm-jni.so
         bef033f4  00000008  
         bef033f8  00000000  
         bef033fc  00000000  

memory near r0:
    5c9bf660 00000000 00000010 00000000 00000000  
    5c9bf670 00000000 00001000 00000000 00000000  
    5c9bf680 000c0000 00000000 00000000 00000000  
    5c9bf690 000c0000 00000000 00000000 00000000  
    5c9bf6a0 000c0000 00000000 00000000 00000000  
    5c9bf6b0 000c0000 00000c00 00000000 00000000  
    5c9bf6c0 000c0000 0000000c 00000000 00000000  
    5c9bf6d0 000c0000 00000000 00000000 00000000  
    5c9bf6e0 000c0000 00000000 00000000 00000000  
    5c9bf6f0 000c0000 00000c00 00000000 00000000  
    5c9bf700 000c0000 00000000 00000000 00000000  
    5c9bf710 000c0000 00000000 00000000 00000000  
    5c9bf720 000c0000 00000000 00000000 00000000  
    5c9bf730 000c0000 00000c00 00000000 00000000  
    5c9bf740 000c0000 00000000 00000000 00000000  
    5c9bf750 000c0000 00000000 00000000 00000000  

memory near r2:
    5c9bfbc0 000c0000 0000000c 00000000 00000000  
    5c9bfbd0 000c0000 00000000 00000000 00000000  
    5c9bfbe0 000c0000 00000000 00000000 00000000  
    5c9bfbf0 000c0000 00000c00 00000000 00000000  
    5c9bfc00 000c0000 00000000 00000000 00000000  
    5c9bfc10 000c0000 00000000 00000000 00000000  
    5c9bfc20 000c0000 00000000 00000000 00000000  
    5c9bfc30 000c0000 00000c00 00000000 00000000  
    5c9bfc40 000c0000 00000000 00000000 00000000  
    5c9bfc50 000c0000 00000000 00000000 00000000  
    5c9bfc60 000c0000 00000000 00000000 00000000  
    5c9bfc70 000c0000 00000c00 00000000 00000000  
    5c9bfc80 000c0000 00000000 00000000 00000000  
    5c9bfc90 000c0000 00000000 00000000 00000000  
    5c9bfca0 000c0000 00000000 00000000 00000000  
    5c9bfcb0 000c0000 00000c00 00000000 00000000  

memory near r3:
    5c9b9fe0 00000000 00000000 4007ecf1 4007ebe1  
    5c9b9ff0 40075c50 40075630 40069f25 40069f39  
    5c9ba000 00000000 00000000 00000000 00000000  
    5c9ba010 00000010 00000000 00000000 00000000  
    5c9ba020 00001000 00000000 00000000 00000000  
    5c9ba030 00100000 00000000 00000000 00000000  
    5c9ba040 10000000 00000000 00000000 00000000  
    5c9ba050 00000000 00000010 00000000 00000000  
    5c9ba060 00000000 00001000 00000000 00000000  
    5c9ba070 00000000 00100000 00000000 00000000  
    5c9ba080 00000000 10000000 00000000 00000000  
    5c9ba090 00000000 00000000 00000010 00000000  
    5c9ba0a0 00000000 00000000 00001000 00000000  
    5c9ba0b0 00000000 00000000 00100000 00000000  
    5c9ba0c0 00000000 00000000 10000000 00000000  
    5c9ba0d0 00000000 00000000 00000000 00000010  

memory near r5:
    5c9b9fdc 00000000 00000000 00000000 4007ecf1  
    5c9b9fec 4007ebe1 40075c50 40075630 40069f25  
    5c9b9ffc 40069f39 00000000 00000000 00000000  
    5c9ba00c 00000000 00000010 00000000 00000000  
    5c9ba01c 00000000 00001000 00000000 00000000  
    5c9ba02c 00000000 00100000 00000000 00000000  
    5c9ba03c 00000000 10000000 00000000 00000000  
    5c9ba04c 00000000 00000000 00000010 00000000  
    5c9ba05c 00000000 00000000 00001000 00000000  
    5c9ba06c 00000000 00000000 00100000 00000000  
    5c9ba07c 00000000 00000000 10000000 00000000  
    5c9ba08c 00000000 00000000 00000000 00000010  
    5c9ba09c 00000000 00000000 00000000 00001000  
    5c9ba0ac 00000000 00000000 00000000 00100000  
    5c9ba0bc 00000000 00000000 00000000 10000000  
    5c9ba0cc 00000000 00000000 00000000 00000000  

memory near r6:
    5c9bfd90 000c0000 00000000 00000000 00000000  
    5c9bfda0 000c0000 00000000 00000000 00000000  
    5c9bfdb0 000e0000 00000000 00000000 0d000000  
    5c9bfdc0 00000000 00000000 00000000 0c000000  
    5c9bfdd0 00000000 00000000 00000000 00000000  
    5c9bfde0 00000000 00000000 00000000 00000000  
    5c9bfdf0 00000000 00000000 00000000 00000000  
    5c9bfe00 00000000 00000000 00000000 00000000  
    5c9bfe10 00000000 00000000 00000000 00000000  
    5c9bfe20 00000000 00000000 00800000 02000045  
    5c9bfe30 16801180 00000000 00000000 00000000  
    5c9bfe40 00000000 00000000 00000000 00000000  
    5c9bfe50 00000000 00000000 00000000 00000000  
    5c9bfe60 00000000 00000000 00000000 00000000  
    5c9bfe70 00000000 00000000 00000000 00000000  
    5c9bfe80 00000000 00000000 00000000 00000000  

memory near r7:
    5c9bf620 00000010 00000000 00000000 00000000  
    5c9bf630 00001000 00000000 00000000 00000000  
    5c9bf640 00100000 00000000 00000000 00000000  
    5c9bf650 10000000 00000000 00000000 00000000  
    5c9bf660 00000000 00000010 00000000 00000000  
    5c9bf670 00000000 00001000 00000000 00000000  
    5c9bf680 000c0000 00000000 00000000 00000000  
    5c9bf690 000c0000 00000000 00000000 00000000  
    5c9bf6a0 000c0000 00000000 00000000 00000000  
    5c9bf6b0 000c0000 00000c00 00000000 00000000  
    5c9bf6c0 000c0000 0000000c 00000000 00000000  
    5c9bf6d0 000c0000 00000000 00000000 00000000  
    5c9bf6e0 000c0000 00000000 00000000 00000000  
    5c9bf6f0 000c0000 00000c00 00000000 00000000  
    5c9bf700 000c0000 00000000 00000000 00000000  
    5c9bf710 000c0000 00000000 00000000 00000000  

memory near sl:
    636fce38 656b2079 25272079 32252e31 6f642027  
    636fce48 6e207365 6520746f 74736978 0000002e  
    636fce58 6174656d 61746164 00000000 6e6e6143  
    636fce68 6920746f 7865646e 6f727020 74726570  
    636fce78 25272079 32252e31 69203a27 7865646e  
    636fce88 20676e69 706f7270 69747265 6f207365  
    636fce98 79742066 27206570 20273325 6e207369  
    636fcea8 7920746f 69207465 656c706d 746e656d  
    636fceb8 002e6465 766f7250 64656469 68637320  
    636fcec8 20616d65 73726576 206e6f69 69203125  
    636fced8 656c2073 74207373 206e6168 7473616c  
    636fcee8 74657320 72657620 6e6f6973 2e322520  
    636fcef8 00000000 6d697250 20797261 2079656b  
    636fcf08 706f7270 79747265 31252720 2732252e  
    636fcf18 73616820 70756420 6163696c 76206574  
    636fcf28 65756c61 66612073 20726574 7267696d  

memory near sp:
    bef03300 5c9c03b0 00000000 bef03338 00000000  
    bef03310 5c9bf640 5c9bf640 df0027ad 00000000  
    bef03320 635d6341 00000001 0000000f 00000008  
    bef03330 636fce58 00000008 5c9bfdb8 ffffffff  
    bef03340 00000000 5c9bf640 00000001 00000001  
    bef03350 00000000 636fce58 5c9be928 63600d3b  
    bef03360 ffffffff 00000000 00000000 00000008  
    bef03370 60628918 00000000 606688a0 60628a88  
    bef03380 636fce58 00000008 00000001 636238fd  
    bef03390 636fce58 00000008 00000000 60628918  
    bef033a0 5c9be928 ffffffff 41e018e8 bef03508  
    bef033b0 416dd894 41e05da0 bef0351c 635b5c91  
    bef033c0 00000000 00000000 00000000 bef034e0  
    bef033d0 00000000 60628918 5c9be930 000000b8  
    bef033e0 636fd1d4 00000008 636fcff4 00000002  
    bef033f0 636fce58 00000008 00000000 00000000  

code around pc:
    635dd564 fb05429e d0506500 900cf8cd 46012400  
    635dd574 f81546e1 ebc1ec01 1e6a0109 44711e5d  
    635dd584 1c01f803 1040f897 0301ebc8 429d442b  
    635dd594 4619d006 4b01f801 d1fb428d 1040f897  
    635dd5a4 0501f1c1 1b524415 d36e428a d028429e  
    635dd5b4 1040f897 f1b9e7dd d10e0f00 0801f04f  
    635dd5c4 0f00f1bb f108d042 fa5f33ff 9302fc88  
    635dd5d4 e7b446c3 0f00f1bb f109d038 f1b80801  
    635dd5e4 d9f00f02 0859ea49 0898ea48 1818ea48  
    635dd5f4 0801f108 fc88fa5f 33fff10c 46e39302  
    635dd604 46cce79d f8dd693e f887900c 9b01c040  
    635dd614 6b0bfb03 445b9b02 f1b9461c d0040f00  
    635dd624 46514658 f791464a 44d9ec90 bf1c454c  
    635dd634 2200464b f803d003 42a32b01 f1bad1fb  
    635dd644 d02b0f00 0904ebc9 9000f884 e8bdb007  
    635dd654 f10b8ff0 693e33ff e7d89302 d0d4429e  

code around lr:
    00000000 ffffffff ffffffff ffffffff ffffffff  
    00000010 ffffffff ffffffff ffffffff ffffffff  
    00000020 ffffffff ffffffff ffffffff ffffffff  
    00000030 ffffffff ffffffff ffffffff ffffffff  
    00000040 ffffffff ffffffff ffffffff ffffffff  
    00000050 ffffffff ffffffff ffffffff ffffffff  
    00000060 ffffffff ffffffff ffffffff ffffffff  
    00000070 ffffffff ffffffff ffffffff ffffffff  
    00000080 ffffffff ffffffff ffffffff ffffffff  
    00000090 ffffffff ffffffff ffffffff ffffffff  
    000000a0 ffffffff ffffffff ffffffff ffffffff  
    000000b0 ffffffff ffffffff ffffffff ffffffff  
    000000c0 ffffffff ffffffff ffffffff ffffffff  
    000000d0 ffffffff ffffffff ffffffff ffffffff  
    000000e0 ffffffff ffffffff ffffffff ffffffff  
    000000f0 ffffffff ffffffff ffffffff ffffffff  

memory map around fault addr 5c9b9fff:
    5c9ad000-5c9b9000 /system/lib/libstagefright_amrnb_common.so
    5c9b9000-5c9ba000 /system/lib/libstagefright_amrnb_common.so
    5c9ba000-5c9bb000 /system/lib/libstagefright_amrnb_common.so
JorgeCastilloPrz commented 7 years ago

We are having the same issue on a Wiko WAX Version 8 Build number JLS36C, Android 4.3 (API 18). Realm version being used is 2.2.0.

11-14 09:40:02.873 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
11-14 09:40:02.873 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1934350728
11-14 09:40:02.874 32244-17573/com.jobandtalent.android I/GCMPushStorage: Saving regId on app version 40200
11-14 09:40:02.875 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1934350728
11-14 09:40:02.880 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeHasTable 1891232144
11-14 09:40:02.881 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1891232144
11-14 09:40:02.884 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
11-14 09:40:02.884 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1934350728
11-14 09:40:02.885 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1934348400
11-14 09:40:02.885 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1934350728
11-14 09:40:02.885 1233-8609/? I/Icing: Indexing C197434566B6879F810C1C18B7A6F7447DEC579D from com.google.android.googlequicksearchbox
11-14 09:40:02.886 1233-8609/? I/Icing: Not enough disk space for indexing trimmable
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1934348400
11-14 09:40:02.886 17579-17579/com.flowup.test V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1934348400

(Plus all the signal 11 (SIGSEGV) and memory position stuff you saw on previous reports from this issue)

The error occurs when we try to get the default Realm instance for the first time.

Codeglee commented 7 years ago

This is a critical issue for us too, unfortunately we can't control the devices that our users choose. I'll have my fingers crossed on you guys nailing this one shortly otherwise we'll have to come up with a coping strategy.

Codeglee commented 7 years ago

@cmelchior Anything we can do to help with getting this fixed? Or any updates?

Qubitium commented 7 years ago

@cmelchior Please prioritize this issues since this and blackberry bug is preventing us from upgrading from stable 1.20 release to 2.0 branch and causing untold headaches for the brave users that jumped on the 2.0 bandwagon way too early. +Christmas wish.

beeender commented 7 years ago

@diegomontoya @Codeglee @JorgeCastilloPrz @vykintas I made a deskbuild to enable more logs and debugging symbols long time ago, but I forgot to share it ... The apk file can be found here https://drive.google.com/file/d/0B3487zszzj2eR0MtTmh4ZzRXajA/view If you have any device can reproduce this issue, would you please run the apk and get a full logcat for me? Thanks!!

@Zhuinden to enable the native log now, just use RealmLog.setLevel(LogLevel.ALL);.

Qubitium commented 7 years ago

@beeender

V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1522936368
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1522936368
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeHasTable 1523175744
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1523175744
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1527525080
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1527525080
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1522919096
V/REALM   (15214):  --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1522919096
F/libc    (15214): Fatal signal 11 (SIGSEGV) at 0x5aa6fff6 (code=2), thread 15214 (.examples.intro)
D/CrashAnrDetector(  566): Build: samsung/wilcox3gzm/wilcox3g:4.2.2/JDQ39/G3818ZMUAOH1:user/release-keys
D/CrashAnrDetector(  566): Hardware: PXA1088
D/CrashAnrDetector(  566): Revision: 6
D/CrashAnrDetector(  566): Bootloader: unknown
D/CrashAnrDetector(  566): Radio: unknown
D/CrashAnrDetector(  566): Kernel: Linux version 3.4.5-2258295 (se.infra@SWDB4706) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Aug 21 18:30:43 KST 2015
D/CrashAnrDetector(  566): 
D/CrashAnrDetector(  566): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
D/CrashAnrDetector(  566): Build fingerprint: 'samsung/wilcox3gzm/wilcox3g:4.2.2/JDQ39/G3818ZMUAOH1:user/release-keys'
D/CrashAnrDetector(  566): Revision: '6'
D/CrashAnrDetector(  566): pid: 15015, tid: 15015, name: .examples.intro  >>> io.realm.examples.intro <<<
D/CrashAnrDetector(  566): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5aa6fff6
D/CrashAnrDetector(  566):     r0 5aa70003  r1 5aa6fff6  r2 5ab51cd7  r3 5aa6fff6
D/CrashAnrDetector(  566):     r4 00000000  r5 5aa70002  r6 5ab9d120  r7 5d0ded20
D/CrashAnrDetector(  566):     r8 00000010  r9 00000010  sl 5d8ed738  fp 00000010
D/CrashAnrDetector(  566):     ip 5aa70006  sp bef29318  lr 00000000  pc 5d7cf002  cpsr 20000030
D/CrashAnrDetector(  566):     d0  000000013fc00000  d1  3ff000003fc00000
D/CrashAnrDetector(  566):     d2  000000003f800000  d3  3f1155e54e7e8408
D/CrashAnrDetector(  566):     d4  0000000000000000  d5  3f80000000000000
D/CrashAnrDetector(  566):     d6  3f80000000000000  d7  3f8000003f800000
D/CrashAnrDetector(  566):     d8  0000000000000000  d9  0000000000000000
D/CrashAnrDetector(  566):     d10 0000000000000000  d11 0000000000000000
D/CrashAnrDetector(  566):     d12 0000000000000000  d13 0000000000000000
D/CrashAnrDetector(  566):     d14 0000000000000000  d15 0000000000000000
D/CrashAnrDetector(  566):     d16 0000000d0000000c  d17 0000000000000000
D/CrashAnrDetector(  566):     d18 0000000000000000  d19 0000000000000000
D/CrashAnrDetector(  566):     d20 4008000000000000  d21 3fbc71c71c71c71c
D/CrashAnrDetector(  566):     d22 3fcc7288e957b53b  d23 3fd24998d6307188
D/CrashAnrDetector(  566):     d24 3fd99a27ad32ddf5  d25 3fe555b0aaeac752
D/CrashAnrDetector(  566):     d26 0000000000000000  d27 0000000000000000
D/CrashAnrDetector(  566):     d28 0000000000000005  d29 0000000000000000
D/CrashAnrDetector(  566):     d30 0000000000000000  d31 0000000000000000
D/CrashAnrDetector(  566):     scr 20000010
D/CrashAnrDetector(  566): 
D/CrashAnrDetector(  566): backtrace:
D/CrashAnrDetector(  566):     #00  pc 00082002  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::ArrayString::set(unsigned int, realm::StringData)+161)
D/CrashAnrDetector(  566):     #01  pc 000a4f97  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*)+150)
D/CrashAnrDetector(  566):     #02  pc 0005a6ed  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so ((anonymous namespace)::create_metadata_tables(realm::Group&)+148)
D/CrashAnrDetector(  566): 
D/CrashAnrDetector(  566): stack:
D/CrashAnrDetector(  566):          bef292d8  5ab9d718  
D/CrashAnrDetector(  566):          bef292dc  00001680  
D/CrashAnrDetector(  566):          bef292e0  5ab9d998  
D/CrashAnrDetector(  566):          bef292e4  00001900  
D/CrashAnrDetector(  566):          bef292e8  5d7c721b  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::ArrayString::calc_item_count(unsigned int, unsigned int) const)
D/CrashAnrDetector(  566):          bef292ec  5d7cee35  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Array::alloc(unsigned int, unsigned int)+252)
D/CrashAnrDetector(  566):          bef292f0  00000000  
D/CrashAnrDetector(  566):          bef292f4  5d902170  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
D/CrashAnrDetector(  566):          bef292f8  5ab9d720  
D/CrashAnrDetector(  566):          bef292fc  00000000  
D/CrashAnrDetector(  566):          bef29300  bef29330  [stack]
D/CrashAnrDetector(  566):          bef29304  00000000  
D/CrashAnrDetector(  566):          bef29308  5d0ded20  
D/CrashAnrDetector(  566):          bef2930c  5d0ded20  
D/CrashAnrDetector(  566):          bef29310  df0027ad  
D/CrashAnrDetector(  566):          bef29314  00000000  
D/CrashAnrDetector(  566):     #00  bef29318  5d7c7c91  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (long long realm::Array::get<16u>(unsigned int) const)
D/CrashAnrDetector(  566):          bef2931c  00000001  
D/CrashAnrDetector(  566):          bef29320  0000000f  
D/CrashAnrDetector(  566):          bef29324  00000008  
D/CrashAnrDetector(  566):          bef29328  5d8ed738  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
D/CrashAnrDetector(  566):          bef2932c  00000008  
D/CrashAnrDetector(  566):          bef29330  5ab9d128  
D/CrashAnrDetector(  566):          bef29334  ffffffff  
D/CrashAnrDetector(  566):          bef29338  00000000  
D/CrashAnrDetector(  566):          bef2933c  5d0ded20  
D/CrashAnrDetector(  566):          bef29340  00000001  
D/CrashAnrDetector(  566):          bef29344  00000001  
D/CrashAnrDetector(  566):          bef29348  00000000  
D/CrashAnrDetector(  566):          bef2934c  5d8ed738  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
D/CrashAnrDetector(  566):          bef29350  5d0de008  
D/CrashAnrDetector(  566):          bef29354  5d7f1f9b  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*)+154)
D/CrashAnrDetector(  566):     #01  bef29358  ffffffff  
D/CrashAnrDetector(  566):          bef2935c  00000000  
D/CrashAnrDetector(  566):          bef29360  00000000  
D/CrashAnrDetector(  566):          bef29364  00000008  
D/CrashAnrDetector(  566):          bef29368  5c6d25a8  
D/CrashAnrDetector(  566):          bef2936c  00000000  
D/CrashAnrDetector(  566):          bef29370  5ac49680  
D/CrashAnrDetector(  566):          bef29374  5c6d2718  
D/CrashAnrDetector(  566):          bef29378  5d8ed738  /data/app-lib
Qubitium commented 7 years ago

Below 4.2.2 devices ran the test apk fine without crash. Appears bug is Samsung 4.2.2 specific.

LG VS985 4G LTE (4.2.2) ZTE V818 (4.2.2)

Qubitium commented 7 years ago

@beeender Full logcat sent to support@realm.io

JamesPaulKey commented 7 years ago

Still broken on realm 2.2.1

@beeender log attached, seems near identical to @diegomontoya's

11-30 09:15:02.069 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
11-30 09:15:02.069 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1522990864
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1522990864
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeHasTable 1523020728
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1523020728
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1522969416
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1522969416
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1540182136
11-30 09:15:02.077 5575-5575/? V/REALM:  --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1540182136
Build: samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUANI2:user/release-keys
 Hardware: PXA986
 Revision: 3
 Bootloader: I8200NXXUANI2
 Radio: unknown
 Kernel: Linux version 3.4.5-2780647 (se.infra@SWDA2603) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Tue Sep 23 20:20:02 KST 2014

 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 Build fingerprint: 'samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUANI2:user/release-keys'
 Revision: '3'
 pid: 5632, tid: 5632, name: .examples.intro  >>> io.realm.examples.intro <<<
 signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5ac31ff6
     r0 5ac32003  r1 5ac31ff6  r2 5ac6bc17  r3 5ac31ff6
     r4 00000000  r5 5ac32002  r6 5ac7f020  r7 5dc88d20
     r8 00000010  r9 00000010  sl 5e526738  fp 00000010
     ip 00000000  sp bedbf318  lr 00000000  pc 5e408002  cpsr 20000030
     d0  65706f72705f6b70  d1  726168535f6c6100
     d2  5f6d6c6165526400  d3  6553657669746102
     d4  6665642f73656c69  d5  6165722e746c7561
     d6  67616e616d2e6d6c  d7  63612f746e656d65
     d8  0000000000000000  d9  0000000000000000
     d10 0000000000000000  d11 0000000000000000
     d12 0000000000000000  d13 0000000000000000
     d14 0000000000000000  d15 0000000000000000
     d16 0000000d0000000c  d17 0000000000000000
     d18 0000000000000000  d19 0000000000000000
     d20 4008000000000000  d21 3fbc71c71c71c71c
     d22 3fcc7288e957b53b  d23 3fd24998d6307188
     d24 3fd99a27ad32ddf5  d25 3fe555b0aaeac752
     d26 0000000000000000  d27 0000000000000000
     d28 0000000000000000  d29 0000000000000000
     d30 0000000000000000  d31 0000000000000000
     scr 20000010

 backtrace:
     #00  pc 00082002  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::ArrayString::set(unsigned int, realm::StringData)+161)
     #01  pc 000a4f97  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*)+150)
     #02  pc 0005a6ed  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so ((anonymous namespace)::create_metadata_tables(realm::Group&)+148)

 stack:
          bedbf2d8  5ac7f618  
          bedbf2dc  00001680  
          bedbf2e0  5ac7f898  
          bedbf2e4  00001900  
          bedbf2e8  5e40021b  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::ArrayString::calc_item_count(unsigned int, unsigned int) const)
          bedbf2ec  5e407e35  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Array::alloc(unsigned int, unsigned int)+252)
          bedbf2f0  00000000  
          bedbf2f4  5e53b170  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
          bedbf2f8  5ac7f620  
          bedbf2fc  00000000  
          bedbf300  bedbf330  [stack]
          bedbf304  00000000  
          bedbf308  5dc88d20  
          bedbf30c  5dc88d20  
          bedbf310  df0027ad  
          bedbf314  00000000  
     #00  bedbf318  5e400c91  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (long long realm::Array::get<16u>(unsigned int) const)
          bedbf31c  00000001  
          bedbf320  0000000f  
          bedbf324  00000008  
          bedbf328  5e526738  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
          bedbf32c  00000008  
          bedbf330  5ac7f028  
          bedbf334  ffffffff  
          bedbf338  00000000  
          bedbf33c  5dc88d20  
          bedbf340  00000001  
          bedbf344  00000001  
          bedbf348  00000000  
          bedbf34c  5e526738  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so
          bedbf350  5dc88008  
          bedbf354  5e42af9b  /data/app-lib/io.realm.examples.intro-1/librealm-jni.so (realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*)+154)
     #01  bedbf358  ffffffff  
          bedbf35c  00000000  
          bedbf360  00000000  
          bedbf364  00000008  
          bedbf368  5acec378  
          bedbf36c  00000000  
          bedbf370  5ac6f100  
          bedbf374  5acec4e8  
          bedbf378  5e526738  
11-30 09:15:09.132 541-620/? D/CrashAnrDetector: processName:io.realm.examples.intro
11-30 09:15:09.132 541-620/? D/CrashAnrDetector: broadcastEvent : io.realm.examples.intro SYSTEM_TOMBSTONE
mcastro-dev commented 7 years ago

@kneth , from #3863 I set the logLevel(ALL). Got this:

V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1581507336 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1581507336 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1581509296 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1581509296 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1581526080 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1581526080 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1581526864 V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1581526864

kneth commented 7 years ago

@Kastr Thanks! It is the same log as reported when this issue was create. But this is for Samsung Galaxy Tab 3 Lite (SM-T110) API 17.

Zhuinden commented 7 years ago

@kneth yes, both SM-T110 and SM-T111 and GT-I8200N and Wiko WAX Version 8 Build number JLS36C have this problem

mcastro-dev commented 7 years ago

@Zhuinden & @kneth Appreciate your help and attention!

kneth commented 7 years ago

We will buy one of these devices (probably used) in order to debug the issue.

Codeglee commented 7 years ago

We're also seeing this on the Samsung Galaxy Tab E (SM-T560). I thought it might be Android version-linked as it had been limited to 4.2.2-locked devices but the SM-T560 is running 4.4.4 and still demonstrating the issue.

kneth commented 7 years ago

@Codeglee Thanks for reporting.

The list seems to grow, and I should try to find a pattern.

Codeglee commented 7 years ago

@kneth Another device to add to the list SM-G357FZ. Not sure if it's 100% Samsung device-related but that's what Fabric is showing us so far. We have been considering Realm a critical piece of our future infrastructure but this issue is stopping us adopting in any serious way.

This issue is currently affecting 40 of our end users, our app is around care-provision so anything that impedes that is potentially life-threatening. Is there any way we can help bump this in your priorities? Or would you suggest we transition to the unaffected 1.2.0 release?

kneth commented 7 years ago

@Codeglee Thanks for adding a device to the list.

I can't give you a time frame for fixing the issue and we don't have much clue yet. So going with 1.2.0 might be a good temporary solution for you.

Zhuinden commented 7 years ago

@Codeglee don't forget that Realms created by 2.x cannot be read by 1.x

I assume they'll be able to fix this issue with Samsung and the object store only once the integration is more complete (and they actually have a device that crashes), so you should go with 1.2.0.

halizton commented 7 years ago

I believe I have reproduced this one as well on my Samsung SIII mini armv7 GI-I8200 using realm version 2.2.1

It crashed on this particular function, not sure if the nativePtr is invalidated.

nativeSetVersion(nativePtr, schemaVersion);

image

SeongUgJung commented 7 years ago

I've got this log

V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm -1357632608
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 503 (RxComputationSc)
V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI:  --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm -1623846816
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 1727 (RxIoScheduler-2)

device is SM-N900K, OS 5.0 (Lolipop) realm : 2.2.1

Zhuinden commented 7 years ago

Galaxy Note 3, Lollipop?

Okay, that's newer than the others.

kneth commented 7 years ago

We have finally got hold on a device. Initially I just run our current tests and on master. Can’t be simpler, right? Our tests pass on my OnePlus One and a Samsung Galaxy III mini (I8190N). But I get a native crash in the GC test suite on the Samsung Galaxy Tab 3 Lite (SM T111). Realm Core's unit tests do not crash.

It sounds like I can look forward to a debugging session next week.

kneth commented 7 years ago

I have been debugging on this issue today. As already mention in my previous comment, I also experience crashes using a SM T111 device. Unfortunately the device is a bit unstable (random reboots even when I am not using it). The IntroExample crashes and sometimes the GC test suite.

Looking at core's unit tests, I haven't seen any crashes. Going back to previous core versions did give me anything.

The reported crashes (and mine in the IntroExample) indicate an issue with setVersion(). But simpler unit tests e.g., schemaIndexCacheIsUpdatedAfterSchemaChange do not crash.

I'll keep debugging.

kneth commented 7 years ago

The crash happens in a strange place:

    frame #0: 0x5e61ea68 librealm-jni.so`realm::ArrayString::set(unsigned int, realm::StringData) + 162
    frame #1: 0x5e640c1e librealm-jni.so`realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*) + 154
    frame #2: 0x5e5f8570 librealm-jni.so`(anonymous namespace)::create_metadata_tables(realm::Group&) + 152
    frame #3: 0x5e5f86a4 librealm-jni.so`realm::ObjectStore::set_schema_version(realm::Group&, unsigned long long) + 12
    frame #4: 0x5e5bb50c librealm-jni.so`Java_io_realm_internal_SharedRealm_nativeSetVersion + 292

Using an in-memory Realm still gives the crash.

lmonte commented 7 years ago

i have the same problem now! I'll keep debugging too.

crash here?

@Override
public LoginSession getLoginSession() {
    Realm.getDefaultInstance().executeTransaction(realm -> {
        mLoginSession = realm.where(LoginSession.class).findFirst();
    });
    return mLoginSession;
}

A/libc: Fatal signal 11 (SIGSEGV) at 0x5abfaffe (code=2), thread 8844

Zhuinden commented 7 years ago

@lmonte device type? Realm version? relevant code?

kneth commented 7 years ago

@lmonte And stack trace, please

kneth commented 7 years ago

I have had some progress today. When the Realm file is initially created, two tables are created (one for primary keys and one for metadata). At this point no other tables exist, and these are the first two tables added; the model classes are added later on. I can avoid the crash by swapping the order the two tables are created.

The crash occurs at realm::ArrayString::set(unsigned int, realm::StringData) i.e., deep in Realm Core when the table names are stored. Core will resize the width of the string column if required, so expanding from 2 to 8 bytes leads to the crash (adding the table with the longer table name first does not require an expansion of the column - and therefore no crash).

At this time, I can not sure what the proper fix is. Since it only happens at certain devices, I will have to get a deeper understanding on how these devices (and the Linux kernel and runtime environment) are different from "normal" devices.

Qubitium commented 7 years ago

@kneth. I assume copy_on_write() is called on column expansion in core. Can you humor me and revert this commit and see if it helps? https://github.com/realm/realm-core/commit/13a4fe72c34c7f2dee828350ff7a1f18683a7f7d

sushant36 commented 7 years ago

I was having the same issue ,moving back to realm 2.0.2 solved it for me for the time being

12-26 16:26:04.568 19861-19861/A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xffae6914 in tid 19861 ()
12-26 16:26:04.675 379-379/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-26 16:26:04.675 379-379/? A/DEBUG: Build fingerprint: 12-26 16:26:04.675 379-379/? A/DEBUG: Revision: 'p400'
12-26 16:26:04.675 379-379/? A/DEBUG: ABI: 'arm'
12-26 16:26:04.676 379-379/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffae6914
12-26 16:26:04.866 379-379/? A/DEBUG:     r0 b95f6a40  r1 bef0de88  r2 00000001  r3 000001fb
12-26 16:26:04.866 379-379/? A/DEBUG:     r4 ffae6910  r5 b95f6a40  r6 00480000  r7 b95f0e20
12-26 16:26:04.866 379-379/? A/DEBUG:     r8 bef0de88  r9 b95f3c88  sl 13344780  fp 13cab5c0
12-26 16:26:04.867 379-379/? A/DEBUG:     ip 98be4e38  sp bef0de70  lr 98ab2147  pc 98ab0e4c  cpsr 00030030
12-26 16:26:04.874 379-379/? A/DEBUG: backtrace:
12-26 16:26:04.874 379-379/? A/DEBUG:     #00 pc 00086e4c  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #01 pc 00088143  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #02 pc 000d48eb  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #03 pc 000a6bcb  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #04 pc 00074af5  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #05 pc 000685cd  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so
12-26 16:26:04.874 379-379/? A/DEBUG:     #06 pc 0002302b  /data/app/com.mobileappexperts.roadcast-1/lib/arm/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeCommitTransaction+50)
12-26 16:26:04.874 379-379/? A/DEBUG:     #07 pc 0000d3ad  /data/data/com.mobileappexperts.roadcast/cache/slice-io.realm-realm-android-library-2.2.1_9da3098373ef7e7a193d009d080d7858fda15778-classes.dex (offset 0x66000)
12-26 16:26:06.893 1809-2394/? E/NativeCrashListener: Exception dealing with report
                                                      android.system.ErrnoException: read failed: EAGAIN (Try again)
                                                          at libcore.io.Posix.readBytes(Native Method)
                                                          at libcore.io.Posix.read(Posix.java:169)
                                                          at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230)
                                                          at android.system.Os.read(Os.java:367)
                                                          at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240)
                                                          at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)  
LPFinch commented 7 years ago

+1 log =) Samsung GT-I8200, Android 4.2.2 Realm 2.2.1

Log.txt

EdwardvanRaak commented 7 years ago

@kneth You mentioned a proper fix but is there any chance on a temporary fix or work-around we can use in the meanwhile? We are also having customers with Samsung S3 Mini devices with this issue and going back to an older version of realm would be a real pain since migration is not backward compatible.

Qubitium commented 7 years ago

@EdwardvanRaak There is the ugly hack of compiling your own 1.2.0 branch and prefixing all the overlapping classes with diff unique names and running both 2.0 and 1.20 in parallel which allows you to do manual data move from v2 to v1.2.0 format. There are more issues at play than this crash issue with v2 for the moment. Waiting for this fix will only bring u to the next gotcha.

Zhuinden commented 7 years ago

Personally I'd just use a different name() param for the config builder and switch to 1.2.0, hopefully you don't have any non-restorable data.

The object store really got Realm back to a level of "beta" that's less stable than 0.87.5 or 0.88.3, imo.

Although surprisingly, this is still a core bug.

Zhuinden commented 7 years ago

@kneth maybe you should just invert the order of those two operations in core

nguyendat commented 7 years ago

Updated: 10/01/2017 I tested on another Samsung device with PXA986 chipset: T210 - Galaxy Tab 3 (7.0), Android OS version 4.4.2 and 4.1.2 and it work fine.

Unfortunately on Samsung device farm don't have T111 and I8200N: http://developer.samsung.com/remotetestlab/rtlDeviceList.action ++++++++++++++++++ Hi guys,

It seem I also got this issue on Samsung S3 mini LE and Samsung Tab 3 7 with realm version 2.2.0.

Base on report of user (Unfortunate i don't have log) one common thing i can see on both device is they using Marvell chipset: PXA986, does it related with realm native library.