Skip to content

ANR in MainActivity when handling multiple PopupWindow events during stress testing #4525

@LuMeng425

Description

@LuMeng425

Describe the bug
The app encounters a recurring Application Not Responding (ANR) error in MainActivity. It appears the UI thread hangs while dispatching input events related to PopupWindow during high-frequency interactions.

To Reproduce
Steps to reproduce the behavior:

  1. Open Amaze v3.11.1 on an Android 11 emulator.
  2. Perform rapid UI interactions (random clicks and swipes) specifically around the main file list to trigger popup menus.
  3. Continue the stress test for several hundred events.
  4. The app will freeze.

Expected behavior
The app should handle rapid input events gracefully and the main thread should remain responsive even under stress.

Screenshots
Image

Image

Smartphone (please complete the following information):

  • Device: Android Emulator (Pixel 5)
  • OS: Android 11.0 (API 30)
  • Rooted: No
  • Version: v3.11.1

Additional context
This issue was identified during automated stability testing using the Kea2 (Fastbot-based) fuzzing tool.

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