-
Notifications
You must be signed in to change notification settings - Fork 163
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
Crash on Realm.write #5941
Comments
Could you please take a look into this as this is causing massive problems at the moment for my app? Many thanks. |
@NZQN23 |
I'm going to move this to realm-core because the stack trace shows this just going from |
I'm not able to reproduce it on any of my devices unfortunately but I'm receiving numerous crash reports. About the write transaction:
Is this enough or do you need the object structure as well? |
@NZQN23 If you have several crash reports, could I ask you to check if all stacktraces show a crash on |
@jedelbo yes, all of them have this line. |
... and the rest of the call stack does also look the same? |
Mostly. Would you prefer if I send all logs per email? |
Yes, that would be great. You can send them to me: jorgen.edelbo@mongodb.com. |
➤ Jørgen Edelbo commented: Internal note: The crash reports show 2 different symptoms:
|
Hello @jedelbo, do you have any updates on these issues? |
Unfortunately not. But I can assure you that several people are working on it. |
If it's helpful at all: these errors first showed mid-september. At the same time I got a lot of warnings in Xcode regarding the app referencing non-public selectors for Realm: authenticationDidCompleteWithError. Also I checked for changes in my Object models, the only difference from the version without these errors to the one with was changing some Double attributes to optional Double. Both versions were using Realm 10.29.0. |
@NZQN23 You say that the problems started mid-september. Can you relate that to a change in the Realm version used? |
No, it was the same (10.29.0). It explicitly checked this. Maybe something with iOS 16? |
Yes, we are beginning to suspect that there has been a change in the platform. |
Hi @jedelbo, I have just checked the latest crash reports for last ten days. So far I have 84 crash reports of which 36 reference to realm/realm-swift#7999, 13 seem to be the issue with ArrayBigBlobs, 24 seem to be the initialize issue and 7 are new within the last days for a slightly different stacktrace, I have opened #5982 for that. Maybe these numbers help. |
is this a widespread issue? |
This is probably not due to a change in the platform. We are close to have found the root cause. |
There might be something interesting here: in my latest release I have integrated 10.32.0 and have removed a particular string attribute from one object. Since then, I never had any of this issue or of the issue from realm/realm-swift#7999. And yes, it was the workoutUUID attribute. |
How frequently does the bug occur?
Sometimes
Description
My app crashes in production during write operations
Stacktrace & log output
Can you reproduce the bug?
Not yet
Reproduction Steps
No response
Version
10.31.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS 16.1
Build environment
Xcode version: 14.0.1
Dependency manager and version: Cocoapods 1.11.3
The text was updated successfully, but these errors were encountered: