Glide: trying to use a recycled bitmap android.graphics.Bitmap@4a412b?

Created on 14 Nov 2019  Â·  6Comments  Â·  Source: bumptech/glide

java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4a412b
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:70)
at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:226)
at android.view.RecordingCanvas.drawBitmap(RecordingCanvas.java:101)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:545)
at android.widget.ImageView.onDraw(ImageView.java:1360)
at android.view.View.draw(View.java:21875)
at android.view.View.updateDisplayListIfDirty(View.java:20748)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.widget.ListView.drawChild(ListView.java:3816)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.widget.AbsListView.dispatchDraw(AbsListView.java:3531)
at android.widget.ListView.dispatchDraw(ListView.java:3797)
at android.view.View.draw(View.java:21878)
at android.widget.AbsListView.draw(AbsListView.java:7106)
at android.view.View.updateDisplayListIfDirty(View.java:20748)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.draw(View.java:21878)
at android.view.View.updateDisplayListIfDirty(View.java:20748)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.draw(View.java:21878)
at android.view.View.updateDisplayListIfDirty(View.java:20748)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)
at android.view.ViewGroup.drawChild(ViewGroup.java:4558)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4333)
at android.view.View.updateDisplayListIfDirty(View.java:20734)
at android.view.View.draw(View.java:21601)

stale

Most helpful comment

I had the same problem (version 4.8)

All 6 comments

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

I had the same problem (version 4.8)

This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.

I had the same problem (version 4.10

I had the same problem when going to another app and return back.

I had the same problem (version 4.11.0). Did anyone find a solution or the issue is solved?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mttmllns picture mttmllns  Â·  3Comments

FooBarBacon picture FooBarBacon  Â·  3Comments

ghost picture ghost  Â·  3Comments

technoir42 picture technoir42  Â·  3Comments

Tryking picture Tryking  Â·  3Comments