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

Double deallocation when clearing big linklist during sync #4388

Closed
jedelbo opened this issue Feb 5, 2021 · 2 comments · Fixed by #4389
Closed

Double deallocation when clearing big linklist during sync #4388

jedelbo opened this issue Feb 5, 2021 · 2 comments · Fixed by #4389
Assignees

Comments

@jedelbo
Copy link
Contributor

jedelbo commented Feb 5, 2021

The application will crash with Assertion failed: ref + size <= next->first with (ref, size, next->first, next->second, get_file_path_for_assertions()). To experience this problem you have to:

  • populate a linklist with more than 1000 unresolved links
  • create all the objects so the links become resolved
  • commit the result
  • clear the list.

This happens typically when you synchronize your local realm with MongoDB Realm.

@jedelbo jedelbo self-assigned this Feb 5, 2021
@bmunkholm
Copy link
Contributor

Does this relate to any user observed issues?

@sync-by-unito
Copy link

sync-by-unito bot commented Feb 5, 2021

➤ Paolo Manna commented:

[~brian.munkholm]

Yes, the HELP ticket had been raised yesterday.

@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

Successfully merging a pull request may close this issue.

2 participants