-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
realm::util::File::barrier() #8664
Comments
➤ PM Bot commented: Jira ticket: RCOCOA-2419 |
This bug report is overly generic and without repro steps or more information there's nothing we can do. |
It happens when the app starts, most likely it's the first call to the Realm local db. Would be good if you could tell me based on the above logs might it be related to the db migration or not, it may help me with providing you more details. |
No, based on the stacktrace, this is happening when you explicitly call .write, which means any migration must have completed at this point and the realm must have been opened successfully. The error seems to be occurring when the transaction is committed and msync is invoked for the file to write the data on disk. Without the underlying error that's causing msync to fail, it's not obvious to me how we could go about and try and repro this. One thing though, in your ticket you're saying that the issue occurs always yet you're unable to reproduce it - that's somewhat inconsistent - can you clarify which one is it. |
Thank you for the details. |
It would likely help if we could see a small code example of the code that crashes - the code one-liner in the report won't cause that crash by itself. For example, what is your realm configuration? Is that code being called in an actor? background? something else? SwiftUI? Swift? Is it crashing ON that line or within the closure? |
I have seen this as well, but for me it always was a 0xdead10cc crash:
|
How frequently does the bug occur?
Often, many new users affected
Description
at calling
try realm.write {
Stacktrace & log output
and
The text was updated successfully, but these errors were encountered: