-
Notifications
You must be signed in to change notification settings - Fork 527
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
Investigate Glide drawable native crash on KitKat #3887
Comments
bumptech/glide#372 (comment) is a similar crash to what I saw. |
Note: per #3939 this is also observed as happening on occasional reopens (sometimes consistently back-to-back). That issue also includes a native trace that might be helpful in debugging or at least providing a bit more context. |
For searching context, this issue was found in 0.6-alpha (MR3). |
Per #5012, we are deprecating support for Android KitKat, so this issue is no longer valid. |
The issue is reopened because of the following unresolved TODOs: oppia-android/utility/src/main/java/org/oppia/android/util/parser/image/GlideImageLoader.kt Line 68 in 81a95b7
|
<!-- READ ME FIRST: Please fill in the explanation section below and check off every point from the Essential Checklist! --> ## Explanation This PR fixes #3886 and fixes #3887 by dropping TODOs for those obsolete issues so that they can be fully closed. ## Essential Checklist <!-- Please tick the relevant boxes by putting an "x" in them. --> - [ ] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".) - [x] Any changes to [scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets) files have their rationale included in the PR explanation. - [x] The PR follows the [style guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide). - [x] The PR does not contain any unnecessary code changes from Android Studio ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)). - [x] The PR is made from a branch that's **not** called "develop" and is up-to-date with "develop". - [x] The PR is **assigned** to the appropriate reviewers ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)).
After a forthcoming PR is merged to introduce basic KitKat support, there'a fairly common crash that occurs (especially on fresh install) on KitKat devices after opening the home screen. This seems to correlate to vector drawables that are loaded & transformed directly by Glide. It's not exactly clear what might be causing this crash, but it's expected to necessary to fix to unblock KitKat launch.
Further, this may not actually be a true problem in practice since we don't rely on the drawable mechanism for production since all thumbnails are loaded. This issue should investigate whether removing the drawable pipeline for thumbnails fixes the issue, and whether the other Glide transformation pipelines have the same crash potential.
The text was updated successfully, but these errors were encountered: