Skip to content

Instantly share code, notes, and snippets.

@Pear0
Created June 30, 2016 02:59
Show Gist options
  • Save Pear0/3407d3d7d599b3f8bf4264a5a5789861 to your computer and use it in GitHub Desktop.
Save Pear0/3407d3d7d599b3f8bf4264a5a5789861 to your computer and use it in GitHub Desktop.
In com.pear0.marks2.debug:1.0-debug:1.
* com.pear0.marks2.activity.LaunchActivity has leaked:
* GC ROOT static com.pear0.marks2.MarksApplication._instance
* references com.pear0.marks2.MarksDebugApplication.mBase
* references android.app.ContextImpl.mServiceCache
* references array java.lang.Object[].[46]
* references android.hardware.fingerprint.FingerprintManager.mAuthenticationCallback
* references android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1.val$callback (anonymous subclass of android.hardware.fingerprint.FingerprintManager$AuthenticationCallback)
* references android.support.v4.hardware.fingerprint.FingerprintManagerCompat$Api23FingerprintManagerCompatImpl$1.val$callback (anonymous subclass of android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$AuthenticationCallback)
* references com.github.ajalt.reprint.module.marshmallow.MarshmallowReprintModule$1.val$listener (anonymous subclass of android.support.v4.hardware.fingerprint.FingerprintManagerCompat$AuthenticationCallback)
* references com.github.ajalt.reprint.core.ReprintInternal$1.val$originalListener (anonymous implementation of com.github.ajalt.reprint.core.AuthenticationListener)
* references com.pear0.marks2.FingerprintDialog.listener
* leaks com.pear0.marks2.activity.LaunchActivity instance
* Retaining: 4.6 MB.
* Reference Key: 80356e02-ccf0-4456-b660-fa0e46680df5
* Device: Huawei google Nexus 6P angler
* Android Version: 6.0.1 API: 23 LeakCanary: 1.4-beta2 3799172
* Durations: watch=5023ms, gc=137ms, heap dump=8622ms, analysis=80831ms
* Details:
* Class com.pear0.marks2.MarksApplication
| static $staticOverhead = byte[16]@315140097 (0x12c8a801)
| static Companion = com.pear0.marks2.MarksApplication$Companion@316793872 (0x12e1e410)
| static _instance = com.pear0.marks2.MarksDebugApplication@314875136 (0x12c49d00)
* Instance of com.pear0.marks2.MarksDebugApplication
| backend = com.pear0.marks2.backend.SapphireBackend@318949152 (0x1302c720)
| credential = com.pear0.marks2.credential.SapphireCredential@319166752 (0x13061920)
| school = com.pear0.marks2.school.MethactonSchool@318949040 (0x1302c6b0)
| mActivityLifecycleCallbacks = java.util.ArrayList@314902752 (0x12c508e0)
| mAssistCallbacks = null
| mComponentCallbacks = java.util.ArrayList@314902720 (0x12c508c0)
| mLoadedApk = android.app.LoadedApk@314861712 (0x12c46890)
| mBase = android.app.ContextImpl@314868736 (0x12c48400)
| shadow$_klass_ = com.pear0.marks2.MarksDebugApplication
| shadow$_monitor_ = -2093065310
* Instance of android.app.ContextImpl
| static sSharedPrefs = android.util.ArrayMap@315867232 (0x12d3c060)
| static EMPTY_STRING_ARRAY = java.lang.String[0]@1880009192 (0x700ea9e8)
| static DEBUG = false
| static $staticOverhead = byte[32]@1882754697 (0x70388e89)
| static TAG = java.lang.String@1877635528 (0x6fea71c8)
| mActivityToken = null
| mBasePackageName = java.lang.String@314880128 (0x12c4b080)
| mCacheDir = java.io.File@316371184 (0x12db70f0)
| mCodeCacheDir = null
| mContentResolver = android.app.ContextImpl$ApplicationContentResolver@314902592 (0x12c50840)
| mDatabasesDir = null
| mDisplay = null
| mDisplayAdjustments = android.view.DisplayAdjustments@316793824 (0x12e1e3e0)
| mExternalCacheDirs = null
| mExternalFilesDirs = null
| mExternalMediaDirs = null
| mExternalObbDirs = null
| mFilesDir = java.io.File@315812352 (0x12d2ea00)
| mMainThread = android.app.ActivityThread@316582592 (0x12deaac0)
| mNoBackupFilesDir = null
| mOpPackageName = java.lang.String@314880128 (0x12c4b080)
| mOuterContext = com.pear0.marks2.MarksDebugApplication@314875136 (0x12c49d00)
| mPackageInfo = android.app.LoadedApk@314861712 (0x12c46890)
| mPackageManager = android.app.ApplicationPackageManager@315878704 (0x12d3ed30)
| mPreferencesDir = java.io.File@315810688 (0x12d2e380)
| mReceiverRestrictedContext = null
| mResources = android.content.res.Resources@314784992 (0x12c33ce0)
| mResourcesManager = android.app.ResourcesManager@314865600 (0x12c477c0)
| mRestricted = false
| mServiceCache = java.lang.Object[54]@314905360 (0x12c51310)
| mSync = java.lang.Object@316793840 (0x12e1e3f0)
| mTheme = android.content.res.Resources$Theme@314578976 (0x12c01820)
| mThemeResource = 16974120
| mUser = android.os.UserHandle@316793856 (0x12e1e400)
| shadow$_klass_ = android.app.ContextImpl
| shadow$_monitor_ = 0
* Array of java.lang.Object[]
| [0] = null
| [1] = null
| [2] = null
| [3] = android.app.ActivityManager@316037376 (0x12d65900)
| [4] = null
| [5] = null
| [6] = null
| [7] = null
| [8] = null
| [9] = null
| [10] = null
| [11] = null
| [12] = android.hardware.display.DisplayManager@314742656 (0x12c29780)
| [13] = com.android.internal.policy.PhoneLayoutInflater@314766768 (0x12c2f5b0)
| [14] = null
| [15] = null
| [16] = null
| [17] = null
| [18] = null
| [19] = null
| [20] = null
| [21] = null
| [22] = null
| [23] = null
| [24] = null
| [25] = null
| [26] = null
| [27] = null
| [28] = null
| [29] = null
| [30] = null
| [31] = null
| [32] = null
| [33] = null
| [34] = null
| [35] = null
| [36] = null
| [37] = android.view.WindowManagerImpl@319380064 (0x13095a60)
| [38] = null
| [39] = null
| [40] = null
| [41] = null
| [42] = null
| [43] = null
| [44] = null
| [45] = null
| [46] = android.hardware.fingerprint.FingerprintManager@316290768 (0x12da36d0)
| [47] = null
| [48] = null
| [49] = null
| [50] = null
| [51] = null
| [52] = null
| [53] = null
* Instance of android.hardware.fingerprint.FingerprintManager
| static DEBUG = true
| static MSG_AUTHENTICATION_FAILED = 103
| static MSG_ENROLL_RESULT = 100
| static FINGERPRINT_ERROR_LOCKOUT = 7
| static MSG_ERROR = 104
| static FINGERPRINT_ACQUIRED_PARTIAL = 1
| static FINGERPRINT_ACQUIRED_IMAGER_DIRTY = 3
| static $staticOverhead = byte[184]@1882136929 (0x702f2161)
| static FINGERPRINT_ERROR_HW_UNAVAILABLE = 1
| static FINGERPRINT_ACQUIRED_TOO_SLOW = 4
| static FINGERPRINT_ACQUIRED_VENDOR_BASE = 1000
| static FINGERPRINT_ERROR_NO_SPACE = 4
| static MSG_ACQUIRED = 101
| static MSG_AUTHENTICATION_SUCCEEDED = 102
| static FINGERPRINT_ERROR_VENDOR_BASE = 1000
| static FINGERPRINT_ACQUIRED_TOO_FAST = 5
| static FINGERPRINT_ACQUIRED_GOOD = 0
| static FINGERPRINT_ERROR_UNABLE_TO_REMOVE = 6
| static FINGERPRINT_ERROR_UNABLE_TO_PROCESS = 2
| static FINGERPRINT_ERROR_CANCELED = 5
| static FINGERPRINT_ACQUIRED_INSUFFICIENT = 2
| static MSG_REMOVED = 105
| static FINGERPRINT_ERROR_TIMEOUT = 3
| static TAG = java.lang.String@1877729096 (0x6febdf48)
| mAuthenticationCallback = android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1@318729728 (0x12ff6e00)
| mContext = com.pear0.marks2.MarksDebugApplication@314875136 (0x12c49d00)
| mCryptoObject = null
| mEnrollmentCallback = null
| mHandler = android.hardware.fingerprint.FingerprintManager$MyHandler@316319360 (0x12daa680)
| mRemovalCallback = null
| mRemovalFingerprint = null
| mService = android.hardware.fingerprint.IFingerprintService$Stub$Proxy@315813200 (0x12d2ed50)
| mServiceReceiver = android.hardware.fingerprint.FingerprintManager$1@316319328 (0x12daa660)
| mToken = android.os.Binder@316319200 (0x12daa5e0)
| shadow$_klass_ = android.hardware.fingerprint.FingerprintManager
| shadow$_monitor_ = 0
* Instance of android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1
| val$callback = android.support.v4.hardware.fingerprint.FingerprintManagerCompat$Api23FingerprintManagerCompatImpl$1@318729712 (0x12ff6df0)
| shadow$_klass_ = android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1
| shadow$_monitor_ = 0
* Instance of android.support.v4.hardware.fingerprint.FingerprintManagerCompat$Api23FingerprintManagerCompatImpl$1
| val$callback = com.github.ajalt.reprint.module.marshmallow.MarshmallowReprintModule$1@318772192 (0x130013e0)
| shadow$_klass_ = android.support.v4.hardware.fingerprint.FingerprintManagerCompat$Api23FingerprintManagerCompatImpl$1
| shadow$_monitor_ = 0
* Instance of com.github.ajalt.reprint.module.marshmallow.MarshmallowReprintModule$1
| this$0 = com.github.ajalt.reprint.module.marshmallow.MarshmallowReprintModule@315813152 (0x12d2ed20)
| val$cancellationSignal = android.support.v4.os.CancellationSignal@318772064 (0x13001360)
| val$listener = com.github.ajalt.reprint.core.ReprintInternal$1@318772160 (0x130013c0)
| val$restartOnNonFatal = true
| shadow$_klass_ = com.github.ajalt.reprint.module.marshmallow.MarshmallowReprintModule$1
| shadow$_monitor_ = 0
* Instance of com.github.ajalt.reprint.core.ReprintInternal$1
| this$0 = com.github.ajalt.reprint.core.ReprintInternal@316318592 (0x12daa380)
| val$originalListener = com.pear0.marks2.FingerprintDialog@316689152 (0x12e04b00)
| val$restartCount = 5
| shadow$_klass_ = com.github.ajalt.reprint.core.ReprintInternal$1
| shadow$_monitor_ = 0
* Instance of com.pear0.marks2.FingerprintDialog
| static SUCCESS_DELAY_MILLIS = 1300
| static ERROR_TIMEOUT_MILLIS = 1600
| static $staticOverhead = byte[32]@317181953 (0x12e7d001)
| static Companion = com.pear0.marks2.FingerprintDialog$Companion@317748672 (0x12f075c0)
| static $$delegatedProperties = kotlin.reflect.KProperty[2]@317835584 (0x12f1c940)
| _$_findViewCache = java.util.HashMap@318840304 (0x13011df0)
| inputMethodManager$delegate = kotlin.SynchronizedLazyImpl@317835680 (0x12f1c9a0)
| listener = com.pear0.marks2.activity.LaunchActivity@315014192 (0x12c6bc30)
| resetErrorRunnable = com.pear0.marks2.FingerprintDialog$resetErrorRunnable$1@317748752 (0x12f07610)
| sharedPreferences$delegate = kotlin.SynchronizedLazyImpl@317835712 (0x12f1c9c0)
| stage = com.pear0.marks2.FingerprintDialog$Companion$Stage@317748768 (0x12f07620)
| mBackStackId = -1
| mCancelable = true
| mDialog = null
| mDismissed = true
| mShownByMe = false
| mShowsDialog = true
| mStyle = 0
| mTheme = 16974393
| mViewDestroyed = true
| mAdded = false
| mAllowEnterTransitionOverlap = null
| mAllowReturnTransitionOverlap = null
| mAnimatingAway = null
| mArguments = null
| mBackStackNesting = 0
| mCalled = true
| mCheckedForLoaderManager = false
| mChildFragmentManager = null
| mChildNonConfig = null
| mContainer = null
| mContainerId = 0
| mDeferStart = false
| mDetached = false
| mEnterTransition = null
| mEnterTransitionCallback = null
| mExitTransition = null
| mExitTransitionCallback = null
| mFragmentId = 0
| mFragmentManager = null
| mFromLayout = false
| mHasMenu = false
| mHidden = false
| mHost = null
| mInLayout = false
| mIndex = -1
| mInnerView = null
| mLoaderManager = null
| mLoadersStarted = false
| mMenuVisible = true
| mNextAnim = 0
| mParentFragment = null
| mReenterTransition = java.lang.Object@317748656 (0x12f075b0)
| mRemoving = false
| mRestored = false
| mRetainInstance = true
| mRetaining = false
| mReturnTransition = java.lang.Object@317748656 (0x12f075b0)
| mSavedFragmentState = null
| mSavedViewState = null
| mSharedElementEnterTransition = null
| mSharedElementReturnTransition = java.lang.Object@317748656 (0x12f075b0)
| mState = 0
| mStateAfterAnimating = 0
| mTag = null
| mTarget = null
| mTargetIndex = -1
| mTargetRequestCode = 0
| mUserVisibleHint = true
| mView = null
| mWho = null
| shadow$_klass_ = com.pear0.marks2.FingerprintDialog
| shadow$_monitor_ = 0
* Instance of com.pear0.marks2.activity.LaunchActivity
| static DIALOG_FRAGMENT_TAG = java.lang.String@316226688 (0x12d93c80)
| static $staticOverhead = byte[32]@316563457 (0x12de6001)
| static Companion = com.pear0.marks2.activity.LaunchActivity$Companion@315813472 (0x12d2ee60)
| static $$delegatedProperties = kotlin.reflect.KProperty[2]@316320640 (0x12daab80)
| static KEY_NAME = java.lang.String@316291872 (0x12da3b20)
| _$_findViewCache = null
| dialogFragment$delegate = kotlin.SynchronizedLazyImpl@316546496 (0x12de1dc0)
| realm = io.realm.Realm@317555136 (0x12ed81c0)
| sharedPreferences$delegate = kotlin.SynchronizedLazyImpl@316600576 (0x12def100)
| mDelegate = android.support.v7.app.AppCompatDelegateImplV23@316869488 (0x12e30b70)
| mEatKeyUpEvent = false
| mResources = null
| mThemeId = 2131361883
| mCreated = true
| mFragments = android.support.v4.app.FragmentController@315813664 (0x12d2ef20)
| mHandler = android.support.v4.app.FragmentActivity$1@316543232 (0x12de1100)
| mMediaController = null
| mNextCandidateRequestIndex = 0
| mOptionsMenuInvalidated = false
| mPendingFragmentActivityResults = android.support.v4.util.SparseArrayCompat@316640832 (0x12df8e40)
| mReallyStopped = true
| mRequestedPermissionsFromFragment = false
| mResumed = false
| mRetaining = false
| mStopped = true
| mStartedActivityFromFragment = false
| mStartedIntentSenderFromFragment = false
| mActionBar = null
| mActionModeTypeStarting = 0
| mActivityInfo = android.content.pm.ActivityInfo@314892416 (0x12c4e080)
| mActivityTransitionState = android.app.ActivityTransitionState@316227520 (0x12d93fc0)
| mApplication = com.pear0.marks2.MarksDebugApplication@314875136 (0x12c49d00)
| mCalled = true
| mChangeCanvasToTranslucent = false
| mChangingConfigurations = false
| mComponent = android.content.ComponentName@316657840 (0x12dfd0b0)
| mConfigChangeFlags = 0
| mCurrentConfig = android.content.res.Configuration@316144416 (0x12d7fb20)
| mDecor = null
| mDefaultKeyMode = 0
| mDefaultKeySsb = null
| mDestroyed = true
| mDoReportFullyDrawn = false
| mEmbeddedID = null
| mEnableDefaultActionBarUp = false
| mEnterTransitionListener = android.app.SharedElementCallback$1@1880009568 (0x700eab60)
| mExitTransitionListener = android.app.SharedElementCallback$1@1880009568 (0x700eab60)
| mFinished = true
| mFragments = android.app.FragmentController@315813584 (0x12d2eed0)
| mHandler = android.os.Handler@316543104 (0x12de1080)
| mHasCurrentPermissionsRequest = false
| mIdent = 27980394
| mInstanceTracker = android.os.StrictMode$InstanceTracker@315813600 (0x12d2eee0)
| mInstrumentation = android.app.Instrumentation@314785072 (0x12c33d30)
| mIntent = android.content.Intent@314880832 (0x12c4b340)
| mLastNonConfigurationInstances = null
| mMainThread = android.app.ActivityThread@316582592 (0x12deaac0)
| mManagedCursors = java.util.ArrayList@316543136 (0x12de10a0)
| mManagedDialogs = null
| mMenuInflater = null
| mParent = null
| mReferrer = java.lang.String@314881408 (0x12c4b580)
| mResultCode = 0
| mResultData = null
| mResumed = false
| mSearchEvent = null
| mSearchManager = null
| mStartedActivity = false
| mStopped = true
| mTemporaryPause = false
| mTitle = java.lang.String@316292496 (0x12da3d90)
| mTitleColor = 0
| mTitleReady = true
| mToken = android.os.BinderProxy@314741952 (0x12c294c0)
| mTranslucentCallback = null
| mUiThread = java.lang.Thread@1952589864 (0x74622828)
| mVisibleBehind = false
| mVisibleFromClient = true
| mVisibleFromServer = true
| mVoiceInteractor = null
| mWindow = com.android.internal.policy.PhoneWindow@316830784 (0x12e27440)
| mWindowAdded = true
| mWindowManager = android.view.WindowManagerImpl@316601280 (0x12def3c0)
| mInflater = com.android.internal.policy.PhoneLayoutInflater@316292736 (0x12da3e80)
| mOverrideConfiguration = null
| mResources = android.content.res.Resources@314784992 (0x12c33ce0)
| mTheme = android.content.res.Resources$Theme@316601312 (0x12def3e0)
| mThemeResource = 2131361883
| mBase = android.app.ContextImpl@316357120 (0x12db3a00)
| shadow$_klass_ = com.pear0.marks2.activity.LaunchActivity
| shadow$_monitor_ = 1073745238
* Excluded Refs:
| Field: android.view.inputmethod.InputMethodManager.mNextServedView
| Field: android.view.inputmethod.InputMethodManager.mServedView
| Field: android.view.inputmethod.InputMethodManager.mServedInputConnection
| Field: android.view.inputmethod.InputMethodManager.mCurRootView
| Field: android.widget.Editor$Blink.this$0
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Thread:FinalizerWatchdogDaemon (always)
| Thread:main (always)
| Thread:LeakCanary-Heap-Dump (always)
| Class:java.lang.ref.WeakReference (always)
| Class:java.lang.ref.SoftReference (always)
| Class:java.lang.ref.PhantomReference (always)
| Class:java.lang.ref.Finalizer (always)
| Class:java.lang.ref.FinalizerReference (always)
| Root Class:android.os.Binder (always)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment