-
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
Random native exception #3392
Comments
Hi @dharamhbtik, sorry to hear to you're experiencing this. I've copied this into an issue so we can track it better. |
Hello @papafe . Yes I can share the scenario with you somewhere in private channel. I cannot upload the project or code here as it is huge and some privacy policy issue. |
Hi @dharamhbtik, I can understand you prefer not to upload publicly. Do you have an email that I can use so that we can continue our conversation? I will also send you info about where to upload your code. Regarding multithreading... I suppose it depends on the kind of work that you are doing on the background threads. Can you provide some more specifications? |
Yes, I can explain you the overall flow of the Realm we are using, and hope you might be able to help us to use it in correct way if we are doing anything wrong. If you can send a test email on dharmendra.hbti@hotmail.com then we can start a conversation |
I'm closing this issue since it has been inactive for some time. Feel free to reopen it if you still need help from us. |
We are using realm in our Xamarin Forms project. Its working good but randomly we are getting few issues which actually we are not able to identify the cause.
Here is scenario:
we are adding and updating items in to different realm tables using for loop. It works fine and out of 10 actions, it fails in 1 or 2 actions and app crashes and doesn't provide any info that from where it is actually breaking.
I tried with all exceptions ON in visual studio (VS 2022, Professional on Windows) but still it doesn't break and doesn't provides and stack trace. . Below is the error we are getting :
[libc++abi] terminating with uncaught exception of type realm::WrongTransactionState: Not a read transaction
I have subscribed the error event but it is not coming into that block
Is there any way I can catch this exception and prevent app from crashing ? Not only this but I want to catch any other unhandled exception from the Realm which crashes the App?
Originally posted by @dharamhbtik in #3390
The text was updated successfully, but these errors were encountered: