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

Creash when opening Analysis from Notification #2418

Closed
IonutNegru87 opened this issue Sep 9, 2022 · 3 comments
Closed

Creash when opening Analysis from Notification #2418

IonutNegru87 opened this issue Sep 9, 2022 · 3 comments

Comments

@IonutNegru87
Copy link

Description

Application crashes

Steps to Reproduce

Wait for LeakCanary to analyze the memory dump
Open LeakCanary from the notification

Expected behavior: [What you expect to happen]

The application should not crash

Version Information

  • LeakCanary version: 2.9.1
  • Android OS version: 13
  • Gradle version: 7.2.1

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

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:1137)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
        at java.lang.Thread.run(Thread.java:1012)
@VinuPolly-Bonnet
Copy link

Hi @IonutNegru87 , did you manage to find a fix for this? Having the same issue with LeakCanary with my build.
Thanks

@IonutNegru87
Copy link
Author

Not really, didn't find any wait to get pass this yet.

@pyricau
Copy link
Member

pyricau commented Sep 13, 2022

Duplicate of #2371

@pyricau pyricau marked this as a duplicate of #2371 Sep 13, 2022
@pyricau pyricau closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants