-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
SEGV_MAPERR when rolling back transaction #6945
Comments
#00 pc 0014139e /data/app-lib/pkgname-1/librealm-jni.so [armeabi-v7a] |
i don't why it will crash, before 7.0.0, it's ok. |
Can you reproduce this? Also, can you post the entire stacktrace? |
Also in version :6.0.2
|
From the OP:
|
Talking to the Core team. Some fixes have been made in Realm Java 7.0.2 around memory management that might explain this. Can you try to upgrade to 7.0.2 and see if you can reproduce the issue there? |
➤ Christan Melchior commented: Closing due to no activity. Feel free to reopen this issue if it is still an issue. |
I have similar problems in realm 10.3.0
|
Goal
can commit transaction
Actual Results
throw exception and when cancel transaction, it crashes
Steps & Code to Reproduce
realm.beginTransaction();
try {
for (CallLog fixDeliveredCallLog : fixDeliveredCallLogs) {
fixDeliveredCallLog.setState(CallLog.STATE_DELIVERED);
}
if (deliveredCallLog != null) {
deliveredCallLog.setState(CallLog.STATE_DELIVERED);
ConversationManager.updateToConversation(realm, deliveredCallLog);
}
realm.commitTransaction();
} catch (Throwable e) {
if (realm.isInTransaction()) {
realm.cancelTransaction();
}
}
Version of Realm and tooling
Realm version(s): 7.0.0
Realm Sync feature enabled: No
Android Studio version: 3.6.3
Android Build Tools version: 3.3.2
Gradle version: 4.10.1
Which Android version and device(s): 三星 SM G570F、lg-v400、and so on
The text was updated successfully, but these errors were encountered: