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

Glide v4.15.1 java.lang.IllegalStateException: Cannot recycle a resource while it is still acquired #5211

Closed
hpdx opened this issue Jul 13, 2023 · 2 comments

Comments

@hpdx
Copy link

hpdx commented Jul 13, 2023

com.bumptech.glide.load.engine.EngineResource.recycle

Fatal Exception: java.lang.IllegalStateException: Cannot recycle a resource while it is still acquired
at com.bumptech.glide.load.engine.EngineResource.recycle(EngineResource.java:68)
at com.bumptech.glide.load.engine.ResourceRecycler$ResourceRecyclerCallback.handleMessage(ResourceRecycler.java:37)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:223)
at android.os.Looper.loop(Looper.java:324)
at android.app.ActivityThread.main(ActivityThread.java:8464)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1059)

@lyjSmile
Copy link

I hava same probleam, did you solve it?

java.lang.IllegalStateException: Cannot recycle a resource while it is still acquired
at com.bumptech.glide.load.engine.EngineResource.recycle(EngineResource.java:68)
at com.bumptech.glide.load.engine.ResourceRecycler$ResourceRecyclerCallback.handleMessage(ResourceRecycler.java:37)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:250)
at android.app.ActivityThread.main(ActivityThread.java:7851)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)

@TWiStErRob
Copy link
Collaborator

Duplicate of #4507, please "Subscribe" to that issue.

@TWiStErRob TWiStErRob closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
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

3 participants