-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 due to a NoSuchTable exception #6767
Comments
@denysowova are you able to follow the stacktrace up to your app code? Having some sample code would help us in reproducing/debugging the issue. |
@jsflax unfortunately no, we cannot find the exact place where the application crashes. |
Matches this Core bug realm/realm-core#3761 |
This happens because the transaction that we're importing an object from is no longer valid at the time import_copy_of is run. |
@finnschiermer can you please explain how to reproduce this issue or provide any possible fixes for it? |
@denysowova This points to a bug in the ObjectStore or in the SDK, and we're working on isolating it. we don't have a fix for it yet. |
We currently don't have enough data to fix this. Next release of realm-object-store will include a few asserts that may (or may not) be able to tell us more. |
The latest crash from today (it has been happening quite often):
|
@borislav-pixely Can you tell us what version of Realm you are using and some context of how you are using Realm? |
Same problem. Realm 5.5.0 |
#6916 similar issue |
This is probably fixed by realm/realm-core#4234. |
Thank you, hopefully it is fixed now. Will update with the next Realm release and see. |
Hey guys, do we have any update? I could see that the fix was merged in Realm-Core but has not been released with Realm-Cocoa yet. Do we have any milestone with it |
@Lucodalack This has been fixed in version 10.x. We do not currently have plans to backport the fix. Would you be able to upgrade to the latest version of Realm and see if that removes the crash? |
Hey everyone, we also start to having such issue, version of Realm was 10.4.0, then we updated it to the latest release, but no luck, app crashes at launch, only reinstall of the app can help to resolve it.
|
@seidju did you manage to resolve this issue? I have the same problem with the current version of the app after upgrading to the Realm 10.10.0. Only I have the logs from Crashlytics and dozen of people affected with it:
|
Goals
Our app has been crashing occasionally due to the NoSuchTable exception being thrown. Unfortunately we cannot reproduce the issue. We've tried updating to the latest Realm version multiple times, but it didn't help.
The exception backtrace on Crashlytics is as following:
Version of Realm and Tooling
Realm framework version: 5.3.2
Xcode version: 11.7
iOS version: 11.4.1, 12.4, 12.4.5, 12.4.6, 13.4.1, 13.5.1, 13.6, 13.6.1
Dependency manager + version: CocoaPods 1.9.3
The text was updated successfully, but these errors were encountered: