-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x28 in tid 6777 #3765
Comments
How easy is it to reproduce? Does it happens every time? Does it happens the first time, the app is opened? |
The database was allready created since a while, for my case I was using my app for 3 month. I think it could be an issue with the MIUI or EMUI android app killer (energy saver). If there is a transaction, and the app is killed during the commit, maybe it could corrupt the database? |
@matomick Thanks for providing a hypothesis. Without reproduction, I can only comment in general terms. Realm should not corrupt a database if the app is kill during a transaction. |
Hi @matomick Without further information there is not much we can do about this. I'll close it for now, but feel free to reopen if more information about reproducing this surfaces. |
@tkrawetzke is the version 2.x+? |
2.1.1 and after updating to 2.2.0 the issue isn't resolved too. |
For me the init isn't the Problem. It looks like if I read or write on realm the app crashed. |
Currently we have solved the problem by downgrade the realm version to v2.0.2 More Information that we got: |
I get this crash with some devices (Honor7, Xiaomi MI5, etc...), it seems like the realm database is corrupted, but it never happens with precedent realm versions. (current version: 2.1.1)
The crash appears on Realm.getInstance(conf)
Any ideas?
my realmConfig:
realmFileName = Realm.DEFAULT_REALM_NAME;
config = new RealmConfiguration.Builder()
.name(realmFileName)
.schemaVersion(versionSchema)
.encryptionKey(keykey)
.migration(new MigrationRealm())
.build();
logs:
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x28 in tid 6777 (cetts.messaging)
Build fingerprint: 'Xiaomi/gemini/gemini:6.0/MRA58K/V7.2.8.0.MAACNDB:user/release-keys'
pid: 6777, tid: 6777, name: cetts.messaging >>> com.facetts.messaging <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28
sp 0000007fd4d0ae40 pc 0000007fab9653cc pstate 0000000060000000
backtrace:
#00 pc 00000000001523cc /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#1 pc 000000000016593c /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#2 pc 0000000000124918 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#3 pc 00000000001659bc /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#5 pc 00000000000a1a24 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#6 pc 00000000000a8bf8 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#7 pc 00000000000bb750 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#8 pc 00000000000bf420 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#9 pc 00000000000b85dc /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so
#10 pc 000000000004a788 /data/app/com.facetts.messaging-2/lib/arm64/librealm-jni.so (Java_io_realm_internal_SharedRealm_nativeGetSharedRealm+304)
#11 pc 00000000013f56fc /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (long io.realm.internal.SharedRealm.nativeGetSharedRealm(long, io.realm.internal.RealmNotifier)+160)
#12 pc 00000000013f46e4 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (io.realm.internal.SharedRealm io.realm.internal.SharedRealm.getInstance(io.realm.RealmConfiguration, io.realm.internal.RealmNotifier, io.realm.internal.SharedRealm$SchemaVersionListener)+760)
#13 pc 00000000013f43a4 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (io.realm.internal.SharedRealm io.realm.internal.SharedRealm.getInstance(io.realm.RealmConfiguration)+72)
#14 pc 00000000013c13cc /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (io.realm.BaseRealm io.realm.RealmCache.createRealmOrGetFromCache(io.realm.RealmConfiguration, java.lang.Class)+656)
#15 pc 0000000001a498c4 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (io.realm.Realm io.realm.Realm.getInstance(io.realm.RealmConfiguration)+232)
#16 pc 000000000117e828 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (io.realm.Realm com.valrsoft.facetts.controller.DataAccess.getRealmInstance()+2876)
#17 pc 000000000112dfb4 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.common.GarbageCollectorFacetts.facettsRecycle()+88)
#18 pc 0000000001130e70 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.common.GarbageCollectorFacetts.recycle()+68)
#19 pc 0000000001144fc0 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.common.cache.CacheData.(java.lang.String, java.lang.String, com.valrsoft.facetts.controller.DataAccess, android.content.Context)+17188)
#20 pc 000000000114aad8 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.common.cache.ImageStore.(java.lang.String, java.lang.String, com.valrsoft.facetts.controller.DataAccess, android.content.Context)+380)
#21 pc 00000000011c715c /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.controller.FlowControler.init(android.content.Context)+3072)
#22 pc 0000000001234c58 /data/app/com.facetts.messaging-2/oat/arm64/base.odex (offset 0xbde000) (void com.valrsoft.facetts.ui.SplashScreenActivity.onCreate(android.os.Bundle)+3452)
#23 pc 0000000073ee0b70 /data/dalvik-cache/arm64/system@framework@boot.oat (offset 0x238a000)
The text was updated successfully, but these errors were encountered: