Native crash on realm-android 3.5.0
See original GitHub issueSteps & Code to Reproduce
Logging is disabled on the device, I cannot know what operation caused this crash. If I remove db and create new one ( clear user data on my app), the crash doesn’t happen on new db.
#### Version of Realm and tooling
Realm version(s): ?
3.5.0
Realm sync feature enabled: yes/no
no
Android Studio version: ?
2.3.3
build.gradle on project level
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath "io.realm:realm-gradle-plugin:3.5.0"
}
Which Android version and device: ?
Sony G3125
Android SDK 24
#### Crash log
09-21 10:58:21.035 3095 3095 I AEE_AED : pid: 2976, tid: 3056, name: DTWRealmMgrThre >>> (my app) <<<
09-21 10:58:21.035 3095 3095 I AEE_AED : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-21 10:58:21.035 3095 3095 I AEE_AED : x0 0000000000000000 x1 0000000000000bf0 x2 0000000000000006 x3 0000000000000008
09-21 10:58:21.036 3095 3095 I AEE_AED : x4 000000000000001d x5 8080800000000000 x6 0000007094861000 x7 0000000000000000
09-21 10:58:21.036 3095 3095 I AEE_AED : x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
09-21 10:58:21.036 3095 3095 I AEE_AED : x12 0000000000000018 x13 0000000000000000 x14 0000000000000000 x15 0036ece2d72d06ad
09-21 10:58:21.036 3095 3095 I AEE_AED : x16 0000007091b76ed0 x17 0000007091b1f6d8 x18 0000000c00000000 x19 0000007074b434f8
09-21 10:58:21.036 3095 3095 I AEE_AED : x20 0000000000000006 x21 0000007074b43450 x22 000000000000000b x23 0000000000000001
09-21 10:58:21.036 3095 3095 I AEE_AED : x24 0000007089d4b010 x25 0000000000000001 x26 0000000000000868 x27 0000007089c43980
09-21 10:58:21.036 3095 3095 I AEE_AED : x28 0000000000000000 x29 0000007074b3f840 x30 0000007091b1cb04
09-21 10:58:21.036 3095 3095 I AEE_AED : sp 0000007074b3f820 pc 0000007091b1f6e0 pstate 0000000060000000
09-21 10:58:21.044 3095 3095 I AEE_AED :
09-21 10:58:21.044 3095 3095 I AEE_AED : backtrace:
09-21 10:58:21.044 3095 3095 I AEE_AED : #00 pc 000000000006d6e0 /system/lib64/libc.so (tgkill+8)
09-21 10:58:21.044 3095 3095 I AEE_AED : #01 pc 000000000006ab00 /system/lib64/libc.so (pthread_kill+64)
09-21 10:58:21.044 3095 3095 I AEE_AED : #02 pc 0000000000024118 /system/lib64/libc.so (raise+24)
09-21 10:58:21.044 3095 3095 I AEE_AED : #03 pc 000000000001c9bc /system/lib64/libc.so (abort+52)
09-21 10:58:21.044 3095 3095 I AEE_AED : #04 pc 00000000001e0e3c /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.044 3095 3095 I AEE_AED : #05 pc 00000000001e0e80 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #06 pc 00000000001e0f10 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #07 pc 000000000018ec00 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #08 pc 000000000018bbd4 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #09 pc 000000000018be6c /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #10 pc 000000000018d614 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #11 pc 00000000000e8d68 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #12 pc 00000000000d2560 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #13 pc 000000000005ba20 /data/app/(my app)/lib/arm64/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeCommitTransaction+48)
09-21 10:58:21.045 3095 3095 I AEE_AED : #14 pc 0000000000ca5f14 /data/app/(my app)/oat/arm64/base.odex (offset 0xb21000)
09-21 11:11:17.435 7315 7315 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 7315 ((my app process))09-21 10:58:21.035 3095 3095 I AEE_AED : pid: 2976, tid: 3056, name: DTWRealmMgrThre >>> (my app) <<<
09-21 10:58:21.035 3095 3095 I AEE_AED : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-21 10:58:21.035 3095 3095 I AEE_AED : x0 0000000000000000 x1 0000000000000bf0 x2 0000000000000006 x3 0000000000000008
09-21 10:58:21.036 3095 3095 I AEE_AED : x4 000000000000001d x5 8080800000000000 x6 0000007094861000 x7 0000000000000000
09-21 10:58:21.036 3095 3095 I AEE_AED : x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
09-21 10:58:21.036 3095 3095 I AEE_AED : x12 0000000000000018 x13 0000000000000000 x14 0000000000000000 x15 0036ece2d72d06ad
09-21 10:58:21.036 3095 3095 I AEE_AED : x16 0000007091b76ed0 x17 0000007091b1f6d8 x18 0000000c00000000 x19 0000007074b434f8
09-21 10:58:21.036 3095 3095 I AEE_AED : x20 0000000000000006 x21 0000007074b43450 x22 000000000000000b x23 0000000000000001
09-21 10:58:21.036 3095 3095 I AEE_AED : x24 0000007089d4b010 x25 0000000000000001 x26 0000000000000868 x27 0000007089c43980
09-21 10:58:21.036 3095 3095 I AEE_AED : x28 0000000000000000 x29 0000007074b3f840 x30 0000007091b1cb04
09-21 10:58:21.036 3095 3095 I AEE_AED : sp 0000007074b3f820 pc 0000007091b1f6e0 pstate 0000000060000000
09-21 10:58:21.044 3095 3095 I AEE_AED :
09-21 10:58:21.044 3095 3095 I AEE_AED : backtrace:
09-21 10:58:21.044 3095 3095 I AEE_AED : #00 pc 000000000006d6e0 /system/lib64/libc.so (tgkill+8)
09-21 10:58:21.044 3095 3095 I AEE_AED : #01 pc 000000000006ab00 /system/lib64/libc.so (pthread_kill+64)
09-21 10:58:21.044 3095 3095 I AEE_AED : #02 pc 0000000000024118 /system/lib64/libc.so (raise+24)
09-21 10:58:21.044 3095 3095 I AEE_AED : #03 pc 000000000001c9bc /system/lib64/libc.so (abort+52)
09-21 10:58:21.044 3095 3095 I AEE_AED : #04 pc 00000000001e0e3c /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.044 3095 3095 I AEE_AED : #05 pc 00000000001e0e80 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #06 pc 00000000001e0f10 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #07 pc 000000000018ec00 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #08 pc 000000000018bbd4 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #09 pc 000000000018be6c /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #10 pc 000000000018d614 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #11 pc 00000000000e8d68 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #12 pc 00000000000d2560 /data/app/(my app)/lib/arm64/librealm-jni.so
09-21 10:58:21.045 3095 3095 I AEE_AED : #13 pc 000000000005ba20 /data/app/(my app)/lib/arm64/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeCommitTransaction+48)
09-21 10:58:21.045 3095 3095 I AEE_AED : #14 pc 0000000000ca5f14 /data/app/(my app)/oat/arm64/base.odex (offset 0xb21000)
09-21 11:11:17.435 7315 7315 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 7315 ((my app process))
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Realm: Create reactive mobile apps in a fraction ... - MongoDB
If your app crashes, telling you that the Realm constructor was not found, there are a few things you can try: First of...
Read more >Apk crashes after adding realm to react native - Stack Overflow
I use realm in my daily work, I have met this issue is because realm doesn't support hermes engine yet, see this issue,...
Read more >Create reactive mobile apps in a fraction of the time - Realm
Realm Java is the first database built for mobile. An alternative to SQLite and ORMs that's fast, easy to use, and open source....
Read more >realm | Yarn - Package Manager
This project hosts the JavaScript versions of Realm. Currently we support React Native (JSC & Hermes on iOS & Android), Node.js and Electron...
Read more >Tales from the dark side: developing SDKs at scale - SlideShare
While developing Realm Java, we found bugs in Android. ... A native crash • Realm Java issue #3651(October 2016) • Segmentation fault in ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Should be the same issue reported to core https://github.com/realm/realm-core/issues/2832
Same issue with https://github.com/realm/realm-java/issues/5178
The fix is in core
2.9.2.and3.x.xwhich has not been released yet.The current snapshot should contain the fix.
also
4.0.0-RC1contains the fix