Skip to content

[MEMORY LEAK] LeakCanary Leak #751

@K1rakishou

Description

@K1rakishou

UUID: dd3b3f40d419f5d7a568bc75874af718
Build flavor: dev
Version name: v4.11.1-26902a1
OS info: Android 10, sdk version: 29
Report description:
Logs:

====================================
HEAP ANALYSIS RESULT
====================================
1 APPLICATION LEAKS

References underlined with "~~~" are likely causes.
Learn more at https://squ.re/leaks.

111744 bytes retained by leaking objects
Signature: d8d609aa26ba473571bc3c5debaa1cfad39bd
┬───
в”‚ GC Root: System class
в”‚
в”њв”Ђ android.provider.FontsContract class
│    Leaking: NO (Chan↓ is not leaking and a class is never leaking)
│    ↓ static FontsContract.sContext
в”њв”Ђ com.github.adamantcheese.chan.Chan instance
в”‚    Leaking: NO (Application is a singleton)
в”‚    Chan does not wrap an activity context
│    ↓ Chan.boardManager
в”‚           ~~~~~~~~~~~~
в”њв”Ђ com.github.adamantcheese.chan.core.manager.BoardManager instance
в”‚    Leaking: UNKNOWN
│    ↓ BoardManager.boardRepository
в”‚                   ~~~~~~~~~~~~~~~
в”њв”Ђ com.github.adamantcheese.chan.core.repository.BoardRepository instance
в”‚    Leaking: UNKNOWN
│    ↓ BoardRepository.allBoards
в”‚                      ~~~~~~~~~
в”њв”Ђ com.github.adamantcheese.chan.core.repository.BoardRepository$SitesBoards instance
в”‚    Leaking: UNKNOWN
│    ↓ BoardRepository$SitesBoards.obs
в”‚                                  ~~~
в”њв”Ђ java.util.Vector instance
в”‚    Leaking: UNKNOWN
│    ↓ Vector.elementData
в”‚             ~~~~~~~~~~~
в”њв”Ђ java.lang.Object[] array
в”‚    Leaking: UNKNOWN
│    ↓ Object[].[0]
в”‚               ~~~
в”њв”Ђ com.github.adamantcheese.chan.core.presenter.BoardsMenuPresenter instance
в”‚    Leaking: UNKNOWN
│    ↓ BoardsMenuPresenter.items
в”‚                          ~~~~~
в”њв”Ђ com.github.adamantcheese.chan.core.presenter.BoardsMenuPresenter$Items instance
в”‚    Leaking: UNKNOWN
│    ↓ BoardsMenuPresenter$Items.obs
в”‚                                ~~~
в”њв”Ђ java.util.Vector instance
в”‚    Leaking: UNKNOWN
│    ↓ Vector.elementData
в”‚             ~~~~~~~~~~~
в”њв”Ђ java.lang.Object[] array
в”‚    Leaking: UNKNOWN
│    ↓ Object[].[0]
в”‚               ~~~
в”њв”Ђ com.github.adamantcheese.chan.ui.layout.BrowseBoardsFloatingMenu instance
в”‚    Leaking: YES (View.mContext references a destroyed activity)
в”‚    mContext instance of com.github.adamantcheese.chan.StartActivity with mDestroyed = true
в”‚    View#mParent is set
в”‚    View#mAttachInfo is null (view detached)
в”‚    View.mWindowAttachCount = 1
│    ↓ BrowseBoardsFloatingMenu.mContext
в•°в†’ com.github.adamantcheese.chan.StartActivity instance
​     Leaking: YES (ObjectWatcher was watching this because com.github.adamantcheese.chan.StartActivity received Activity#onDestroy() callback and Activity#mDestroyed is true)
​     key = 1c24f8bc-0c14-4761-bf2a-c783059136cd
​     watchDurationMillis = 5355
​     retainedDurationMillis = 316
====================================
0 LIBRARY LEAKS

Library Leaks are leaks coming from the Android Framework or Google libraries.
====================================
METADATA

Please include this in bug reports and Stack Overflow questions.

Build.VERSION.SDK_INT: 29
Build.MANUFACTURER: Google
LeakCanary version: 2.2
App process name: com.github.adamantcheese.chan.dev
Analysis duration: 12504 ms
Heap dump file path: /storage/emulated/0/Download/leakcanary-com.github.adamantcheese.chan.dev/2020-02-27_05-24-59_502.hprof
Heap dump timestamp: 1582809915752
====================================

Metadata

Metadata

Assignees

Labels

report/crash reportReport made via the in-app reporter (auto or manual)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions