Skip to content
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

RuntimeException trying to use a recycled bitmap #116

Open
GuilhE opened this issue Jul 26, 2021 · 4 comments
Open

RuntimeException trying to use a recycled bitmap #116

GuilhE opened this issue Jul 26, 2021 · 4 comments

Comments

@GuilhE
Copy link

GuilhE commented Jul 26, 2021

Bug Reporting

Fatal Exception: java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@1439588
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:66)
at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:113)
at android.graphics.Canvas.drawBitmap(Canvas.java:1560)
at jp.wasabeef.blurry.Blur.of(Blur.java:62)
at jp.wasabeef.blurry.BlurTask$1$1.run(BlurTask.java:69)
at android.os.Handler.handleCallback(Handler.java:888)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:8178)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)

Steps to Reproduce

Can't reproduce, I'm seeing this problem on Crashlytics reports

OS details

  • Device: Kimfly A67, Xiaomi Redmi Note 9 Pro, HUAWEI P30 lite, HUAWEI Y6s, Galaxy Note8, Galaxy S8, Galaxy S7 edge, Galaxy A40, Galaxy A21s, Galaxy A20e.
  • OS: Android 8-11
@cuiti
Copy link

cuiti commented Sep 18, 2021

I've started seeing this issue more and more frequently, without me changing anything that would explain the crash.
Any ideas or workarounds to try?

@GuilhE
Copy link
Author

GuilhE commented Sep 20, 2021

No idea, still waiting for the author @wasabeef to reply.

@martinrehder
Copy link

still exists in 4.0.0
I'd like to think moving to 4.0.1 would solve it, but since I only see it in crashlytics, i have to release the app and let users run it before I can see if its fixed

@protoss5482
Copy link

Reproduce in adapter (Fast scrolling)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants