Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on May 21, 2026. It is now read-only.
This repository was archived by the owner on May 21, 2026. It is now read-only.

Resource Leak or Mismanagement #713

Open

Description

Please consider making a Pull Request if you are capable of doing so.

App Version:
1.0.0

Affected Device(s):
Google Pixel with Android 11.0

Describe the bug:
Our team is developing a tool that can automatically identify potential resource issues in Android applications.

To detect resource anomalies, we designed five neutral cycles—GUI event sequences that should not increase resource usage:

1 DOC (Double Orientation Change)
2 Home (Return to Home Screen → Resume AUT)
3 Notification (Open Notification Bar → Close Notification Bar)
4 Text (Input Text → Clear Text)
5 Scroll (Swipe Down/Right → Swipe Up/Left)

The first three cycles are designed to trigger 3 main pairs of lifecycle callback functions (i.e., onCreate() and onDestroy(), onStart()/onRestart() and onStop(), onResume() and onPause()), while cycles 4 and 5 are based on UI interaction semantics, covering user input and scrolling scenarios that may also affect resource usage.

If executing a specific neutral cycle 50 times in a given state leads to continuous growth in certain resource metrics, we regard it as a potential resource leak or mismanagement issue that may cause software aging.

The bugs that have been successfully reproduced are uploaded here.

neurolab.zip

There may be some inaccuracies in state recognition, which could lead to duplicate reports. We apologize for any inconvenience this may cause.

Each bug corresponds to one screenshot (A)—the image shows the page where the issue occurs.
Other information is encoded in the image filename as follows:

{ActivityName (B)}_{ExecutedNeutralCycle (C)}_{ResourcesWithContinuousGrowth (D)}

We would greatly appreciate it if the developers could help us verify whether these issues truly exist. Your timely confirmation would be extremely valuable to our research and development efforts.

To Reproduce:
Steps to reproduce the behavior:

  1. Open the Android app under test.
  2. Execute the specified neutral cycle (based on C) 50 times in the indicated activity/state (based on A & B).
  3. Observe the monitored resource metrics (based on D).
  4. Identify whether any metric shows continuous growth.

Expected behavior:
Neutral cycles should not cause resource metrics to continuously increase.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      AltStyle によって変換されたページ (->オリジナル) /