kotlin.IllegalStateException: [RLM_ERR_FILE_PERMISSION_DENIED] #1656
Labels
Encryption:Off
Frequency:Sometimes
More-information-needed
More information needed from the reporter. The issue will autoclose if no more information is given.
O-Community
Repro:Sometimes
T-Bug
Waiting-For-Reporter
Waiting for more information from the reporter before we can proceed
How frequently does the bug occur?
Sometimes
Description
Hi 馃憢
I am using realm-kotlin in a KMP project with Android and iOS.
For some time now, we've experienced a large number of crashes on iOS :
Caused by: kotlin.IllegalStateException: [RLM_ERR_FILE_PERMISSION_DENIED]: Failed to open file at path '/var/mobile/Containers/Data/Application/8709C61B-95B4-48BA-BB32-2BC399D5A03D/Documents/default.realm.lock': Operation not permitted
See bellow the full stacktrace (note that we use crashkIOS to have readable logs on Firebase Crashlytics : https://crashkios.touchlab.co/)
Stacktrace & log output
Can you reproduce the bug?
Sometimes
Reproduction Steps
We never managed to reproduce it during development, however a lot of our users are experiencing it.
Version
1.12.0
What Atlas App Services are you using?
-- select --
Are you using encryption?
No
Platform OS and version(s)
iOS 15+
Build environment
Android Studio version: ...
Android Build Tools version: ...
Gradle version: ...
The text was updated successfully, but these errors were encountered: