Skip to content
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

File::unlock failed on Android during realm backup #7051

Closed
PanchaiNathan opened this issue Oct 10, 2023 · 1 comment
Closed

File::unlock failed on Android during realm backup #7051

PanchaiNathan opened this issue Oct 10, 2023 · 1 comment
Assignees

Comments

@PanchaiNathan
Copy link

PanchaiNathan commented Oct 10, 2023

When I try to backup the chat my app is getting crash and showing like this "/tmp/realm-java/realm/realm-library/src/main/cpp/realm-core/src/realm/util/file.cpp:1101: [realm-core-13.13.0] Assertion failed: r == 0 && "File::unlock()" with (r, (*__errno())) = [-1, 38]

!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose"

realm version
'io.realm:android-adapters:4.0.0'
"io.realm:realm-gradle-plugin:10.16.1"

@kiburtse kiburtse changed the title <backtrace not supported on this platform> File::unlock failed on Android during realm backup Oct 12, 2023
@kiburtse
Copy link
Contributor

Duplicate of #6912

realm-jave 10.16.1 is still using realm-core 13.13.0.
Starting with realm-core v13.20.1 you should see this assertion any more (but probably an exception, if the problem was about something else).

You'll have to wait for realm/realm-java#7850 and next release of realm-java to check if issue is resolved.

Still though, keep in mind #6912, there are a few things to check from our side.

@kiburtse kiburtse closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants