-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 on inserting a new item with 7.0. X and 10.0.0-BETA.6 #7057
Comments
Seems like using the exact same key in a filtering query when openin the file in Realm Studio also causes issues. Will see if we can trace what is causing this. |
It appears that the file is partly corrupted. Do you have any ways to reproduce this or any information of the steps leading to this? |
I'm working on an email client and after syncing like 80k emails generally this happens. I don't have the exact steps unfortunately but in various different ways it seems to be that the database can be corrupted. The only thing what was changed is the lib version which was upgraded from 6.1.0 to 7.0.+ |
Since the steps are very complicated and application specific what do you suggest how will we get closer to fix this issue? |
Ok, we decided that we will roll back to 6.1.0 for every user because 7.X and 10.X was unstable. We saw this especially on Samsung devices and OnPlus devices, but on others too. The database got corrupted on: schema migration, realm file format migration, and simply by using it after a while it got corrupted after a while. If anybody is interested how we did it then please let me a message. |
Unrolling /Users/cm/Realm/realm-java/tools/./dump.txt from Realm Java 7.0.2 (base) using ABI arm64-v8a. Realm Core 6.0.17.
|
@beczesz could you try with version 7.0.4, we released today and it addresses several memory issues. |
Looks like a copy-on-write on a null-ref ? |
Fixed by realm/realm-core#3893 |
Sorry, closing was premature. |
Looking at the received file, it looks like this is due to a bug for which a fix has not yet been released. But it is under way (realm/realm-core#3900) |
7.0.5 have been released with the fix. |
Presumably fixed by realm/realm-core#3904 |
➤ Brian Munkholm commented: I'll close this for now. Please do get back with a new issue in case you see the issue again. Thanks! |
@cmelchior we're getting similar crash on 7.0.8. So far we received multiple reports but all from one user.
|
We experience a lots of crashes starting with 7.X.X (I tried 10.0.0-BETA.6 too and it is the same). This particular crash happens when I try to insert an object.
It crashes with the same insertion all the time strangely enough with other primary key it is working with "andre.justice@example.com" is crashing though. I don't know why...
I tried andre.justice1@example.com and it is working fine.
I have the realm file too but I would send it to somebody from the devs directly.
The text was updated successfully, but these errors were encountered: