-
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
Low Memory 1GB device and Realm Crashes #1353
Comments
Can you please share some crash log with us if you have now? Thanks! |
Update:
Conclusion: We still no idea how to reproduce the crash but it is happening and disabling encryption removed the crashes on 1GB devices such as as the Samsung Grand Prime. @beeender We only have crashanalytic crash stack traces which doesn't point to anything in particular except for the exception at createInstance with a realmConfig that has encryption enabled for the k/v db. |
@diegomontoya It seems the crash is in the native code. Any chance you can get the tombstone log or any kind of native crash log for us? |
@diegomontoya How is this going on? Do you have more information about this? Like any signal triggered the native crash etc. |
@beender The best I can do is google's ANR report which doesn't have full debug symbol stack traces. We are unable to reproduce the bug with our 1GB device. The following in a ANR which same crashpoint on many 1GB devices. Build fingerprint: 'Lenovo/scofield_row/S850:4.4.2/KOT49H/S850_ROW_S217_150420.:user/release-keys' backtrace: code around pc: code around lr: |
Another ANR with multiple crashes on 1GB devices. Very similar to the above one and crashing at memcpy. Could be related to memory allocation/usage on low mem devices. Build fingerprint: 'lge/b2ldsn_global_com/b2ldsn:4.4.2/KOT49I/1432216233:user/release-keys' backtrace: code around pc: code around lr: |
Another variation of memory copy crashing librealm on 1GB devices: multiple device crash just like the previous posts. If memory is allocated correctly for copy dest and copy source exists I don't see how this can crash. Build fingerprint: 'TCL/SOUL4NA_METROPCS/SOUL4NA:4.4.2/KOT49H/vC2V-0:user/release-keys' backtrace: code around pc: code around lr: |
@diegomontoya I have some 1GB devices, do you mind send the apk to me for testing? |
@diegomontoya the 0.82.2 has been released which fixed 3 problems related with encryption
Those three all would generate some really strange back trace. If you don't mind, please update the realm to 0.82.2 to see if the issue gets fixed. Thanks! |
I'm closing the issue since we released a fix. @diegomontoya if the problem still persist, please open a new issue. |
We are getting lots of invalid argument bad file format crashes on various low memory devices on Android 4.x. The only thing they have in common is all the devices have only 1gb of installed ram. Device range from 2013 models to early 2015 models and cpus include both mediatek and Qualcomm.
Realm encryption is enabled and we suspect that may be the culprit, for now.
We are in the process of purchasing a crashing device to track the source but want to see if the realm team has seen these type of strange crashes.
The text was updated successfully, but these errors were encountered: