Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-242

Incompatible lock file. Shared info version doesn't match, 771 10

      The crash

      io.realm.exceptions.RealmFileException: Realm file is currently open in another process which cannot share access with this process. All processes sharing a single file must be the same architecture. (Incompatible lock file. Shared info version doesn't match, 771 10.) (/data/data/com.anghami/files/default.realm) in /home/cc/repo/realm/release/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 252 Kind: INCOMPATIBLE_LOCK_FILE.
      	at io.realm.internal.SharedRealm.nativeGetSharedRealm(SharedRealm.java)
      	at io.realm.internal.SharedRealm.<init>(SharedRealm.java:186)
      	at io.realm.internal.SharedRealm.getInstance(SharedRealm.java:239)
      	at io.realm.BaseRealm.<init>(BaseRealm.java:91)
      	at io.realm.BaseRealm.<init>(BaseRealm.java:81)
      	at io.realm.Realm.<init>(Realm.java:149)
      	at io.realm.Realm.createAndValidateFromCache(Realm.java:392)
      	at io.realm.Realm.createInstance(Realm.java:371)
      	at io.realm.RealmCache.doCreateRealmOrGetFromCache(RealmCache.java:346)
      	at io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:284)
      	at io.realm.Realm.getDefaultInstance(Realm.java:281)
      

      This comes from our crash-reporting tool, so I don't have information other than the stack trace. However, this seems to be a persistent issue for the one user that's having it(7 crashes reported from that one device in the span of a few hours).

      We only have a single process(our android app) accessing that realm, so why are we getting this error? And what can we do to recover from it?

      Version of Realm and tooling

      Realm version(s): 3.5.0

      Realm sync feature enabled:no

      Android Studio version: Android Studio 3 beta 2

      Which Android version and device:
      Android: 7.0
      Android Build: NRD90M.G955FXXU1AQH3
      Manufacturer: samsung
      Model: SM-G955

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: