-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
malloc_ptr classes(objc_copyClassList(&numClasses), &free); crash #8026
Comments
When i added monitorextension i got this error |
After specifying objectTypes in Realm.Configuration, the startup will not crash, but you can still hope to fix the problem |
Hi @huanglins from what I can understand your issue disappeared when specifying the We could probably document this better, but your solution is right now the best to solve this issue. |
I have the same problem with Realm I don't know what the By applying @huanglins 's workaround (specifying the |
Let me give you an example: @nirinchev look this |
This is definitely not enough information to reproduce the issue - it shows creating a simple config and we have many tests that verify code like this works. If you can reproduce a crash in a simple and isolated project, please share the entire project. |
Suffice it to say, this is a temporary solution, after all, such a crash is not guaranteed, thank you. @nirinchev |
How frequently does the bug occur?
All the time
Description
Crashing on iOS 14.1, iOS 14.8 devices
Stacktrace & log output
No response
Can you reproduce the bug?
Yes, always
Reproduction Steps
try? Realm(configuration: config)
let rlmRealm = try RLMRealm(configuration: configuration.rlmConfiguration, queue: queue)
RLMSchema *schema = configuration.customSchema ?: RLMSchema.sharedSchema;
malloc_ptr classes(objc_copyClassList(&numClasses), &free); -> crash
Version
10.20 、10.32.3
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
iOS
Build environment
Xcode version: ... 14.1
Dependency manager and version: ... pod 1.11.3
The text was updated successfully, but these errors were encountered: