-
Notifications
You must be signed in to change notification settings - Fork 167
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
[Bug]: RealmSync crash with Progress for small realm file #2632
Comments
Looks like this may be happening due to the GCHandle being released when we try to access it in the callback. This very likely means something is not getting cleaned up/deregistered correctly in the AsyncOpenTask. Since we're seeing the |
I have another Log Progress after logging "Realm is located...", then crash 2021-09-22 00:59:01.090626+0200 Talk.iOS[2803:161045] Progress: 1072978/1642312 =================================================================
|
Hi Luigi, |
ok, please tell me link for upload project |
To keep it fully private I need an email address of yours, so I can invite you. |
Hi Luigi. As a little update, we have found an issue on our side. We're working on resolving it. Keep an eye on the next release. |
Thanks! |
Hi again Luigi. Just 1 more update, unfortunately we made a release today (10.6.0) but that does not include the fix that I'm working on. At this point the fix will be available in one of the next releases. Stay tuned. |
Closing the issue as it's been fixed in core by this PR. |
What happened?
Hi, I have implemented a simple progress when I download Realm:
With medium/large realm file (up to 5Mb) all is ok
With small realm file (i.e. 2Mb) I have a crash after initial sync and realm not sync any modify in client app
Repro steps
I have this logging message ONLY first time I download realm (2MB file realm) and app show data but not synch.
If I download first time 8MB file realm, I don't have any logging message and all works
Version
10.5.0
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
What type of application is this?
Xamarin
Client OS and version
iOS Simulator and my Test iPhone
Code snippets
this code NOT CRASH.... but in my true App log many crush messages. From this point I load some structure (edit field e listview in Xamarin) and true App Crash... after have logging "Realm is located.." all structures are filled with data and then I have crush logging message.
Stacktrace of the exception/crash you're getting
Relevant log output
The text was updated successfully, but these errors were encountered: