Closed NZQN23 closed 1 month ago
➤ PM Bot commented:
Jira ticket: RCORE-2239
Hello, thank you for reporting this. I am trying to find the root cause of the issue you have reported. I have a couple of questions:
Do you happen to have the realm file of the apps that are crashing? If yes, could you share the file with us?
From the stack trace you attached. It seems thread5 is opening a realm file, and thread1 is actually adding a new object in the database with a string property. Are those threads sharing the same realm file? Could I assume that and set up a similar test scenario?
Can you confirm that this is not happening at all using any realm core < 14.12.0
? Provided the same database file is opened in the same scenario (with multiple threads).
Thanks.
Hi @nicola-cab!
@NZQN23 from which version did you upgrade from?
@jedelbo From Realm Swift 10.52.2 to 10.52.3.
Until now this problem has accumulated over 200 crashes as per App Store Connect. Is there any chance to catch such issues? It seems that realm.write() creates the crash.
@NZQN23 Can you elaborate on what you mean by "realm.write() creates the crash"?
From what I've seen, the app crashes while trying to execute realm.write(). Maybe I'm wrong. I just need to know if there's any chance at all to catch this issue at all as it poses a major problem right now.
@NZQN23 Byt why do you think it is during realm.write()? The stacktrace you provided suggests that it happens during creation of an object.
@jedelbo I already said earlier that I might have mis-interpreted that Stacktrace. So nevermind.
BUT: I repeat my question what I can do about it. Why do I follow the request of reporting crashes here (please_report_this_issue_in_github_realm_realm_core) if I don't get actual help?
@NZQN23 we really appreciate that you report the crashes and we will do what we can to help you, but there is only litte information to work from. I have gone through all the changes we have done in realm-core between v14.11.0 and v14.12.0, but nothing seems to touch areas of the code that would be able to produce a crash like the one above. But obviously something has changed - your numbers clearly indicates that, but what exactly that is is hard for me to tell. Have you considered going back to v10.52.2?
SDK and version
SDK : RealmSwift Version: 10.52.3
Observations
Crash log / stacktrace