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
Our introExample
also crashes on that device.
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.
I doubt that is the case here, since in that code path, the file has already been created and opened.
How soon can we expect this to be fixed? It happens consistently on this device
There is no timeline yet unfortunately. We are working on it.
Have you tried Realm 2.1.1 and see if it helps, just in case?
@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 :(
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)
@maysaini Would you please share a completed backtrace? It seems some call stacks are missed.
These are the only logs Im getting
@beeender is there a way to create verbose native log with the refactored RealmLog?
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]
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
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.
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.
@cmelchior Anything we can do to help with getting this fixed? Or any updates?
@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.
@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);
.
@beeender
```javaI/DEBUG (15227): debuggerd: Aug 21 2015 18:40:19
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)
```java
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
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)
@beeender Full logcat sent to [email protected]
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
@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
@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.
@kneth yes, both SM-T110 and SM-T111 and GT-I8200N and Wiko WAX Version 8 Build number JLS36C have this problem
@Zhuinden & @kneth
Appreciate your help and attention!
We will buy one of these devices (probably used) in order to debug the issue.
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.
@Codeglee Thanks for reporting.
The list seems to grow, and I should try to find a pattern.
@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?
@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.
@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.
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);
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
Galaxy Note 3, Lollipop?
Okay, that's newer than the others.
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.
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.
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.
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
@lmonte device type? Realm version? relevant code?
@lmonte And stack trace, please
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.
@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
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)
+1 log =)
Samsung GT-I8200, Android 4.2.2
Realm 2.2.1
@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.
@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.
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.
@kneth maybe you should just invert the order of those two operations in core
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.
Our latest release included an upgrade of Realm Core. As @diegomontoya notices, some changes in allocations is in that version. But that did not solve the issue (I know that @diegomontoya suggested to revert it but the crash happens with and without that particular commit).
Swapping the order of how the two metadata tables are created might solve the issue now. But I fear that it is masking the real bug - and I want to find it!
I take a draft analysis base on the log provide by LPFinch as below:
A. Logs analysis
12-28 18:29:30.179 19417-19417/com.myapp D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
12-28 18:29:30.179 19417-19417/com.myapp I/dalvikvm: DexOpt: unable to optimize static field ref 0x009e at 0x0d in Lcom/getkeepsafe/relinker/SystemLibraryLoader;.supportedAbis
12-28 18:29:30.179 19417-19417/com.myapp D/dalvikvm: Trying to load lib /data/app-lib/com.myapp-2/librealm-jni.so 0x42a71650
12-28 18:29:30.179 19417-19417/com.myapp D/dalvikvm: Added shared lib /data/app-lib/com.myapp-2/librealm-jni.so 0x42a71650
12-28 18:29:30.312 19417-19421/com.myapp D/dalvikvm: GC_CONCURRENT freed 379K, 16% free 9540K/11300K, paused 2ms+12ms, total 42ms
12-28 18:29:30.312 19417-19417/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 2ms
12-28 18:29:30.375 19417-19421/com.myapp D/dalvikvm: GC_CONCURRENT freed 241K, 15% free 9802K/11428K, paused 3ms+2ms, total 30ms
12-28 18:29:30.375 19417-19449/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 14ms
12-28 18:29:30.375 19417-19455/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 13ms
12-28 18:29:30.375 19417-19417/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms
12-28 18:29:30.375 19417-19454/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
12-28 18:29:30.375 19417-19421/com.myapp D/dalvikvm: GC_CONCURRENT freed 241K, **15% free 9802K/11428K**, paused 3ms+2ms, total 30ms
-> System try to reclaim memory when heap is fill-up, free memory at this time is 15% ~ 1626K remaining free in heap
12-28 18:29:30.375 19417-19454/com.myapp D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 15ms
-> It guest that our app try to allocate trunk of memory in heap but it doesn't fit. So it continously explicit request garbage collection to reclaim memory but it failed. That mean system can not allocate enough memory for our request.
Example: We want execute copy-on-write trunk of object with size around 200K as mention by diegomontoya and currently free memory in heap around 1626K but this issue possible to happened due to free memory are split in trunk of pieces.
=> I guest because of allocation memory failed BUT after that Realm continue using that dangling pointer it will cause SIGSEGV 11 when access to fault memory location.
B. Solution:
I think it is difficult to handle this kind of issue without deeply understand specific device (T111 and I8200N ...) to optimize memory usage of our app and Android 4.2.2 so it seem this is long term issue.
For temporary solution would like to recommend some options:
1. For client using Realm like me: Try to optimize memory as possible to reduce potential this issue happened. ( I tried but failed on my app, so Lucky you ^^). Otherwise i don't prefer downgrade libs version
2. From Realm side: By initialize step could you please consider to return some value (example null if failed) to client side if something wrong: at least that will help client side handle by display proper message to our lovely user.
つ _ ༽つ #RealmTeam TAKE MY ENERGY ༼ つ _ ༽つ
Lucky debugging !
I update backtrace in my FC case: Samsung device T111, Android 4.2.2, Realm version 2.2.0, Chipset: Marvell PXA986, ISA Supported: ARMv7, CPU Structure: RISC
01-10 13:53:34.550 103 103 I DEBUG : backtrace:
01-10 13:53:34.550 103 103 I DEBUG : #00 pc 00086598 /data/app-lib/com.project-1/librealm-jni.so
01-10 13:53:34.550 103 103 I DEBUG : #01 pc 000a9d37 /data/app-lib/com.project-1/librealm-jni.so
01-10 13:53:34.550 103 103 I DEBUG : #02 pc 0005ec8d /data/app-lib/com.project-1/librealm-jni.so
After using addr2line tool to revert backtrace:
std::system_error::system_error(int, std::error_category const&)
??:?
std::system_error::system_error(int, std::error_category const&)
??:?
realm::ObjectSchemaValidationException* std::__uninitialized_copy<false>::__uninit_copy<realm::ObjectSchemaValidationException*, realm::ObjectSchemaValidationException*>(realm::ObjectSchemaValidationException*, realm::ObjectSchemaValidationException*, realm::ObjectSchemaValidationException*)
??:?
I will post later if have any update.
Hi. I am also experiencing the same problem but device is Nexus 6p Emulate.
01-12 14:42:02.276 27529-27529/com.autoschedule.proto A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xfffffffc in tid 27529 (oschedule.proto)
01-12 14:42:02.378 2333-2454/com.google.android.gms I/Icing: Indexing EC9C2E4DCA826B5F8CFE2DCA5FE5F0C6E08B34DD from com.google.android.gms
01-12 14:42:02.382 1259-1259/? A/DEBUG: * *
01-12 14:42:02.382 1259-1259/? A/DEBUG: Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/2872745:userdebug/test-keys'
01-12 14:42:02.383 1259-1259/? A/DEBUG: Revision: '0'
01-12 14:42:02.383 1259-1259/? A/DEBUG: ABI: 'x86'
01-12 14:42:02.383 1259-1259/? A/DEBUG: pid: 27529, tid: 27529, name: oschedule.proto >>> com.autoschedule.proto <<<
01-12 14:42:02.384 1259-1259/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfffffffc
01-12 14:42:02.392 1259-1259/? A/DEBUG: eax 00000000 ebx 9e0f9dd4 ecx b4086100 edx ffffffff
01-12 14:42:02.392 1259-1259/? A/DEBUG: esi b4086100 edi b4086100
01-12 14:42:02.392 1259-1259/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 00000007 xss 0000007b
01-12 14:42:02.392 1259-1259/? A/DEBUG: eip 9df440e8 ebp b4085e80 esp bfe56140 flags 00010282
01-12 14:42:02.400 1259-1259/? A/DEBUG: backtrace:
01-12 14:42:02.402 1259-1259/? A/DEBUG: #00 pc 001770e8 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.402 1259-1259/? A/DEBUG: #01 pc 00179998 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.403 1259-1259/? A/DEBUG: #02 pc 00187de3 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.403 1259-1259/? A/DEBUG: #03 pc 00126790 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.403 1259-1259/? A/DEBUG: #04 pc 000ab57d /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.403 1259-1259/? A/DEBUG: #05 pc 000b0259 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.404 1259-1259/? A/DEBUG: #06 pc 000be06d /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.404 1259-1259/? A/DEBUG: #07 pc 000ca059 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.404 1259-1259/? A/DEBUG: #08 pc 000ba921 /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so
01-12 14:42:02.405 1259-1259/? A/DEBUG: #09 pc 0003c19b /data/app/com.autoschedule.proto-2/lib/x86/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeGetSharedRealm+411)
01-12 14:42:02.405 1259-1259/? A/DEBUG: #10 pc 03c70546 /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (long io.realm.internal.SharedRealm.nativeGetSharedRealm(long, io.realm.internal.RealmNotifier)+154)
01-12 14:42:02.405 1259-1259/? A/DEBUG: #11 pc 03c6f72d /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (io.realm.internal.SharedRealm io.realm.internal.SharedRealm.getInstance(io.realm.RealmConfiguration, io.realm.internal.RealmNotifier, io.realm.internal.SharedRealm$SchemaVersionListener, boolean)+753)
01-12 14:42:02.406 1259-1259/? A/DEBUG: #12 pc 03c6f3fe /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (io.realm.internal.SharedRealm io.realm.internal.SharedRealm.getInstance(io.realm.RealmConfiguration)+82)
01-12 14:42:02.406 1259-1259/? A/DEBUG: #13 pc 03ada0d7 /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (io.realm.BaseRealm io.realm.RealmCache.createRealmOrGetFromCache(io.realm.RealmConfiguration, java.lang.Class)+571)
01-12 14:42:02.406 1259-1259/? A/DEBUG: #14 pc 02605357 /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (io.realm.Realm io.realm.Realm.getDefaultInstance()+235)
01-12 14:42:02.406 1259-1259/? A/DEBUG: #15 pc 022aaa64 /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (io.realm.Realm com.todait.android.application.database.realm.TodaitRealm.todait()+840)
01-12 14:42:02.406 1259-1259/? A/DEBUG: #16 pc 0255ff0a /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (void com.todait.application.mvc.controller.TodaitApplication.onCreate()+1118)
01-12 14:42:02.407 1259-1259/? A/DEBUG: #17 pc 025608b3 /data/app/com.autoschedule.proto-2/oat/x86/base.odex (offset 0x17fe000) (void com.todait.application.mvc.controller.TodaitApplication_.onCreate()+135)
01-12 14:42:02.407 1259-1259/? A/DEBUG: #18 pc 7241ef5f /data/dalvik-cache/x86/system@[email protected] (offset 0x1eb2000)
01-12 14:42:02.407 1259-1259/? A/DEBUG: #19 pc 85c9b5de
@omjoonkim Can you provide a little more information? For example, version, your configuration, can it be easily reproduced.
@cmelchior guys, it's been 3 months and this bug is rather extreme from an enterprise standpoint, I think inverting the two lines of code isn't such a bad idea after all
Swapping the order of how the two metadata tables are created might solve the issue now. But I fear that it is masking the real bug - and I want to find it!
I appreciate wanting to find the source of the bug, but I'm with @Zhuinden on this one. Patching it for everyone in a release and continuing to investigate would be ideal from my perspective.
I have created https://github.com/realm/realm-java/pull/4067 which is a temporarily solution. Once merged, it should be available as a snapshot release. Please give it a try and report back. I am sure that this is not the proper fix but if other crashes surface from this solution, we might use that information to build a better hypothesis of that the root cause is.
Thanks @kneth for the temporary solution. However, this didn't fix the crash on Samsung GT-I8200 (Android 4.2.2). Did this snapshot release work for anyone? Thanks.
@vianairan trying with the newly released 2.3.0 right?
@Zhuinden Actually, I tried with "2.4.0-SNAPSHOT" according to the version.txt. This is part of gradle file. Please let me know if Im doing something wrong. FYI: it works on Google Pixel. Thanks
buildscript {
repositories {
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
dependencies {
classpath "io.realm:realm-gradle-plugin:2.4.0-SNAPSHOT"
}
}
apply plugin: 'realm-android'
Yes, the work-around is included in 2.3.0.
@vianairan Thanks for the feedback. Can you post the stacktrace?
I don't think we have merged anything into master
after the release so no snapshot yet.
@kneth I just tried using 2.3.0. Still it crashes. This is the stacktrace:
01-19 14:25:54.117 9412-9412/com.blacks.findme D/dalvikvm: Trying to load lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x428776c0
01-19 14:25:54.125 9412-9412/com.blacks.findme D/dalvikvm: Added shared lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x428776c0
01-19 14:25:55.523 9393-9393/? I/DEBUG: #00 pc 00081fe2 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.523 9393-9393/? I/DEBUG: #01 pc 000a4f77 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.523 9393-9393/? I/DEBUG: #02 pc 0005a6cd /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.523 9393-9393/? I/DEBUG: beb472e8 5f5891fb /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.523 9393-9393/? I/DEBUG: beb472ec 5f590e15 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.523 9393-9393/? I/DEBUG: beb472f4 5f6c4170 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: #00 beb47318 5f589c71 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb47328 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb4734c 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb47354 5f5b3f7b /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb47378 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb47384 5f5cb0b5 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb47388 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb473c4 5f5b0aff /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb473d8 5f6afa64 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb473e0 5f6af884 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:55.531 9393-9393/? I/DEBUG: beb473e8 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
01-19 14:25:56.226 541-588/? D/CrashAnrDetector: Build: samsung/goldenvess3gxx/goldenvess3g:4.2.2/JDQ39/I8200XXUANJ3:user/release-keys
Hardware: PXA986
Revision: 3
Bootloader: I8200XXUANJ3
Radio: unknown
Kernel: Linux version 3.4.5-2794522 (se.infra@SWDA2607) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Thu Oct 23 12:24:56 KST 2014
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/goldenvess3gxx/goldenvess3g:4.2.2/JDQ39/I8200XXUANJ3:user/release-keys'
Revision: '3'
pid: 9412, tid: 9412, name: blacks.findme >>> com.blacks.findme <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 60870ffd
r0 6088674b r1 60870ffd r2 60886867 r3 60870ffd
r4 00000000 r5 6087100d r6 608868c8 r7 60886700
r8 00000010 r9 00000010 sl 5f6af6e8 fp 00000010
ip 00000000 sp beb47318 lr 00000000 pc 5f590fe2 cpsr 20000030
d0 65706f72705f6b70 d1 6165526465726100
d2 7262696c203a2900 d3 62696c2220797202
d4 2f6c616e7265746e d5 6a4c3b656c626154
d6 6c6974752f617661 d7 0056293b70614d2f
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 403a000000000000 d17 7e37e43c8800759c
d18 3ff0000000000000 d19 4018000000000000
d20 4000000000000000 d21 402a000000000000
d22 3fa4e644860834c5 d23 3fe921fb54442d18
d24 3fd99a27ad32ddf5 d25 3fe555b0aaeac752
d26 0000000000000000 d27 0000000000000000
d28 0000000000000000 d29 0000000000000000
d30 0000000000000000 d31 0000000000000000
scr 20000010
backtrace:
#00 pc 00081fe2 /data/app-lib/com.blacks.findme-3/librealm-jni.so
#01 pc 000a4f77 /data/app-lib/com.blacks.findme-3/librealm-jni.so
#02 pc 0005a6cd /data/app-lib/com.blacks.findme-3/librealm-jni.so
stack:
beb472d8 60886ec0
beb472dc 00001680
beb472e0 60887140
beb472e4 00001900
beb472e8 5f5891fb /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb472ec 5f590e15 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb472f0 00000000
beb472f4 5f6c4170 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb472f8 60886ec8
beb472fc 00000000
beb47300 beb47330 [stack]
beb47304 00000000
beb47308 60886700
beb4730c 60886700
beb47310 df0027ad
beb47314 00000000
#00 beb47318 5f589c71 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb4731c 00000001
beb47320 0000000f
beb47324 00000008
beb47328 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb4732c 00000008
beb47330 608868d0
beb47334 ffffffff
beb47338 00000000
beb4733c 60886700
beb47340 00000001
beb47344 00000001
beb47348 00000000
beb4734c 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb47350 608859e8
beb47354 5f5b3f7b /data/app-lib/com.blacks.findme-3/librealm-jni.so
#01 beb47358 ffffffff
beb4735c 00000000
beb47360 00000000
beb47364 00000008
beb47368 5fc0e170
beb4736c 00000000
beb47370 5fc56958
beb47374 5fc0e2e0
beb47378 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb4737c 00000008
beb47380 00000001
beb47384 5f5cb0b5 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb47388 5f6af6e8 /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb4738c 00000008
beb47390 00000000
beb47394 5fc0e170
........ ........
#02 beb473b8 00000000
beb473bc 00000000
beb473c0 60886700
beb473c4 5f5b0aff /data/app-lib/com.blacks.findme-3/librealm-jni.so
beb473c8 00000000
01-19 14:26:02.773 9508-9508/com.blacks.findme D/dalvikvm: Trying to load lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x428785f8
01-19 14:26:02.773 9508-9508/com.blacks.findme D/dalvikvm: Added shared lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x428785f8
01-19 14:26:04.117 9558-9558/com.blacks.findme D/dalvikvm: Trying to load lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x42879540
01-19 14:26:04.117 9558-9558/com.blacks.findme D/dalvikvm: Added shared lib /data/app-lib/com.blacks.findme-3/librealm-jni.so 0x42879540
@vianairan have you added RealmLog.setLevel(LogLevel.ALL);
to see if there is anything more to know?
Realm Java's intro example doesn't crash with 2.3.0 on SM-T111. But as I have said previously, I think the bug wasn't solved by swapping those two table creations. So I will be back the the debugging lab next week.
@vianairan If you have the time, I would be happy if you can set the log level as suggested above.
I using Samsung Galaxy Tab 3 (SM-T111M) android 4.2.2. Still it crashes. This is the stacktrace:
D/dalvikvm: threadid=13: still suspended after undo (sc=1 dc=1)
D/dalvikvm: GC_CONCURRENT freed 265K, 18% free 5958K/7216K, paused 7ms+7ms, total 44ms
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1523064104
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1523064104
V/REALM_JNI: --> Java_io_realm_internal_Table_nativeGetFinalizerPtr
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1522699208
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1522699208
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1539806640
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1539806640
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1523385600
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1523385600
A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 30171 (om.br.xxxxxx)
Debug class Realm.Java in method private static void initializeRealm(Realm realm)
Error in line mediator.createTable
:
for (Class<? extends RealmModel> modelClass : modelClasses) {
// Create and validate table
if (unversioned) {
mediator.createTable(modelClass, realm.sharedRealm);
}
columnInfoMap.put(modelClass, mediator.validateTable(modelClass, realm.sharedRealm, false));
}
@rodriguesmarcelo could you please your native backtrace here? Also, were you testing with v2.3.0
(not the snapshot)?
Hey guys, could you please give me a short status update? Is there a fix in sight?
I need to decide whether to go back to 1.x, replace Realm completely or wait for the fix in order to being able to rollout again.
Thanks!
@Konsumierer personally I'd recommend Realm 1.2.0, but that cannot open a Realm version created by 2.x
@Zhuinden, thanks, there is no database currently, so that's not a problem. We have just not tested with Realm 1.2.0 and it is very late for that change. Can you say anything about the stability of 1.2.0? And I haven't checked the API changes. Any big changes between 1.x and 2.x?
@Konsumierer well there weren't changes in things that I've been using.
I think stability of 1.2.0 is better than that of 2.x at the moment. But you must make sure that you don't open Realm in multiple processes by accident (typically happens if you "open Realm in application subclass". Don't do that.)
Differences are pretty much this:
1.) there is no Realm.init()
call in Realm 1.2.0, instead you do new RealmConfiguration.Builder(appContext)
2.) in 1.2.0, createOrUpdateAllFromJson()
is bugged if your RealmObjects have primary key (fixed in 2.0.x)
3.) default RealmObject variables set in constructor were added in 2.0.x, previously constructors couldn't be accessed by the RealmTransformer. I haven't had a need for this feature so far.
4.) Realm 1.2.0 allowed changing primary key value, Realm 2.x doesn't allow it anymore. So there's that.
5.) The only other oddity I found in Realm 1.2.0 is that using realm.executeTransactionAsync()
doesn't seem to notify looper threads (like HandlerThread
) that aren't the UI thread. This was fixed in 2.0.x
On the bright side, asynchronous queries are kinda unreliable lately in Realm 2.x (up to 2.3.0), but it worked perfectly fine in Realm 1.2.0.
The big change in 2.x is the Realm Object Server support, but if you're not using that, then it's not really relevant.
I have been debugging most days this week without coming to a conclusion. The crash happens in the following instruction: STRB r4, [r1], #1
. The register r1
contains an invalid address. My experiments this week indicate that we are talking about a race condition.
By aligning compiler options (https://github.com/realm/realm-core/pull/2428), I have not been able to reproduce the crash.
This has to be the strangest bug of the century.
@kneth is this "fix" a part of today's release Realm 2.3.1 for Android?
@PiotrWpl Unfortunately Realm Core + Realm Sync were not released prior to Realm Java 2.3.1. It's likely to hit Realm Java soon (at least as a snapshot release).
I'll send a bottle of whisky 🥃
2.3.2-SNAPSHOT ought to have it.. soon?
I have merged the update to the releases
and master
branches so snapshots are being build currently.
The 2.4.0-SNAPSHOT is ready. Please try it out, and provide feedback. You can see in README.md
how to use a snapshot release.
Integrated the snapshot as
classpath "io.realm:realm-gradle-plugin:2.4.0-SNAPSHOT"
Unfortunately the app still crashes on a Galaxy S3 mini:
02-10 16:15:02.593 10641-10641/link.thismo.app A/libc: Fatal signal 11 (SIGSEGV) at 0x5ab96ff6 (code=2), thread 10641 (link.thismo.app)
02-10 16:15:02.601 10641-10713/link.thismo.app I/dalvikvm: JNI ERROR (app bug): accessed deleted local reference 0x23400005
02-10 16:15:02.601 10641-10713/link.thismo.app E/dalvikvm: VM aborting
02-10 16:15:02.601 10641-10713/link.thismo.app A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 10713 (AnalyticsWorker)
02-10 16:15:10.054 10641-10647/link.thismo.app A/libc: @@@ ABORTING: LIBC: HEAP MEMORY CORRUPTION IN dlmalloc
@jonasbark Thanks for the feedback. It looks like a different error, and HEAP MEMORY CORRUPTION IN dlmalloc
sounds a bit alarming.
Is your device an I8190 or I8200?
@kneth I8200. The crash only happens with Realm 2, which is why I thought it could be a similar problem.
Should I open up a new ticket?
@jonasbark Yes please. I think we have an I8200 at the office so I can try to reproduce it.
@kneth, just ordered an I8200N on ebay. Will report back as soon as it gets here.
And I remembered wrong: it's an I8190, we have at the office.
@Konsumierer Thanks!
@kneth @Konsumierer created the issue:
https://github.com/realm/realm-java/issues/4177
Also bad news from my side: still crashes on an I8200N with 2.4.0-SNAPSHOT.
02-15 09:31:57.000 19648-19648/com.package A/libc: Fatal signal 11 (SIGSEGV) at 0x5f8b1fed (code=2), thread 19648 (i.android.local)
02-15 09:31:57.007 19648-19651/com.package A/libc: @@@ ABORTING: LIBC: HEAP MEMORY CORRUPTION IN dlmalloc
02-15 09:31:57.007 19648-19651/com.package A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 19651 (GC)
02-15 09:31:57.101 19034-19034/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-15 09:31:57.101 19034-19034/? I/DEBUG: Build fingerprint: 'samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUAOC1:user/release-keys'
02-15 09:31:57.101 19034-19034/? I/DEBUG: Revision: '3'
02-15 09:31:57.101 19034-19034/? I/DEBUG: pid: 19648, tid: 19648, name: i.android.local >>> com.package <<<
02-15 09:31:57.101 19034-19034/? I/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5f8b1fed
@Konsumierer Can you post the complete stack trace?
@kneth, sure:
02-15 13:54:29.289 22288-22288/com.package A/libc: Fatal signal 11 (SIGSEGV) at 0x5f711ff3 (code=2), thread 22288 (i.android.local)
02-15 13:54:29.343 19873-19873/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-15 13:54:29.343 19873-19873/? I/DEBUG: Build fingerprint: 'samsung/goldenve3gxx/goldenve3g:4.2.2/JDQ39/I8200NXXUAOC1:user/release-keys'
02-15 13:54:29.343 19873-19873/? I/DEBUG: Revision: '3'
02-15 13:54:29.343 19873-19873/? I/DEBUG: pid: 22288, tid: 22288, name: i.android.local >>> com.package <<<
02-15 13:54:29.343 19873-19873/? I/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5f711ff3
02-15 13:54:29.453 534-622/? D/CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1248000 uid : 1000 pid : 534 tag : ACTIVITY_RESUME_BOOSTER@5
02-15 13:54:29.453 534-622/? W/ActivityManager: mDVFSHelper.release()
02-15 13:54:29.453 1167-1802/? I/EventRelay: Send intent to cmd socket: Intent { act=com.sec.android.intent.action.CPU_BOOSTER_MIN flg=0x10 (has extras) }
02-15 13:54:29.453 1167-1802/? I/EventRelay: Send intent to cmd socket: Intent { act=com.sec.android.intent.action.CPU_BOOSTER_MIN flg=0x10 (has extras) }
02-15 13:54:29.453 534-622/? D/CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1248000 uid : 1000 pid : 534 pkgName : ACTIVITY_RESUME_BOOSTER@8
02-15 13:54:29.578 534-622/? W/ProcessStats: Skipping unknown process pid 22389
02-15 13:54:29.585 747-747/? D/STATUSBAR-NetworkController: onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
02-15 13:54:29.585 747-747/? D/STATUSBAR-NetworkController: refreshSignalCluster: data=0 bt=false
02-15 13:54:29.585 747-747/? D/SignalClusterView: wifi: VISIBLE sig=2130837853 act=2130837827
02-15 13:54:29.585 747-747/? D/SignalClusterView: mobile: VISIBLE sig=2130837814 act=0 typ=0
02-15 13:54:29.585 747-747/? D/STATUSBAR-SignalClusterView: mSeparateMobileGroup=8
02-15 13:54:29.585 747-747/? D/SignalClusterView: wifi: VISIBLE sig=2130837853 act=2130837827
02-15 13:54:29.585 747-747/? D/SignalClusterView: mobile: VISIBLE sig=2130837814 act=0 typ=0
02-15 13:54:29.585 747-747/? D/STATUSBAR-SignalClusterView: mSeparateMobileGroup=8
02-15 13:54:29.585 747-747/? D/SignalClusterView: wifi: VISIBLE sig=2130837853 act=2130837827
02-15 13:54:29.585 747-747/? D/SignalClusterView: mobile: VISIBLE sig=2130837814 act=0 typ=0
02-15 13:54:29.585 747-747/? D/STATUSBAR-SignalClusterView: mSeparateMobileGroup=8
02-15 13:54:29.585 747-747/? D/SignalClusterView: wifi: VISIBLE sig=2130837853 act=2130837827
02-15 13:54:29.585 747-747/? D/SignalClusterView: mobile: VISIBLE sig=2130837814 act=0 typ=0
02-15 13:54:29.585 747-747/? D/STATUSBAR-SignalClusterView: mSeparateMobileGroup=8
02-15 13:54:29.601 747-747/? D/STATUSBAR-IconMerger: checkOverflow(216), More:false, Req:false Child:3
02-15 13:54:29.617 19873-19873/? I/DEBUG: r0 5f712013 r1 5f711ff3 r2 5f82011f r3 5f711ff3
02-15 13:54:29.617 19873-19873/? I/DEBUG: r4 5f81fdf8 r5 5f820120 r6 00000002 r7 00000020
02-15 13:54:29.617 19873-19873/? I/DEBUG: r8 5f820410 r9 00000000 sl 411a3048 fp beeef51c
02-15 13:54:29.625 19873-19873/? I/DEBUG: ip 00000010 sp beeef340 lr 00000020 pc 5faee776 cpsr 80000030
02-15 13:54:29.625 19873-19873/? I/DEBUG: d0 0000000000000000 d1 532f6c616e726500
02-15 13:54:29.625 19873-19873/? I/DEBUG: d2 4b2f726573656400 d3 6972657365447900
02-15 13:54:29.625 19873-19873/? I/DEBUG: d4 424300d842430050 d5 424301f042430168
02-15 13:54:29.625 19873-19873/? I/DEBUG: d6 4243031842430280 d7 424303c842430338
02-15 13:54:29.625 19873-19873/? I/DEBUG: d8 0000000000000000 d9 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d10 0000000000000000 d11 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d12 0000000000000000 d13 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d14 0000000000000000 d15 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d16 0000000000000000 d17 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d18 0000000000000000 d19 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d20 4008000000000000 d21 3fbc71c71c71c71c
02-15 13:54:29.625 19873-19873/? I/DEBUG: d22 3fcc7288e957b53b d23 3fd24998d6307188
02-15 13:54:29.625 19873-19873/? I/DEBUG: d24 3fd99a27ad32ddf5 d25 3fe555b0aaeac752
02-15 13:54:29.625 19873-19873/? I/DEBUG: d26 0000000000000000 d27 0000000000000007
02-15 13:54:29.625 19873-19873/? I/DEBUG: d28 000000000000000c d29 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: d30 0000000000000000 d31 0000000000000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: scr 20000010
02-15 13:54:29.625 19873-19873/? I/DEBUG: backtrace:
02-15 13:54:29.625 19873-19873/? I/DEBUG: #00 pc 000d5776 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: #01 pc 000e2247 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: #02 pc 000e2323 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: #03 pc 000e2381 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: #04 pc 00028d11 /data/app-lib/com.package-1/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeGetTable+172)
02-15 13:54:29.625 19873-19873/? I/DEBUG: stack:
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef300 00000000
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef304 5f81f0e8
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef308 5faee647 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef30c 5faa4259 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef310 5fbb4508 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef314 5f81fdb0
02-15 13:54:29.625 19873-19873/? I/DEBUG: beeef318 5f82041f
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef31c 5f81fdf8
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef320 5f820410
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef324 00000002
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef328 00000020
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef32c 5f820410
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef330 00000000
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef334 411a3048 [heap]
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef338 df0027ad
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef33c 00000000
02-15 13:54:29.632 19873-19873/? I/DEBUG: #00 beeef340 5f815dd8
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef344 0000001a
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef348 5f820440
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef34c 5faee85d /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef350 5f815dd8
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef354 5f81f0e0
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef358 0000001a
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef35c beeef374 [stack]
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef360 00000002
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef364 00000000
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef368 5f821f00
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef36c 5fafb24b /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.632 19873-19873/? I/DEBUG: #01 beeef370 9ca0001d
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef374 5f815dd8
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef378 0000001a
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef37c 00000002
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef380 beeef501 [stack]
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef384 40124f31 /system/lib/libc.so (malloc+12)
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef388 5f815df2
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef38c beeef41c [stack]
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef390 411a3048 [heap]
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef394 42480720 /dev/ashmem/dalvik-heap (deleted)
02-15 13:54:29.632 19873-19873/? I/DEBUG: beeef398 beeef3d8 [stack]
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef39c 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3a0 00000002
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3a4 5f81f0e0
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3a8 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3ac 5fafb327 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.640 19873-19873/? I/DEBUG: #02 beeef3b0 5f815dd8
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3b4 0000001a
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3b8 5f815dd8
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3bc beeef3d8 [stack]
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3c0 ffffffff
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3c4 5f81f0e0
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3c8 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: beeef3cc 5fafb385 /data/app-lib/com.package-1/librealm-jni.so
02-15 13:54:29.640 19873-19873/? I/DEBUG: memory near r0:
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f711ff0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712000 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712010 20000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712020 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712030 00000000 00000020 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712040 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712050 00000000 00002000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712060 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712070 00000000 00200000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712080 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712090 00000000 20000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f7120a0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f7120b0 00000000 00000000 00000020 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f7120c0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f7120d0 00000000 00000000 00002000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f7120e0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: memory near r1:
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f711fd0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f711fe0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f711ff0 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712000 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712010 20000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712020 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712030 00000000 00000020 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712040 00000000 00000000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712050 00000000 00002000 00000000 00000000
02-15 13:54:29.640 19873-19873/? I/DEBUG: 5f712060 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712070 00000000 00200000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712080 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712090 00000000 20000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120a0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120b0 00000000 00000000 00000020 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120c0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: memory near r2:
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8200fc 00100000 00000000 00000000 00100000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82010c 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82011c 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82012c 00001000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82013c 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82014c 00000010 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82015c 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82016c 00001000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82017c 00100000 00000000 00000000 10000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82018c 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f82019c 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8201ac 00001000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8201bc 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8201cc 00000010 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8201dc 00100000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f8201ec 00001000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: memory near r3:
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f711fd0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f711fe0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f711ff0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712000 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712010 20000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712020 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712030 00000000 00000020 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712040 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712050 00000000 00002000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712060 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712070 00000000 00200000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712080 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f712090 00000000 20000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120a0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120b0 00000000 00000000 00000020 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f7120c0 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: memory near r4:
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f81fdd8 00000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f81fde8 20000000 00000000 00000000 00000000
02-15 13:54:29.648 19873-19873/? I/DEBUG: 5f81fdf8 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe08 00000000 00000020 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe18 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe28 00000000 00002000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe38 00000000 00100000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe48 00000000 00000010 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe58 00000000 00100000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe68 00000000 00001000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe78 00000000 00100000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe88 10000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fe98 00000000 00100000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fea8 00000000 00001000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81feb8 00000000 00100000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f81fec8 00000000 00000010 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: memory near r5:
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820100 00000000 00000000 00100000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820110 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820120 00000000 00000000 00000000 00001000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820130 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820140 00000000 00000000 00000000 00000010
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820150 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820160 00000000 00000000 00000000 00001000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820170 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820180 00000000 00000000 10000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820190 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201a0 00000000 00000000 00000000 00001000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201b0 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201c0 00000000 00000000 00000000 00000010
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201d0 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201e0 00000000 00000000 00000000 00001000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8201f0 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: memory near r8:
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8203f0 00000000 00000000 00000000 00100000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820400 00000000 00000000 0e008000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820410 00000000 00000000 00000000 00130000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820420 00000000 00000000 00000000 17000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820430 00006b70 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820440 00000000 00000000 00000000 1d000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820450 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820460 00000000 00000000 00000000 10000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820470 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820480 00000000 00000000 00800000 03000045
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f820490 15001180 00001a00 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8204a0 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8204b0 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8204c0 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8204d0 00000000 00000000 00000000 00000000
02-15 13:54:29.656 19873-19873/? I/DEBUG: 5f8204e0 00000000 00000000 00000000 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: memory near sl:
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3028 64696f72 0000001b 411bcde8 40162c6c
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3038 41194708 40162c64 00000018 00000023
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3048 40ac9eb4 40aca328 00000001 411a3450
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3058 00000000 581c6fd0 00000000 00000013
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3068 503c002e 79786f72 20200a3e 000001ab
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3078 7379732f 2f6d6574 6d617266 726f7765
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3088 6f632f6b 6a2e6572 2f3a7261 74737973
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3098 662f6d65 656d6172 6b726f77 726f632f
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30a8 756a2d65 2e74696e 3a72616a 7379732f
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30b8 2f6d6574 6d617266 726f7765 6f622f6b
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30c8 79636e75 74736163 6a2e656c 2f3a7261
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30d8 74737973 662f6d65 656d6172 6b726f77
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30e8 7478652f 72616a2e 79732f3a 6d657473
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a30f8 6172662f 6f77656d 662f6b72 656d6172
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3108 6b726f77 72616a2e 79732f3a 6d657473
02-15 13:54:29.664 19873-19873/? I/DEBUG: 411a3118 6172662f 6f77656d 662f6b72 656d6172
02-15 13:54:29.664 19873-19873/? I/DEBUG: memory near fp:
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef4fc 40a412d4 9ca0001d 40a6bdcb 4119a68c
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef50c 00000001 423a12e0 5f284482 41b61c2c
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef51c 40a70455 4119a68c 5f28447f 5fa41c65
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef52c 411a3460 be600019 00000000 c0000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef53c 40163228 5bcbcbb0 5bcb5ce8 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef54c 40129843 00000000 5bcbcbb0 5bcb5ce8
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef55c 00000000 5f812fa0 40124f45 40106034
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef56c 40a72807 411a37bc 42480710 00000003
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef57c 411a3450 00000044 42480710 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef58c 40a77e65 42480710 00000000 40ad11b0
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef59c 00000044 beeef60c 570f7694 00000001
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef5ac 423a12e0 00000001 570f7680 000003b8
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef5bc 5f361ae2 00000010 00000001 beeef60c
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef5cc 40a8df25 5f361ae2 423a12e0 5f361ae2
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef5dc 00003f13 5f590000 00000002 5ee72fdc
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef5ec 40163228 5acdb7e0 807e7def 41194f70
02-15 13:54:29.664 19873-19873/? I/DEBUG: memory near sp:
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef320 5f820410 00000002 00000020 5f820410
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef330 00000000 411a3048 df0027ad 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef340 5f815dd8 0000001a 5f820440 5faee85d
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef350 5f815dd8 5f81f0e0 0000001a beeef374
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef360 00000002 00000000 5f821f00 5fafb24b
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef370 9ca0001d 5f815dd8 0000001a 00000002
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef380 beeef501 40124f31 5f815df2 beeef41c
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef390 411a3048 42480720 beeef3d8 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3a0 00000002 5f81f0e0 00000000 5fafb327
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3b0 5f815dd8 0000001a 5f815dd8 beeef3d8
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3c0 ffffffff 5f81f0e0 00000000 5fafb385
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3d0 00000000 5f815dd8 5f815dd8 0000001a
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3e0 00000000 ffffffff 00000003 4119a698
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef3f0 5fbb7dfc 5fa41d15 00000000 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef400 00000010 00000010 40ad1518 42480710
02-15 13:54:29.664 19873-19873/? I/DEBUG: beeef410 00000000 5f815dd8 0000001a 00000000
02-15 13:54:29.664 19873-19873/? I/DEBUG: code around pc:
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee754 1e581040 ebc11e6a f8150e07 44711c01
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee764 1c01f803 3040f894 44031bdb 42814619
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee774 f801d002 e7fa9b01 1040f894 0501f1c1
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee784 1b524415 d2e0428a 2a001a9b 4618d0dd
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee794 f7464629 4603ed80 f884e7d7 e01f7040
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7a4 d0fa4543 f8031e59 1bdb7c01 428a461a
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7b4 f802d0f6 e7fa5b01 6b626b23 429a685b
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7c4 af02d20e 46324621 f7554638 4629f88d
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7d4 f7ff4638 4601ff47 4620bb18 fb22f7b5
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7e4 3040f894 f8dd6925 fb038000 9d015606
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee7f4 18f73b01 4630b125 462a4641 ed4af746
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee804 22004435 42bb462b f803d002 e7fa2b01
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee814 0f00f1b8 f894d103 701a2040 1b5de001
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee824 b005701d 83f0e8bd 460eb5f7 46046a81
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee834 000ce88d f8903101 f7b52040 f894fc92
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5faee844 6aa23040 fb066921 1b923003 1ac7435a
02-15 13:54:29.664 19873-19873/? I/DEBUG: code around lr:
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000000 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000010 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000020 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000030 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000040 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000050 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000060 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000070 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000080 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 00000090 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000a0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000b0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000c0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000d0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000e0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: 000000f0 ffffffff ffffffff ffffffff ffffffff
02-15 13:54:29.664 19873-19873/? I/DEBUG: memory map around fault addr 5f711ff3:
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5f70d000-5f711000
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5f711000-5f712000
02-15 13:54:29.664 19873-19873/? I/DEBUG: 5f712000-5f811000 [stack:22361]
@Konsumierer Thanks. I have resolved it to:
Stack frame #00 pc 000d5776 /data/app-lib/com.package-1/librealm-jni.so: Routine realm::ArrayString::set(unsigned int, realm::StringData) at libgcc2.c:?
Stack frame #01 pc 000e2247 /data/app-lib/com.package-1/librealm-jni.so: Routine realm::Group::create_and_insert_table(unsigned int, realm::StringData) at libgcc2.c:?
Stack frame #02 pc 000e2323 /data/app-lib/com.package-1/librealm-jni.so: Routine realm::Group::do_insert_table(unsigned int, realm::StringData, void (*)(realm::Table&)) at libgcc2.c:?
Stack frame #03 pc 000e2381 /data/app-lib/com.package-1/librealm-jni.so: Routine realm::Group::do_get_or_add_table(realm::StringData, bool (*)(realm::Spec const&), void (*)(realm::Table&), bool*) at libgcc2.c:?
Stack frame #04 pc 00028d11 /data/app-lib/com.package-1/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeGetTable+172): Routine Java_io_realm_internal_SharedRealm_nativeGetTable at libgcc2.c:?
Looks like the same crash - which is really strange to me. I will try to locate a I8200 for testing.
It's interesting because I've checked the source for ArrayString
but there were no commits of any kind that could have altered this behavior at the release between core 1.5.1 and 2.0.0.
Only white spaces and comments... So this is probably some very intricate locking issue, maybe? I am not a Realm person, I have zero clue.
@Zhuinden the version we still have to use which works on the I8200 is: io.realm:realm-gradle-plugin:0.90.1
. We didn't try to use 1.5.1 so far.
@jonasbark Realm Core 1.5.1 was in Realm-Java 1.2.0.
Just now, I have tried to build from master
(almost identical to 2.4.0-SNAPSHOT) and run our introExample on Samsung Galaxy Tab 3 (SM-T111) and Samsung Galaxy S 3 mini (I8200). I have no crashes.
@jonasbark @Konsumierer Can you share either an apk
or source code so I can try myself? If you don't wish to share it in public, please send it to [email protected].
Sorry, I am not allowed to do so.
Same problem
Device : Samsung S3 Mini GT-I8200
Android version : 4.2.2
Realm Version : 2.3.1
is there any solution ??
@jehad-suliman are you tried the Snapshot version?
With #3834 just merged, we are interested in feedback on the SNAPSHOT version.
Same problem :/
Devices: Samsung Galaxy S3 Slim (wilcoxds), Samsung Galaxy S3 Mini Value Edition (goldenve3g),
Android Version: Android 4.2
Realm Version: 2.3.1
I got a splash screen for many seconds and then the app finishes.
I going to try the snapshot version now..
@brunozaranza Can you try with 2.4.0-SNAPSHOT?
Hi I have the same problem, I will try with the 2.4.0-SNAPSHOT, and then I will sent the feedback
@kneth I tried the snapshot version, but the problem continues...
This is what I have on the console: (Only erros)
02-20 16:34:14.203 25289-25289/? E/dalvikvm: Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzb
02-20 16:34:14.562 123-123/? E/SMD: DCD OFF
02-20 16:34:15.289 25289-25289/? E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
02-20 16:34:15.726 25289-25289/? A/libc: Fatal signal 11 (SIGSEGV) at 0x5eaa0ffe (code=1), thread 25289 (eather.activity)
02-20 16:34:17.562 123-123/? E/SMD: DCD OFF
02-20 16:34:20.562 123-123/? E/SMD: DCD OFF
02-20 16:34:22.367 25365-25365/? E/dalvikvm: Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzb
02-20 16:34:22.609 25365-25365/? E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
02-20 16:34:23.031 25365-25365/? A/libc: Fatal signal 11 (SIGSEGV) at 0x5d6b7fff (code=2), thread 25365 (eather.activity)
02-20 16:34:23.562 123-123/? E/SMD: DCD OFF
02-20 16:34:26.562 123-123/? E/SMD: DCD OFF
02-20 16:34:26.835 561-840/? E/Watchdog: !@Sync 258
02-20 16:34:29.523 25433-25433/? E/dalvikvm: Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzb
02-20 16:34:29.562 123-123/? E/SMD: DCD OFF
02-20 16:34:29.757 25433-25433/? E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
02-20 16:34:30.195 25433-25433/? A/libc: Fatal signal 11 (SIGSEGV) at 0x5aa4dff6 (code=2), thread 25433 (eather.activity)
I adds the
classpath 'io.realm:realm-gradle-plugin:2.4.0-SNAPSHOT'
to my gradle, but Android Studio says to me that can don't find the library.
So I returned come to version 1.2.0 for the moment
@brunozaranza I'm not a Realm person, it looks like you got some problems with multidex or play services. See: http://stackoverflow.com/questions/31342684/getting-error-could-not-find-class-android-app-appopsmanager-referenced-from
Nyeh I think he just forgot to add the snapshot repository
buildscript {
repositories {
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
dependencies {
classpath "io.realm:realm-gradle-plugin:<version>-SNAPSHOT"
}
}
allprojects {
repositories {
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
}
@brunozaranza Your errors don't seem to be related to Realm. As @Zhuinden suggest, you need to add the snapshot repository.
@kneth @beeender Can you guys release another test apk with latest code so everyone who has crashing devices can check if this bug is finally fixed. Let's get this issue out of the mud pool and close it if possible.
@diegomontoya sure!
here is the introExample apk compiled with the latest master:
introExample-debug.zip
I tested it with a few sumsung devices we have, no crash has been found.
I have same problem on device
Samsung SM-T111
@beeender, i tried your introExample-debug.apk, its works fine.
I am trying to add 'io.realm:realm-gradle-plugin:2.4.0-SNAPSHOT
how to add snapshot , can u provide example?
@onkarvadagaonkar See https://github.com/realm/realm-java#using-snapshots
Tried snapshot 2.4.0-SNAPSHOT, but same problem again
Top level build
buildscript {
repositories {
jcenter()
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath "io.realm:realm-gradle-plugin:2.2.2"
classpath "io.realm:realm-gradle-plugin:2.4.0-SNAPSHOT"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
````
and Logcat is
:31:12.164 27212-27212/? I/DEBUG: 5bb6d00c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d01c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d02c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d03c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d04c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d05c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d06c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d07c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d08c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d09c 0000000c 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0ac 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0bc 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0cc 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: memory near r2:
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43484 00000000 000c0000 00000c00 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43494 00000000 000c0000 0000000c 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434a4 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434b4 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434c4 00000000 000c0000 00000c00 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434d4 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434e4 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc434f4 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43504 00000000 000c0000 00000c00 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43514 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43524 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43534 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43544 00000000 000c0000 00000c00 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43554 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43564 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc43574 00000000 000c0000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: memory near r3:
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6cfdc 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6cfec 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6cffc 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d00c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d01c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d02c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d03c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d04c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d05c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d06c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d07c 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d08c 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d09c 0000000c 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0ac 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0bc 00000000 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0cc 00000c00 00000000 00000000 000c0000
02-21 19:31:12.164 27212-27212/? I/DEBUG: memory near r5:
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6cfe8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6cff8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d008 000c0000 00000c00 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d018 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d028 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d038 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d048 000c0000 00000c00 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d058 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d068 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d078 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d088 000c0000 00000c00 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d098 000c0000 0000000c 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0a8 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0b8 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0c8 000c0000 00000c00 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bb6d0d8 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: memory near r6:
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ab68 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ab78 000c0000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ab88 000e0000 00000000 00000000 0d000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ab98 00000000 00000000 00000000 0c000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8aba8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8abb8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8abc8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8abd8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8abe8 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8abf8 00000000 00000000 00800000 02000045
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac08 16801180 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac18 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac28 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac38 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac48 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5bc8ac58 00000000 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: memory near r7:
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5ad01548 00000002 0000003c 5ad00858 00001100
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5ad01558 5ad014d8 00000001 00010010 5ad015a0
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5ad01568 5e8387b8 5e6fe905 00000000 5e83a22c
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5ad01578 5bc8ab88 00000000 00000000 00000000
02-21 19:31:12.164 27212-27212/? I/DEBUG: 5ad01588 00000000 00000000 00000002 00000007
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad01598 5ad00858 00001080 5ad014d8 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015a8 00000004 00000000 5ace3d80 5ace3d84
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015b8 5ace3d84 00000101 0200dda0 00010103
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015c8 00000000 00000000 00000000 00011f09
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015d8 00000000 00000000 00000001 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015e8 00000000 00000000 00001000 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad015f8 00000020 00000025 00000000 5bc6c000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad01608 00000488 00000000 5bcd1000 00000488
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad01618 00000000 00000001 5acf93dc 5acfd844
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad01628 5acb90cc 5acfdc04 00000000 00000002
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5ad01638 5dce9c8c 000001a1 0000b310 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: memory near sl:
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824580 656b2079 25272079 32252e31 6f642027
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824590 6e207365 6520746f 74736978 0000002e
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245a0 6174656d 61746164 00000000 6e6e6143
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245b0 6920746f 7865646e 6f727020 74726570
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245c0 25272079 32252e31 69203a27 7865646e
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245d0 20676e69 706f7270 69747265 6f207365
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245e0 79742066 27206570 20273325 6e207369
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e8245f0 7920746f 69207465 656c706d 746e656d
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824600 002e6465 766f7250 64656469 68637320
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824610 20616d65 73726576 206e6f69 69203125
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824620 656c2073 74207373 206e6168 7473616c
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824630 74657320 72657620 6e6f6973 2e322520
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824640 00000000 6d697250 20797261 2079656b
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824650 706f7270 79747265 31252720 2732252e
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824660 73616820 70756420 6163696c 76206574
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e824670 65756c61 66612073 20726574 7267696d
02-21 19:31:12.171 27212-27212/? I/DEBUG: memory near sp:
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9300 00000000 5e83a18c bece9338 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9310 5ad01568 5ad01568 df0027ad 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9320 5e6fe925 00000001 0000000f 00000008
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9330 5e8245a0 00000008 5bc8ab90 ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9340 00000000 5ad01568 00000001 00000001
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9350 00000000 5e8245a0 5ad00850 5e7294db
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9360 ffffffff 00000000 00000000 00000008
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9370 5ad0d628 00000000 5acfd930 5ad0d798
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9380 5e8245a0 00000008 00000001 5e745e85
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece9390 5e8245a0 00000008 00000000 5ad0d628
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93a0 5ad00850 ffffffff 40d8d910 bece9508
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93b0 56cf0acc 40d90890 bece951c 5e6dbf09
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93c0 00000000 00000000 00000000 bece94e0
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93d0 00000000 5ad0d628 00000000 000000d0
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93e0 5e82491c 00000008 5e82473c 00000002
02-21 19:31:12.171 27212-27212/? I/DEBUG: bece93f0 5e8245a0 00000008 00000000 00000000
02-21 19:31:12.171 27212-27212/? I/DEBUG: code around pc:
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705504 ebc1ec01 1e6a0109 44711e5d 1c01f803
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705514 1040f897 0301ebc8 429d442b 4619d006
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705524 4b01f801 d1fb428d 1040f897 0501f1c1
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705534 1b524415 d36e428a d028429e 1040f897
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705544 f1b9e7dd d10e0f00 0801f04f 0f00f1bb
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705554 f108d042 fa5f33ff 9302fc88 e7b446c3
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705564 0f00f1bb f109d038 f1b80801 d9f00f02
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705574 0859ea49 0898ea48 1818ea48 0801f108
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705584 fc88fa5f 33fff10c 46e39302 46cce79d
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e705594 f8dd693e f887900c 9b01c040 6b0bfb03
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055a4 445b9b02 f1b9461c d0040f00 46514658
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055b4 f78f464a 44d9e888 bf1c454c 2200464b
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055c4 f803d003 42a32b01 f1bad1fb d02b0f00
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055d4 0904ebc9 9000f884 e8bdb007 f10b8ff0
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055e4 693e33ff e7d89302 d0d4429e f488fa5f
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5e7055f4 f1c81e59 f8030800 44434c01 bf184299
02-21 19:31:12.171 27212-27212/? I/DEBUG: code around lr:
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000000 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000010 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000020 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000030 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000040 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000050 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000060 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000070 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000080 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 00000090 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000a0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000b0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000c0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000d0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000e0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: 000000f0 ffffffff ffffffff ffffffff ffffffff
02-21 19:31:12.171 27212-27212/? I/DEBUG: memory map around fault addr 5bb6cffe:
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5baf4000-5bb6c000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5bb6c000-5bb6d000
02-21 19:31:12.171 27212-27212/? I/DEBUG: 5bb6d000-5bc6c000 [stack:31291]
02-21 19:31:12.265 27212-27212/? I/DEBUG: !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 31284
02-21 19:31:12.265 484-595/? I/BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
02-21 19:31:12.273 31317-31317/? I/dumpstate: begin
02-21 19:31:12.429 484-595/? D/dalvikvm: GC_FOR_ALLOC freed 1252K, 23% free 28681K/36808K, paused 162ms, total 164ms
02-21 19:31:12.625 484-532/? D/dalvikvm: GC_FOR_ALLOC freed 904K, 22% free 28711K/36808K, paused 131ms, total 131ms
02-21 19:31:12.625 484-659/? D/BatteryService: update start
02-21 19:31:12.625 484-659/? D/BatteryService: level:54, scale:100, status:3, health:2, present:true, voltage: 3858, temperature: 340, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303457, invalid charger:0, online:4, charge type:1, current avg:450
02-21 19:31:12.640 484-532/? D/CrashAnrDetector: Build: samsung/goya3gxx/goya3g:4.2.2/JDQ39/T111XXUBOC2:user/release-keys
Hardware: PXA986
Revision: 2
Bootloader: T111XXUBOC2
Radio: unknown
Kernel: Linux version 3.4.5-2825399 (se.infra@SWDB2803) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Wed Mar 18 15:21:36 KST 2015
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/goya3gxx/goya3g:4.2.2/JDQ39/T111XXUBOC2:user/release-keys'
Revision: '2'
pid: 31284, tid: 31284, name: le.bt.realmtest >>> com.example.bt.realmtest <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 5bb6cffe
r0 5bb6d00b r1 5bb6cffe r2 5bc434a7 r3 5bb6cffe
r4 00000000 r5 5bb6d00a r6 5bc8ab88 r7 5ad01568
r8 00000010 r9 00000010 sl 5e8245a0 fp 00000010
ip 00000000 sp bece9320 lr 00000000 pc 5e705524 cpsr 20000030
d0 65706f72705f6b70 d1 532f6c616e726500
d2 56cf720856cf7100 d3 56cf727856cf7202
d4 722e2f73656c6966 d5 6d65742e6d6c6165
d6 3630333032392f70 d7 6d6c6165725f3431
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000300000002 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 0008b524 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
#01 pc 000af4d7 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
#02 pc 00061f05 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
stack:
bece92e0 00001900
bece92e4 5ad00858
bece92e8 5bc8b180
bece92ec 00001680
bece92f0 5e6fdec1 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece92f4 5e705357 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece92f8 5e838710 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece92fc 5e6fe925 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9300 00000000
bece9304 5e83a18c /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9308 bece9338 [stack]
bece930c 00000000
bece9310 5ad01568
bece9314 5ad01568
bece9318 df0027ad
bece931c 00000000
#00 bece9320 5e6fe925 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9324 00000001
bece9328 0000000f
bece932c 00000008
bece9330 5e8245a0 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9334 00000008
bece9338 5bc8ab90
bece933c ffffffff
bece9340 00000000
bece9344 5ad01568
bece9348 00000001
bece934c 00000001
bece9350 00000000
bece9354 5e8245a0 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9358 5ad00850
bece935c 5e7294db /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
#01 bece9360 ffffffff
bece9364 00000000
bece9368 00000000
bece936c 00000008
bece9370 5ad0d628
bece9374 00000000
bece9378 5acfd930
bece937c 5ad0d798
bece9380 5e8245a0 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9384 00000008
bece9388 00000001
bece938c 5e745e85 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9390 5e8245a0 /data/app-lib/com.example.bt.realmtest-3/librealm-jni.so
bece9394 00000008
bece9398 00000000
bece939c 5ad0d628
........ ........
#02 bece93c0 00000000
bece
02-21 19:31:12.640 484-532/? D/CrashAnrDetector: processName:com.example.bt.realmtest
02-21 19:31:12.640 484-532/? D/CrashAnrDetector: broadcastEvent : com.example.bt.realmtest SYSTEM_TOMBSTONE
````
@onkarvadagaonkar Can you provide us with the source code of your crashing app?
The introExample-debug app works fine on our Samsung Galaxy Tab 3 Lite (SM-T110) API 17.
When I have the time I'm gonna try the snapshot in our own project.
@kneth Sorry, i can't, not allowed to share
@kneth The 2.4.0-SNAPSHOT version still caused a crash on our Samsung SM-T110 when initializing in our app.
I can confirm the SNAPSHOT is being used. The loadLibraryInternal method gave me the following library: "realm-jni" version: "2.4.0-SNAPSHOT".
The Realm.init() call is in the onCreate() method of our MainApplication class, which extends MultiDexApplication.
After setting RealmLog.setLevel(LogLevel.ALL); I got this:
V/FA: onActivityCreated
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1522505000
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeSetAutoRefresh 1522505472
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1522505000
V/REALM_JNI: --> Java_io_realm_internal_Table_nativeGetFinalizerPtr
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1522505472
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseSharedRealm 1522505472
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCreateConfig
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetSharedRealm 1591893432
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeSetAutoRefresh 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeCloseConfig 1591893432
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeIsClosed 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeBeginTransaction 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetVersion 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeSetVersion 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeHasTable 1591897496
V/REALM_JNI: --> Java_io_realm_internal_SharedRealm_nativeGetTable 1591897496
A/libc: Fatal signal 11 (SIGSEGV) at 0x5ee0eff1 (code=2), thread 9429 (br.com.sltalk)
And I'm really sorry but I'm not allowed to send the source or the apk.
It looks like this the new issue occurs only with MultiDex enabled. Can anyone confirm that? I've never seen this issue in my app, which has MultiDex disabled.
I think this might be the case. I don't have the time to test it right now, but if someone can it would be much appreciated.
@kleisauke what is your API level? This seems to occur only (mostly?) on certain Samsung devices API < 18.
Personally I think it might have to do something with... certain types of Realm models. Unfortunately I do not have the devices that people mention.
I also wonder if the Migration example works on this device.
@Zhuinden My minSdkVersion
is API 14, and my target/compile sdk version is API 25. I've got around 1K monthly active users, about 50% is a Samsung device.
My presumption about MultiDex is because I saw that someone uses it for a second time in this issue. Unfortunately, I also don't have the devices that people mention here.
I could compile my app with 2.4.0-SNAPSHOT
(and a version with MultiDex enabled) and post the APK here for testing purposes (and to check if the MultiDex option is the bottleneck). If the issue occurs on my APK than I'm willing to share my source code to the Realm team in order to fix this issue.
Previous crashing device Samsung SM-G3818 (4.2.2) ran latest introExample test apk without issue.
@kneth I made a sample example, i can provide apk, if u needed?
@onkarvadagaonkar yes, please. To [email protected] if you want to share it privately. It would be great if you can share the source code as well.
@beeender have you received my apk? let me know.
@onkarvadagaonkar Yes, we have received it, and we will try it out.
My application uses MultiDex, too.
Our app doesn't use multidex. I already prepared new build with 2.4.0-snapshot, but I will have test result in Friday evening.
@PiotrWpl Thanks in advance!
...I wonder what the solution to this one is.
Or how to find the solution in the first place...
potential fix pushed back to 3.1 release ?
@rgdev I dare not to set any fixed date or release.
@kneth Sorry for delay. I got today reply from my friend which one had Tab 3 Lite, that app is working on build with 2.4.0-snapshot :D
So, I'm waiting for official release! :)
@PiotrWpl isn't 2.4.0-snapshot released as 3.0.0?
@Zhuinden
It's look like this fix was moved last week as milestone to 3.1.0
And my build with 2.4.0-snapshot was from 12 days ago.
@PiotrWpl did you try rebuilding with the current 3.0.0 release ?
@rgdev No, I didn't. We don't have this device in our office. And contact with this friend is not as good, as I want it to be ;)
We'll soon push a new beta build of our app with realm 3.0.0. We have a user willing to try it with a Galaxy S3 Mini. I'll update when I have the results.
Is there any progress about this issue?
Not much. I have been try to understand https://chengyihe.wordpress.com/2015/08/ and see if it is related to this issue. I have seen crashes in std::copy_backwards
(called by ArrayString::set
), and it is probably implemented using std::memcpy
or std::memmove
.
@kneth is there any problem with this fix https://github.com/realm/realm-core/pull/2428 ? Because I got information that our app is working with it on Galaxy Tab 3 Lite. And some people here complain about this bug https://github.com/realm/realm-java/issues/2459 (on S3 mini VE) not connected with Your fix (as I understand).
@PiotrWpl LTO is a big mystery to me, and disabling it seems to have lower the probability to hit the bug. But I don't think it's the final solution. #2459 is unrelated, and I haven't been able to reproduce it (which makes it hard to find a solution).
The introExample-debug app works fine on Samsung Galaxy Tab ( SM-T111) API 17.
Can you please provide the source code of it?
@onkarvadagaonkar You mean https://github.com/realm/realm-java/tree/master/examples/introExample - or anything else?
I am talking about this apk => https://github.com/realm/realm-java/files/790093/introExample-debug.zip , which is given by beeender before 21 days ago.
I am almost 💯 % certain that @beeender was building it from that source - maybe with a unreleased core at the time.
New crash log from https://github.com/realm/realm-java/issues/4334
Samsung GT-I9118 and Samsung GT-I8558 and Samsung SM-G3812.
another crash log is:
unknown(23480)
SIGSEGV(SEGV_ACCERR)
#00 pc 00018b7c /system/lib/libc.so (memcpy+1340) [armeabi-v7a]
another Native crash:
#00 pc 000dbd9e /mnt/asec/com.shensz.student-2/lib/librealm-jni.so [armeabi-v7a]
#1 pc 000e88cb /mnt/asec/com.shensz.student-2/lib/librealm-jni.so [armeabi-v7a]
#2 pc 000e89a7 /mnt/asec/com.shensz.student-2/lib/librealm-jni.so [armeabi-v7a]
#3 pc 000e8a05 /mnt/asec/com.shensz.student-2/lib/librealm-jni.so [armeabi-v7a]
#4 pc 0002d311 /mnt/asec/com.shensz.student-2/lib/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeGetTable+172) [armeabi-v7a]
#5 pc 0001e290 /system/lib/libdvm.so (dvmPlatformInvoke+112) [armeabi-v7a]
#6 pc 0004d419 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+396) [armeabi-v7a]
#7 pc 0004f57b /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+174) [armeabi-v7a]
#8 pc 000276a0 /system/lib/libdvm.so [armeabi-v7a]
#9 pc 0002b57c /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) [armeabi-v7a]
#10 pc 0005ff1b /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+374) [armeabi-v7a]
#11 pc 0006780d /system/lib/libdvm.so [armeabi-v7a]
#12 pc 000276a0 /system/lib/libdvm.so [armeabi-v7a]
#13 pc 0002b57c /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) [armeabi-v7a]
#14 pc 0005fc45 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272) [armeabi-v7a]
#15 pc 00049a03 /system/lib/libdvm.so [armeabi-v7a]
#16 pc 00046dd9 /system/lib/libandroid_runtime.so [armeabi-v7a]
#17 pc 00047a9b /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390) [armeabi-v7a]
#18 pc 00001041 /system/bin/app_process [armeabi-v7a]
#19 pc 0001275f /system/lib/libc.so (__libc_init+38) [armeabi-v7a]
#20 pc 00000cbc /system/bin/app_process [armeabi-v7a]
@finnschiermer has instrumented Realm Core to see if we could verify an issue with memcpy
. His instrumentation is printf
like debugging (writing to the Android log). After a number of experiments, we don't see a crash when the instrumentation is enabled. But disabling the instrumentation, the tests crash. Apparently, our logging changes the memory layout in such a way, that the bug is not exposed.
@kneth
We have users with Samsung Galaxy Tab 3 Lite and Samsung S3 mini VE. We published beta builds of our app with realm 3.0.0 and 2.4.0-snapshot, but it crashes.
There is no any logs. App just closes without any messages.
Any news about this issue?
@vadimbryl Please read my previous comment. We haven't really had any progress.
@kneth I suspect the bug is related to the -Os flag which implies -O2 but some options disabled. Based on our tests with the 1.5.1 core on Realm v1 branch, change the compile flags, removing flto option for example, has serious stability issues with samsung 4.2.2 devices. However changing to -O1 is stable.
The following results only applies to samsung 4.2.2 device we have. Other devices are fine with any compile flag combo.
original:
CFLAGS_OPTIM = -Os -flto -ffunction-sections -fdata-sections -DNDEBUG -fsigned-char -fvisibility=hidden
unstable:
CFLAGS_OPTIM = -Os -ffunction-sections -fdata-sections -DNDEBUG -fsigned-char -fvisibility=hidden
unstable:
CFLAGS_OPTIM = -O2 -ffunction-sections -fdata-sections -DNDEBUG -fsigned-char -fvisibility=hidden
unstable:
CFLAGS_OPTIM = -O2 -DNDEBUG -fsigned-char -fvisibility=hidden
stable:
CFLAGS_OPTIM = -O1 -DNDEBUG -fsigned-char -fvisibility=hidden
@diegomontoya Thank you for your analysis. I will dive into the the misty world of compiler options :-)
Since @diegomontoya had done the hard work of compiling, I decided to search for bugs related to optimization flags. I found https://code.google.com/p/android/issues/detail?id=81692. The bug reported in for a similar device, and the bug is that memmove
is broken when optimization is enabled. The bug is consistent with work of @diegomontoya and my hypothesis that memcpy
and/or memmove
are the guilty piece of code.
I need to investigate a bit further before I can conclude if we have found the cause.
@cmelchior Does this mean you just need to change this -O2
and -Og
to -O1
in this CMakeLists file thing?
@beeender do you think there is a chance that the realm-jni
moving to CMake between 1.2.0 => 2.0.0 is what caused a change here? It is weird because it is -Os
in both sides of the commit.
( https://github.com/realm/realm-java/pull/2960 )
maybe even https://github.com/realm/realm-core/pull/2033 is relevant.
@Zhuinden #2960 only changed the build in the java side, and it is linking with a released core lib. This compiler bug should only impact the core build, since we didn't use memmove
in the jni side code.
Oh you are right, it's actually https://github.com/realm/realm-core/blob/master/src/project.mk#L86
I am currently testing various combination of optimization flags, operating systems and compiler (only C++, not Android or Java).
EDIT:
I have been trying with the following test in Realm Core:
TEST(LangBindHelper_Memmove)
{
char *array = strdup("Foobar");
void *ptr = memmove(array + 1, array, sizeof("Foobar") - 2);
CHECK(ptr == array + 1);
}
It is basically the test found in https://code.google.com/p/android/issues/detail?id=81692, and it testing the basic behaviour of memmove
. The reason for testing memmove
is that we have seen the crash in std::copy_backward
which typically calls memmove
(see for example line 339 in http://www.fifi.org/doc/gij-3.0/libstdc++/html_user/stl__algobase_8h-source.html).
The test passes on MacOS (clang with -O3
) and OnePlus One (Android 6.0.1, gcc 4.9 with -Os
). But the test fails on Samsung Galaxy Tab 3 (SM-T111, Android 4.2.2, gcc 4.9 with -Os
).
The fix in https://bugreports.qt.io/browse/QTBUG-34984 (adding -fno-builtin-memmove
) did not work for me, and I will continue to explore other possibilities (including implementing our own version of copy_backward
).
However, it is also noted that creating their own memcopy method did fix the rpoblem, meaning I guess implementing your own memcopy and own copy_backward method is the consistent way to go.
I still get crashes when building everything with -fno-builtin-memove
and -fno-builtin-memcpy
. Next step is to try my own copy_backward
.
What's odd to me is that -fno-builtin-memmove
didn't work while it did for Qt. I wonder what is different?
Both memmove
and memcpy
are highly optimized functions, and I believe that we are triggering other code paths that Qt does. I have tried various combination of compiler flags and my own versions of copy_backward
and copy_n
but haven't yet found a 100 % stable solution.
I am thinking about maybe there is another approach to solve this:
memmove
and set function ptr workaround_memmove = workaround_needed ? &fixed_memmove : &org_memmovetrue;
.-wrap
feature to wrap the memmove
:extern "C"
{
void* org_memmove(void *dest, const void *src, size_t n)
{
return __real_memmove(dest, src, n);
}
void* fixed_memmove()
{
return __real_memmove(dest, src, n) - n;
}
void *__wrap_memmove(void *dest, const void *src, size_t n)
{
return (*workaround_memmove)(dest, src, n);
}
}
since it is using function pointer here, there should be no performance penalty at all for the devices which don't have this problem.
To anyone who can reproduce this issue:
We made a fix #4402 which works for the original test on our SM-T111. But it crashes when it comes with a lot memory pressure. Since the device itself is quite unstable, it crashes even in other apps/system apps, I'd like to believe there are some other system bugs on the device.
So, we want to verify the fix on some other devices. If you have a device which can reproduce this issue before, please try the fix.
There are two ways to try it:
realm-java
from #4402 branch, and use it through mavenLocal
.$HOME/.m2/repository
classpath "io.realm:realm-gradle-plugin:3.0.1-SNAPSHOT"
mavenLocal
in top level build.gradle like:buildscript {
//...
repositories {
//...
mavenLocal()
}
//...
}
allprojects {
repositories {
//...
mavenLocal()
}
}
If your device has this problem, with the snapshot, you should be able to see:
memmove is broken on this device. switch to the builtin implementation.
in the logcat.
Then build the apk to see if it works with the fix. Thanks.
As this is apparently not part of the 3.1 release is there a new ETA?
Update: The patch by @beeender worked on GT-I8200N (Galaxy S Ⅲ mini).
Well I sure hope it's 3.1.1, considering the fix is there and only halted by bureaucracy
@fmrsabino Thanks for the positive feedback. As we are considering mixing it source code from another open source project, we need to have to full understanding of the legal implications (for our users) before merging and releasing.
Understood. Thanks for the update @kneth ! 👍
We have merged #4402 and @beeender is currently preparing version 3.1.1. I thank everybody for helping us with bug reports, testing custom builds/snapshots and suggestions. The many builds by @diegomontoya helped us in the understanding, and @jonasbark has tested builds in his test lab.
Realm Java version 3.1.1 is online and contains the fix.
Implemented Realm Java version 3.1.1 and its working fine on Samsung device Galaxy Tab ( SM-T111) API 17. Thank you team Realm
Working fine on T111 with version 3.1.1. Thanks
3.1.2 is better, but woo!
@onkarvadagaonkar @nguyendat Thanks for the feedback
I have written a blog post about this bug: https://news.realm.io/news/when-memmove-fails
Most helpful comment
By aligning compiler options (https://github.com/realm/realm-core/pull/2428), I have not been able to reproduce the crash.