Crash inside RLMIsObjectSubclass

App is getting crashed only in production environment and it is capturing only in firebase. Not able to reproduce this issue with our debug build.

let realmConfig = Realm.Configuration(fileURL: URL(fileURLWithPath: dhsDirectoryPath + "/DHSCache.realm"),schemaVersion: 1)

private let read = DispatchQueue(
            label: “testapp.realm.Database.readQueue",
            qos: .userInitiated
        )

let realm = try Realm(configuration: realmConfig, queue: read)

App is getting crashed immediately after above line


Any idea why this crash is occurring?. Could you please help us in resolving the same.