Skip to content

LoginActivity leak #19

@MarekMacko

Description

@MarekMacko

In pl.edu.zut.mad.zut:1.0.3:4.

* pl.edu.zut.mad.schedule.login.LoginActivity has leaked:
* GC ROOT android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper.mParentInputMethodManager
* references android.view.inputmethod.InputMethodManager.mLastSrvView
* references android.support.design.widget.TextInputEditText.mContext
* leaks pl.edu.zut.mad.schedule.login.LoginActivity instance
* Retaining: 17 KB.
* Reference Key: dbc15fc2-5a55-4a3c-8651-d41c57ea1a52
* Device: HUAWEI HUAWEI WAS-LX1 WAS-LX1
* Android Version: 7.0 API: 24 LeakCanary: 1.5.4 74837f0
* Durations: watch=5013ms, gc=166ms, heap dump=2148ms, analysis=439312ms
* Details:
* Instance of android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
|   static $classOverhead = byte[1080]@1892397921 (0x70cbb361)
|   mParentInputMethodManager = android.view.inputmethod.InputMethodManager@315279536 (0x12cac8b0)
|   mFinished = true
|   mH = com.android.internal.view.IInputConnectionWrapper$MyHandler@314731744 (0x12c26ce0)
|   mInputConnection = null
|   mInputMethodId = java.lang.String@325093488 (0x13608870)
|   mLock = java.lang.Object@314757280 (0x12c2d0a0)
|   mMainLooper = android.os.Looper@314729728 (0x12c26500)
|   mDescriptor = java.lang.String@1882552064 (0x70357700)
|   mObject = 505409821568
|   mOwner = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper@316657328 (0x12dfceb0)
|   shadow$_klass_ = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper
|   shadow$_monitor_ = 0
* Instance of android.view.inputmethod.InputMethodManager
|   static CONTROL_START_INITIAL = 256
|   static CONTROL_WINDOW_VIEW_HAS_FOCUS = 1
|   static INPUT_METHOD_NOT_RESPONDING_TIMEOUT = 2500
|   static SHOW_IM_PICKER_MODE_INCLUDE_AUXILIARY_SUBTYPES = 1
|   static SHOW_IM_PICKER_MODE_EXCLUDE_AUXILIARY_SUBTYPES = 2
|   static MSG_DUMP = 1
|   static MSG_SEND_INPUT_EVENT = 5
|   static RESULT_UNCHANGED_HIDDEN = 1
|   static SHOW_FORCED = 2
|   static CONTROL_SHOW_INPUT = 65536
|   static DISPATCH_IN_PROGRESS = -1
|   static $classOverhead = byte[1345]@1892202881 (0x70c8b981)
|   static TAG = java.lang.String@1885549176 (0x70633278)
|   static NOT_AN_ACTION_NOTIFICATION_SEQUENCE_NUMBER = -1
|   static HIDE_IMPLICIT_ONLY = 1
|   static MSG_UNBIND = 3
|   static REQUEST_UPDATE_CURSOR_ANCHOR_INFO_NONE = 0
|   static SHOW_IMPLICIT = 1
|   static HIDE_NOT_ALWAYS = 2
|   static DISPATCH_HANDLED = 1
|   static MSG_FLUSH_INPUT_EVENT = 7
|   static RESULT_HIDDEN = 3
|   static DISPATCH_NOT_HANDLED = 0
|   static sInstance = android.view.inputmethod.InputMethodManager@315279536 (0x12cac8b0)
|   static MSG_TIMEOUT_INPUT_EVENT = 6
|   static SHOW_IM_PICKER_MODE_AUTO = 0
|   static CONTROL_WINDOW_IS_TEXT_EDITOR = 2
|   static PENDING_EVENT_COUNTER = java.lang.String@1885579528 (0x7063a908)
|   static DEBUG = false
|   static CONTROL_WINDOW_FIRST = 4
|   static MSG_BIND = 2
|   static RESULT_UNCHANGED_SHOWN = 0
|   static RESULT_SHOWN = 2
|   static MSG_SET_ACTIVE = 4
|   static MSG_SET_USER_ACTION_NOTIFICATION_SEQUENCE_NUMBER = 9
|   mActive = true
|   mBindSequence = 4034
|   mClient = android.view.inputmethod.InputMethodManager$1@314842144 (0x12c41c20)
|   mCompletions = null
|   mCurChannel = android.view.InputChannel@320241552 (0x13167f90)
|   mCurId = java.lang.String@325093136 (0x13608710)
|   mCurMethod = com.android.internal.view.IInputMethodSession$Stub$Proxy@320241584 (0x13167fb0)
|   mCurRootView = com.android.internal.policy.DecorView@318226432 (0x12f7c000)
|   mCurSender = null
|   mCurrentTextBoxAttribute = android.view.inputmethod.EditorInfo@315620944 (0x12cffe50)
|   mCursorAnchorInfo = null
|   mCursorCandEnd = -1
|   mCursorCandStart = -1
|   mCursorRect = android.graphics.Rect@319594632 (0x130ca088)
|   mCursorSelEnd = 5
|   mCursorSelStart = 5
|   mDummyInputConnection = android.view.inputmethod.BaseInputConnection@314842112 (0x12c41c00)
|   mFullscreenMode = false
|   mH = android.view.inputmethod.InputMethodManager$H@314842080 (0x12c41be0)
|   mHasBeenInactive = false
|   mIInputContext = android.view.inputmethod.InputMethodManager$ControlledInputConnectionWrapper@316656488 (0x12dfcb68)
|   mInTransition = true
|   mLastSentUserActionNotificationSequenceNumber = 3
|   mLastSrvView = android.support.design.widget.TextInputEditText@324242432 (0x13538c00)
|   mMainLooper = android.os.Looper@314729728 (0x12c26500)
|   mNextServedView = com.ognev.kotlin.agendacalendarview.calendar.weekslist.WeekListView@316640256 (0x12df8c00)
|   mNextUserActionNotificationSequenceNumber = 3
|   mPendingEventPool = android.util.Pools$SimplePool@314603376 (0x12c07770)
|   mPendingEvents = android.util.SparseArray@319594680 (0x130ca0b8)
|   mRequestUpdateCursorAnchorInfoMonitorMode = 0
|   mSecImmHelper = huawei.android.view.inputmethod.HwSecImmHelper@314603360 (0x12c07760)
|   mServedConnecting = false
|   mServedInputConnectionWrapper = null
|   mServedView = com.ognev.kotlin.agendacalendarview.calendar.weekslist.WeekListView@316640256 (0x12df8c00)
|   mService = com.android.internal.view.IInputMethodManager$Stub$Proxy@314603392 (0x12c07780)
|   mTmpCursorRect = android.graphics.Rect@319221712 (0x1306efd0)
|   shadow$_klass_ = android.view.inputmethod.InputMethodManager
|   shadow$_monitor_ = 0
* Instance of android.support.design.widget.TextInputEditText
|   static $classOverhead = byte[8536]@324091905 (0x13514001)
|   mBackgroundTintHelper = android.support.v7.widget.AppCompatBackgroundHelper@321763200 (0x132db780)
|   mTextHelper = android.support.v7.widget.AppCompatTextHelperV17@320848608 (0x131fc2e0)
|   lastZorder = 0
|   mAllowTransformationLengthChange = false
|   mAutoLinkMask = 0
|   mBoring = null
|   mBreakStrategy = 0
|   mBufferType = android.widget.TextView$BufferType@1892099976 (0x70c72788)
|   mChangeWatcher = android.widget.TextView$ChangeWatcher@320737056 (0x131e0f20)
|   mCharWrapper = null
|   mCurHintTextColor = 1627389952
|   mCurTextColor = -570425344
|   mCurrentSpellCheckerLocaleCache = null
|   mCursorDrawableRes = 17303385
|   mDeferScroll = -1
|   mDesiredHeightAtMeasure = 136
|   mDeviceProvisionedState = 0
|   mDrawables = null
|   mEditableFactory = android.text.Editable$Factory@1892092712 (0x70c70b28)
|   mEditor = huawei.com.android.internal.widget.HwEditor@318094336 (0x12f5bc00)
|   mEllipsize = null
|   mFilters = android.text.InputFilter[0]@2011342184 (0x77e2a568)
|   mFreezesText = false
|   mGravity = 8388627
|   mHighlightColor = 1711314568
|   mHighlightPaint = android.graphics.Paint@320591544 (0x131bd6b8)
|   mHighlightPath = android.graphics.Path@322117504 (0x13331f80)
|   mHighlightPathBogus = false
|   mHint = null
|   mHintBoring = null
|   mHintLayout = null
|   mHintTextColor = android.content.res.ColorStateList@320556136 (0x131b4c68)
|   mHorizontallyScrolling = true
|   mHwCompoundPaddingLeft = 0
|   mHwTextView = com.huawei.android.hwcontrol.TextViewFactory@320735920 (0x131e0ab0)
|   mHyphenationFrequency = 1
|   mIncludePad = true
|   mLastLayoutDirection = -1
|   mLastNSDDrawCursorTime = 0
|   mLastNSDDrawRet = true
|   mLastScroll = 0
|   mLayout = android.text.DynamicLayout@324694888 (0x135a7368)
|   mLinkTextColor = android.content.res.ColorStateList@320556296 (0x131b4d08)
|   mLinksClickable = true
|   mListeners = java.util.ArrayList@321211696 (0x13254d30)
|   mLocalesChanged = false
|   mMarquee = null
|   mMarqueeFadeMode = 0
|   mMarqueeRepeatLimit = 3
|   mMaxMode = 1
|   mMaxWidth = 2147483647
|   mMaxWidthMode = 2
|   mMaximum = 1
|   mMinMode = 1
|   mMinWidth = 0
|   mMinWidthMode = 2
|   mMinimum = 1
|   mMovement = android.text.method.ArrowKeyMovementMethod@314749440 (0x12c2b200)
|   mNSDRefreshTimes = 0
|   mOldMaxMode = 1
|   mOldMaximum = 1
|   mPreDrawListenerDetached = false
|   mPreDrawRegistered = false
|   mPreventDefaultMovement = false
|   mRestartMarquee = false
|   mSavedHintLayout = null
|   mSavedLayout = null
|   mSavedMarqueeModeLayout = null
|   mScroller = null
|   mSelectAllAndShowEditorDone = false
|   mShadowColor = 0
|   mShadowDx = 0.0
|   mShadowDy = 0.0
|   mShadowRadius = 0.0
|   mSingleLine = true
|   mSoftwareBold = false
|   mSpacingAdd = 0.0
|   mSpacingMult = 1.0
|   mSpannableFactory = android.text.Spannable$Factory@1892092736 (0x70c70b40)
|   mStyle = 0
|   mTempRect = android.graphics.Rect@323595976 (0x1349aec8)
|   mText = android.text.SpannableStringBuilder@318210704 (0x12f78290)
|   mTextColor = android.content.res.ColorStateList@2011479232 (0x77e4bcc0)
|   mTextDir = android.text.TextDirectionHeuristics$TextDirectionHeuristicInternal@1892099408 (0x70c72550)
|   mTextEditSuggestionContainerLayout = 17367286
|   mTextEditSuggestionHighlightStyle = 16974922
|   mTextEditSuggestionItemLayout = 17367288
|   mTextPaint = android.text.TextPaint@318371984 (0x12f9f890)
|   mTextSelectHandleLeftRes = 17303390
|   mTextSelectHandleRes = 17303393
|   mTextSelectHandleRightRes = 17303396
|   mTextViewDirection = 1
|   mTransformation = android.text.method.SingleLineTransformationMethod@314580224 (0x12c01d00)
|   mTransformed = android.text.method.ReplacementTransformationMethod$SpannedReplacementCharSequence@321211960 (0x13254e38)
|   mTrySelectAllAndShowEditor = false
|   mUserSetTextScaleX = false
|   mValidSetCursorEvent = false
|   textCopyFinishedListener = null
|   mAccessibilityCursorPosition = -1
|   mAccessibilityDelegate = null
|   mAccessibilityTraversalAfterId = -1
|   mAccessibilityTraversalBeforeId = -1
|   mAccessibilityViewId = -1
|   mAnimator = null
|   mAttachInfo = null
|   mAttributes = null
|   mBackground = android.graphics.drawable.InsetDrawable@320531864 (0x131aed98)
|   mBackgroundRenderNode = android.view.RenderNode@323596096 (0x1349af40)
|   mBackgroundResource = 0
|   mBackgroundSizeChanged = false
|   mBackgroundTint = null
|   mBottom = 136
|   mCachingFailed = false
|   mCanTouchInOtherThread = false
|   mClipBounds = null
|   mContentDescription = null
|   mContext = pl.edu.zut.mad.schedule.login.LoginActivity@317325040 (0x12e9fef0)
|   mCurrentAnimation = null
|   mDrawableState = int[3]@1881525968 (0x7025ced0)
|   mDrawingCache = null
|   mDrawingCacheBackgroundColor = 0
|   mFloatingTreeObserver = null
|   mForceRTL = false
|   mForegroundInfo = null
|   mFrameMetricsObservers = null
|   mGhostView = null
|   mHasPerformedLongPress = false
|   mHwStateListAnimator = null
|   mID = 2131296291
|   mIgnoreNextUpEvent = false
|   mInContextButtonPress = false
|   mInputEventConsistencyVerifier = null
|   mKeyedTags = null
|   mLabelForId = -1
|   mLastIsOpaque = false
|   mLayerPaint = null
|   mLayerType = 0
|   mLayoutInsets = null
|   mLayoutParams = android.widget.FrameLayout$LayoutParams@320530408 (0x131ae7e8)
|   mLeft = 0
|   mLeftPaddingDefined = false
|   mListenerInfo = null
|   mLongClickX = NaN
|   mLongClickY = NaN
|   mMatchIdPredicate = null
|   mMatchLabelForPredicate = null
|   mMeasureCache = android.util.LongSparseLongArray@323594248 (0x1349a808)
|   mMeasuredHeight = 136
|   mMeasuredWidth = 888
|   mMinHeight = 0
|   mMinWidth = 0
|   mNestedScrollingParent = null
|   mNextFocusDownId = -1
|   mNextFocusForwardId = -1
|   mNextFocusLeftId = -1
|   mNextFocusRightId = -1
|   mNextFocusUpId = -1
|   mOldHeightMeasureSpec = 915
|   mOldWidthMeasureSpec = 1073742712
|   mOutlineProvider = android.view.ViewOutlineProvider$1@1892092952 (0x70c70c18)
|   mOverScrollMode = 1
|   mOverlay = null
|   mPaddingBottom = 33
|   mPaddingLeft = 12
|   mPaddingRight = 12
|   mPaddingTop = 30
|   mParent = android.widget.FrameLayout@324235264 (0x13537000)
|   mPendingCheckForLongPress = null
|   mPendingCheckForTap = null
|   mPerformClick = null
|   mPointerIcon = null
|   mPrivateFlags = -2128607182
|   mPrivateFlags2 = 538125864
|   mPrivateFlags3 = 16
|   mRecreateDisplayList = false
|   mRenderNode = android.view.RenderNode@321067640 (0x13231a78)
|   mResources = android.content.res.HwResources@323398096 (0x1346a9d0)
|   mRight = 888
|   mRightPaddingDefined = false
|   mRunQueue = android.view.HandlerActionQueue@322522272 (0x13394ca0)
|   mScrollCache = null
|   mScrollIndicatorDrawable = null
|   mScrollX = 0
|   mScrollY = 0
|   mSendViewScrolledAccessibilityEvent = null
|   mSendViewStateChangedAccessibilityEvent = null
|   mSendingHoverAccessibilityEvents = false
|   mStartActivityRequestWho = null
|   mStateListAnimator = null
|   mSystemUiVisibility = 0
|   mTag = null
|   mTempNestedScrollConsumed = null
|   mTop = 0
|   mTouchDelegate = null
|   mTouchSlop = 24
|   mTransformationInfo = android.view.View$TransformationInfo@323595208 (0x1349abc8)
|   mTransientStateCount = 0
|   mTransitionName = null
|   mUnscaledDrawingCache = null
|   mUnsetPressedState = null
|   mUserPaddingBottom = 33
|   mUserPaddingEnd = -2147483648
|   mUserPaddingLeft = 12
|   mUserPaddingLeftInitial = 12
|   mUserPaddingRight = 12
|   mUserPaddingRightInitial = 12
|   mUserPaddingStart = -2147483648
|   mVerticalScrollFactor = 0.0
|   mVerticalScrollbarPosition = 0
|   mViewCheckedResult = 1
|   mViewFlags = 405028865
|   mWindowAttachCount = 1
|   shadow$_klass_ = android.support.design.widget.TextInputEditText
|   shadow$_monitor_ = 0
* Instance of pl.edu.zut.mad.schedule.login.LoginActivity
|   static serialVersionUID = 4706349865156694993
|   static Companion = pl.edu.zut.mad.schedule.login.LoginActivity$Companion@314749368 (0x12c2b1b8)
|   static $change = null
|   static ALBUM_NUMBER_KEY = java.lang.String@314967232 (0x12c604c0)
|   static $classOverhead = byte[4568]@316284929 (0x12da2001)
|   _$_findViewCache = java.util.HashMap@322299752 (0x1335e768)
|   presenter = pl.edu.zut.mad.schedule.login.LoginPresenter@322299712 (0x1335e740)
|   mDelegate = android.support.v7.app.AppCompatDelegateImplN@318904784 (0x130219d0)
|   mResources = null
|   mThemeId = 2131820719
|   mCreated = true
|   mFragments = android.support.v4.app.FragmentController@323741328 (0x134be690)
|   mHandler = android.support.v4.app.FragmentActivity$1@320886112 (0x13205560)
|   mNextCandidateRequestIndex = 0
|   mPendingFragmentActivityResults = android.support.v4.util.SparseArrayCompat@320571280 (0x131b8790)
|   mReallyStopped = true
|   mRequestedPermissionsFromFragment = false
|   mResumed = false
|   mRetaining = false
|   mStopped = true
|   mStartedActivityFromFragment = false
|   mStartedIntentSenderFromFragment = false
|   mExtraDataMap = android.support.v4.util.SimpleArrayMap@320570368 (0x131b8400)
|   mLifecycleRegistry = android.arch.lifecycle.LifecycleRegistry@320886592 (0x13205740)
|   mActionBar = null
|   mActionModeTypeStarting = 0
|   mActivityInfo = android.content.pm.ActivityInfo@318903632 (0x13021550)
|   mActivityTransitionState = android.app.ActivityTransitionState@320254968 (0x1316b3f8)
|   mApplication = pl.edu.zut.mad.appzut.ZutApp@314983520 (0x12c64460)
|   mCalled = true
|   mChangeCanvasToTranslucent = false
|   mChangingConfigurations = false
|   mComponent = android.content.ComponentName@319172688 (0x13063050)
|   mConfigChangeFlags = 0
|   mCurrentConfig = android.content.res.Configuration@323286488 (0x1344f5d8)
|   mCustActivity = android.app.HwCustActivityImpl@320570344 (0x131b83e8)
|   mDecor = null
|   mDefaultKeyMode = 0
|   mDefaultKeySsb = null
|   mDestroyed = true
|   mDoReportFullyDrawn = false
|   mEatKeyUpEvent = false
|   mEmbeddedID = null
|   mEnableDefaultActionBarUp = false
|   mEnterTransitionListener = android.app.SharedElementCallback$1@1892094512 (0x70c71230)
|   mExitTransitionListener = android.app.SharedElementCallback$1@1892094512 (0x70c71230)
|   mFinished = true
|   mFragments = android.app.FragmentController@323741472 (0x134be720)
|   mHandler = android.os.Handler@320886656 (0x13205780)
|   mHasCurrentPermissionsRequest = false
|   mIdent = 112174690
|   mInstanceTracker = android.os.StrictMode$InstanceTracker@323741456 (0x134be710)
|   mInstrumentation = android.app.Instrumentation@314962488 (0x12c5f238)
|   mIntent = android.content.Intent@323706816 (0x134b5fc0)
|   mIsFullFlag = false
|   mLastNonConfigurationInstances = null
|   mMainThread = android.app.ActivityThread@314769760 (0x12c30160)
|   mManagedCursors = java.util.ArrayList@320570248 (0x131b8388)
|   mManagedDialogs = null
|   mMenuInflater = null
|   mParent = null
|   mReferrer = java.lang.String@320359720 (0x13184d28)
|   mResultCode = -1
|   mResultData = null
|   mResumed = false
|   mSearchEvent = null
|   mSearchManager = null
|   mStartedActivity = false
|   mStopped = true
|   mTaskDescription = android.app.ActivityManager$TaskDescription@320886624 (0x13205760)
|   mTemporaryPause = false
|   mTitle = java.lang.String@317646176 (0x12eee560)
|   mTitleColor = 0
|   mTitleReady = true
|   mToken = android.os.BinderProxy@321052608 (0x1322dfc0)
|   mTranslucentCallback = null
|   mUiThread = java.lang.Thread@2011139088 (0x77df8c10)
|   mVisibleBehind = false
|   mVisibleFromClient = true
|   mVisibleFromServer = true
|   mVoiceInteractor = null
|   mWindow = com.android.internal.policy.HwPhoneWindow@318012640 (0x12f47ce0)
|   mWindowAdded = true
|   mWindowManager = android.view.WindowManagerImpl@320885024 (0x13205120)
|   mInflater = com.android.internal.policy.HwPhoneLayoutInflater@323397904 (0x1346a910)
|   mOverrideConfiguration = null
|   mResources = android.content.res.HwResources@323398096 (0x1346a9d0)
|   mTheme = android.content.res.Resources$Theme@323741072 (0x134be590)
|   mThemeResource = 2131820719
|   mBase = android.app.ContextImpl@318028816 (0x12f4bc10)
|   shadow$_klass_ = pl.edu.zut.mad.schedule.login.LoginActivity
|   shadow$_monitor_ = 1073743594
* Excluded Refs:
| Field: android.view.inputmethod.InputMethodManager.mNextServedView
| Field: android.view.inputmethod.InputMethodManager.mServedView
| Field: android.view.inputmethod.InputMethodManager.mServedInputConnection
| Field: android.view.textservice.SpellCheckerSession$1.this$0
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Static field: android.gestureboost.GestureBoostManager.mContext
| 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)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions