-
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
Random crashes with encrypted realm. #7652
Comments
@yul13th do you have access to the affected Realm db file? We have found a potential issue when working with encrypted realms that can end up with a corrupt the database. |
I've the same problem. But opening the file after a crash with Realm studio the file is readable, it doesn't seem to be corrupted. |
I also have the same problem with encrypted realm after updating to 10.10.1. It was fine in 10.9.0 and previous versions. I do not have access to db file. |
I can't access the file... when the app crashes the device will ask to clean cache and then the app will work for a litlle while then it will happen again and the cycles repeat. So yes, I think it is possible that the file is getting corrupted. |
@clementetb as this is a newcomer happening only after a recent release (if I read it correctly), it is likely not related to the problem in realm/realm-core#5174 |
@finnschiermer I see, it must be unrelated as it is an issue present since the first implementation. @paolo-ermit @sideprojecteu @yul13th we could not replicate the issue with the information provided. Are you able to reproduce it constantly? Is it affecting an unique device? Could you write and share an example project that reproduces the issue? |
The only logs I have access to are from a non-technical coworker who happened to see the issue on their device. I'm not 100% sure it's related to encryption, but we are using encrypted Realm. I can't provide any repro steps or examples, as all reports are from the field of our app crash looping.
|
@mattylase we are looking into the log you have shared in this issue: #7695 |
Closing due to inactivity. |
How frequently does the bug occur?
Sometimes
Description
Application constantly crashes in random transactions.
Stacktrace & log output
Can you reproduce the bug?
Yes, sometimes
Reproduction Steps
use the RealmConfiguration Builder with an encryptionKey then it will crash in Radom transactions using mostly copyToRealmOrUpdate
example transactions
Version
10.10.1
What SDK flavour are you using?
Local Database only
Are you using encryption?
Yes, using encryption
Platform OS and version(s)
ANDROID 12
Build environment
Android Studio Bumblebee | 2021.1.1 Patch 2
tools.build:gradle: 7.1.2
kotlin-gradle-plugin: 1.6.10
The text was updated successfully, but these errors were encountered: