-
Notifications
You must be signed in to change notification settings - Fork 163
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
Crash: Top ref outside file #3133
Comments
It is remarkable that ref[1] is always 46020200 and ref[0] values are prefixed with the same number. Current ref is, however , both 0 and 1. |
I suspect that EDIT: It is not being shipped with the app. |
Any progress, or workaround reported on this issue? Huge number of our users can't even open the (Android) application because of this problem. |
We would need to know more about the steps that lead to this situation. Perhaps retrieving one of the infected file could also help finding out what goes wrong. |
We are seeing a number of crash reports on the Java side that indicates the Realm file is somehow being corrupted. It is still unclear why this is happening, but the errors all have the same form but with different values:
Fatal Exception: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.test/files/librarydb.realm': Top ref outside file (size = 1572864). top_ref[0]: 3031500000290E0, top_ref[1]: 46020200, mnemonic: 54 2D 44 42, fmt[0]: 9, fmt[1]: 9, flags: 1. (Top ref outside file (size = 1572864). top_ref[0]: 3031500000290E0, top_ref[1]: 46020200, mnemonic: 54 2D 44 42, fmt[0]: 9, fmt[1]: 9, flags: 1) (/data/data/com.test/files/librarydb.realm) in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101
References to Java issues:
Current observations:
librarydb.realm
while Crash: Invalid mnemonic #3134 only happens for theuserdb.realm
. This could indicate these files are somehow being handled differently as they become corrupted in different ways. I'm trying to verify this.Crash data:
A list of exceptions and devices it is happening on can be seen here:
The text was updated successfully, but these errors were encountered: