-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
NPE: 4.3.0 and GIFs lifecycle #2555
Comments
Let me know if you figure out repro steps. |
Also can you provide your Glide load line? |
This is the load line:
The actual line if you're interested:
I can reproduce this in my app pretty reliably, it just requires flinging the RecyclerView and then hitting back. Let me know if you don't have enough information or don't want to mess with the whole Signal app, and I'll try breaking it out into a sample app. |
Able to reproduce this crash on Glide version |
I tried to reproduce this in Signal and am not able to. A video might help clarify the repro steps, or if it's easy to reproduce in a sample app that would be great too. Glide's giphy sample app is pretty close to what you're doing, so it may make a reasonable starting point. Does the crash occur when you back out of selecting a GIF? Or back out of the screen where you'd send a GIF after selecting one? The steps I've tried are:
None of those three sets of steps seems to produce a crash, at least not on an x86 API 26 emulator. |
@tinder-ksaurabh If you're able to reproduce this, can you share a sample app that does so? Or provide more details about your load lines and what you're doing to reproduce this? |
I wasn't able to reproduce this on an emulator, but I am on a real device. Probably due to the timing required to get this to occur. |
I believe I have a fix for this, still working on making sure it's tested correctly. A workaround for this for now is to remove any use of |
I'm using Glide 4.3.0 to load GIFs into a RecyclerView. Some users are reporting that if they scroll quickly and then close the activity, they get a crash.
Glide Version: 4.3.0
The text was updated successfully, but these errors were encountered: