-
Notifications
You must be signed in to change notification settings - Fork 171
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 at REALM_DEFINE_TERMINATE_VERSIONED(REALM_VERSION_SUFFIX_CONCAT) #7021
Comments
I have the same error. it will crash when I run to iOS device, but android and iOS simulator are ok encrypted_file_mapping.cpp:1028: [realm-core-13.17.2] Assertion failed: new_size % (1ULL << m_page_shift) == 0 [realm-core-13.17.2] Assertion failed: new_size % (1ULL << m_page_shift) == 0 |
more details on this error is captured here - #7322 |
This error started from 13.17.0 (realm-core), downgrading to 13.15.1 resolved my issue. |
|
Closing this because it is a dup of #7322 .. @finnschiermer apparently we have multiple instance of the same problem. |
SDK and version
SDK : SPM
Version: 10.43.0
Observations
everytime after AppStart
Crash log / stacktrace
Assertion failed: new_size % (1ULL << m_page_shift) == 0
I use the following code:
let data = "ENCRYPTIONKEY".data(using: String.Encoding.utf8, allowLossyConversion: false)
let config = Realm.Configuration(encryptionKey: data)
let defaultPath = config.fileURL!.path
let path = Bundle.main.path(forResource: Config.realmName, ofType: "realm")!
realm = try Realm(configuration: config) --> this line crashes
The text was updated successfully, but these errors were encountered: