WordPress-Android
WordPress-Android copied to clipboard
abort
Sentry Issue: WORDPRESS-ANDROID-2GBT
SIGABRT: Abort
?, in abort
?, in __android_log_assert
?
?
?
...
(19 additional frame(s) were not displayed)
| Fails | |
|---|---|
| :no_entry_sign: | Please add a feature label to this issue. e.g. 'Stats' |
Generated by :no_entry_sign: dangerJS
Sentry issue: JETPACK-ANDROID-7YH
libhermes-executor-release
{virtual override thunk}
libhermes-executor-release
facebook::react::JSIExecutor::handleMemoryPressure
libreactnativejni
libreactnativejni
libreactnativejni
facebook::jni::detail::MethodWrapper<T>::dispatch
libreactnativejni
facebook::jni::detail::FunctionWrapper<T>::call
These logs show that the crash is related to React native and the crash is occurring on only low-level devices.
After checking the Sentry events, seems it's more prone to happen on specific device families:
TECNO and Infinix are the top two.
On the other hand, I noticed that Sentry also tags with device.class as low all of the events. Considering the stack trace and this line related to memory pressure facebook::react::JSIExecutor::handleMemoryPressure, I think we can say that this is likely to be related to memory issues on low-end devices.
From some of the events, I'm seeing an issue of attempts to perform a write operation in the database while the thread that the operation is being attempted on is locked in EditPostRepository's updateAsync.
I'm also seeing Timeout reached before response from requestGetHtml.
I'll keep checking the events to see what else I can find.
I couldn't reproduce the issue but I did find that the app is fetching all of the pages when entering the Pages view. I believe this could be related since it can consume a lot of memory in lower-end devices.
From the events, I could see crashes when fetching pages e.g:
d/WordPress-API: : ListStore: Loading next page
I think this could also be related to this ticket https://github.com/wordpress-mobile/WordPress-Android/issues/19320
I also saw that when any update is triggered within the editor, it triggers getPagesFromDb which I believe it shouldn't until the editor is closed and it's saving the last changes, I'll create a GitHub issue for this one.
...
facebook::react::JSIExecutor::handleMemoryPressure...
In the stack trace, there's a call to a function that references memory pressure. Following https://github.com/wordpress-mobile/WordPress-Android/issues/19516#issuecomment-179838258, the theory about low memory issues in low-end devices seems quite plausible.
Sentry Issue: WORDPRESS-ANDROID-2VH0
Sentry Issue: WORDPRESS-ANDROID-2VJW
Hey @geriux 👋 I'm pinging you just because you are still the assignee. Is this issue still investigated/actionable?
Hey! 👋
I'm pinging you just because you are still the assignee. Is this issue still investigated/actionable?
Yeah, the original issue is still related to low memory on low-end devices. The last report we got was in 24.2.
The latest two comments linking to other Sentry issues appear to be a different thing, as it is happening on high-end devices.
From what I could see, those are happening when making a lot of calls to post formats, I suspect it might be something similar to fetching all of the user's pages, if they have a lot of data I suspect the app starts to run out of memory because of that.
Sentry Issue: JETPACK-ANDROID-82S
Thanks for reporting! 👍
Fixed by #20760