bumptech / bumptech/glide

Infinite error on fast scroll in recycler view.

Open
#2,204 11 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**:
4.0.0

**Integration libraries**:
No

**Device/Android Version**:
Android 7 Samsung.

**Issue details / Repro steps / Use case background**:
Trying v4 before migrating. So very basic use case.
GlideApp with a basic configuration and a custom fetcher migrated from v3.

**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
RequestOptions requestOptions = new RequestOptions();
requestOptions.placeholder(placeHolder);
GlideApp.with(appContext)
.load(getGlideImageRequest(url))
.apply(requestOptions)
.into(holder.fanart);
```
The getGlideImageRequest just builds a specific object for internal use.

All works perfectly, but when scrolling very fast with image downloading, I will trigger infinite stack trace shown later. Making it quite hard to find the root cause as everything is spammed to death and no real clue about possible cause :(

**Layout XML**:
```xml

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.