-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Consistent Crash on App Launch with RealmSwift v10.48.1 in Production - realm::Exception::what() const EXC_BAD_ACCESS (KERN_PROTECTION_FAILURE) #8732
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
Comments
Similar issue is happening with me as well on realm version
Below is the log from crashlytics.
Any help on how to repro? or guide where to look? |
I’m having the same issue with Realm (version 10.49.2):
I'm not sure how to reproduce this issue, but I've noticed a significant number of reports in Crashlytics. |
same crash here |
Having the same crash here using RealmSwift 10.51.0. Noticed a spike in last few weeks. |
Same on 10.54.1 |
Same on 10.48.1, any ideas? |
hi, do you find the reason? |
Hi @tgoyne its been a long time since many of us are facing this issue, why is this not assigned to anyone in the community. |
You can refer to my this issue.https://github.com/realm/realm-swift/issues/8756, I finally found that it was caused by upgrading the version of Xcode. When an exception occurred, the C++ exception attempted to be thrown to Objective-C, but there was an error when handling the exception. The structure of this data did not match the current version, resulting in a "bad access" error. This error has been fixed in this issue:realm/realm-core#7998, so you can try upgrading to the latest version to solve this problem. As for the reason for the occurrence of the exception, you need to conduct further research. |
How frequently does the bug occur?
Sometimes
Description
Hello,
I’m encountering a crash in my production app within the first 5 seconds of launch, with the following error message:
realm::Exception::what() const EXC_BAD_ACCESS (KERN_PROTECTION_FAILURE)
I’m unable to reproduce this issue during testing, but it occurs consistently in the production app.
I’m currently using RealmSwift v10.48.1.
Could you please help me understand the potential cause of this crash?
Additionally, has this issue been addressed in the latest release?
Thank you!
Stacktrace & log output
Can you reproduce the bug?
No
Reproduction Steps
No response
Version
10.48.1
What Atlas Services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
All iOS devices
Build environment
Xcode version: 15.2
CocoaPods: 1.13.0
The text was updated successfully, but these errors were encountered: