You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is rarely happened, but in my case the LeakCanary is strangely crashed. I think this is happened at Database Closing after user closed the LeakCanary
Steps to Reproduce
LeakCanary.Crash.mp4
Open LeakCanary from Launcher
Close LeakCanary by pressing the back button
Open LeakCanary again, then the crash was happen
Expected behavior: LeakCanary opened and showing the memory leaks list as usual
Version Information
LeakCanary version: 2.9.1
Android OS version: 10 Q
Gradle version: 7.3.0
Additional Information
Logcat
Date: 9/26/22 12:23:43
Exception: java.lang.IllegalStateException
Tag: error
Message: Already closed
java.lang.IllegalStateException: Already closed
at leakcanary.internal.activity.db.ScopedLeaksDb$DbOpener.checkClosed(ScopedLeaksDb.kt:69)
at leakcanary.internal.activity.db.ScopedLeaksDb$DbOpener.getWritableDatabase(ScopedLeaksDb.kt:51)
at leakcanary.internal.activity.db.Db$execute$1.invoke(Db.kt:35)
at leakcanary.internal.activity.db.Db$execute$1.invoke(Db.kt:9)
at leakcanary.internal.activity.db.Io$execute$2.invoke(Io.kt:44)
at leakcanary.internal.activity.db.Io$execute$2.run(Io.kt:10)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
The text was updated successfully, but these errors were encountered:
Not sure what caused it (wasnt plugged into android studio at the time), but considering that the error log is exactly the same as OP, I'd say its probably the same cause.
Description
This issue is rarely happened, but in my case the LeakCanary is strangely crashed. I think this is happened at Database Closing after user closed the LeakCanary
Steps to Reproduce
LeakCanary.Crash.mp4
Expected behavior: LeakCanary opened and showing the memory leaks list as usual
Version Information
Additional Information
Logcat
The text was updated successfully, but these errors were encountered: