-
Notifications
You must be signed in to change notification settings - Fork 165
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
App keeps crashing on startup #6207
Comments
This issue can be closed. It is likely a database corruption. You need to delete the database and upgrade to realm core >= 12.12. |
@nicola-cab Sorry, but im using realm-js version 11.3.0 that uses realm core 13.1.0 and im still facing the issue |
Did you delete the database? Unfortunately, there is no another way around this. Also, can you upload the latest stack trace? |
Thanks for thew quick reply. That stack trace was for the issue we faced yesterday. That's really weird because we are actually using realm javascript version 11.3.0, if I look into dependencies.list file inside realm file I can see REALM_CORE_VERSION=13.1.0 , so I don't know why the stack trace is printing that message. |
ok, I think you have a problem, you are somehow still using core 12.9. Just be absoultely sure that the stack trace reports something with core >= 12.12 and remember to delete the database, if the file got corrupted, there is no alternative. Unfortunately your data is lost. We will be working on adding some sort of exception to notify if we spot a corrupted realm file, but this is another problem and checking the whole tree is not free. |
Observations
Crash log / stacktrace
This happened to two users today in my react-native app when trying to open the app.
We are using:
"react": "18.1.0",
"react-native": "0.70.5",
"realm": "11.3.0",
I saw that this PR could solve some similar issues, #5993 but that was released on realm version 11.2.0 and we are above that.
The text was updated successfully, but these errors were encountered: