element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 731 forks source link

ANR/Critical freeze after using Element Android for about 30 minutes #6778

Open lcfork opened 2 years ago

lcfork commented 2 years ago

Steps to reproduce

To reproduce the bug:

  1. Android 11/12/13, Stock Android (or stock-like) required
  2. Element installed (any versions are okay.)

Keep using your phone for 30mins-1.5h, your phone will started to freeze. If worse, your phone will hard reset and you can't boot the phone up, you will need to uninstall Element in Safe Mode.

If you're on Pixel 6 series, these conditions can make the bug worse:

  1. You're using Simplified Chinese and using a Chinese Mainland SIM
  2. You have Magisk installed on your phone

Keep using your Pixel 6 (Pro), your phone will start to hard reset and reboot again and again.

Outcome

What did you expect?

Using Element normally

What happened instead?

THE WHOLE SYSTEM FROZE

Your phone model

Mi 10 and Pixel 6 Pro

Operating system version

Android 12L on Mi 10 (China Edition) and Android 13 Beta 4 on Pixel 6 Pro (USA Edition)

Application version and app store

From Element Android v1.4.4 to 1.4.31

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

Yes

lcfork commented 2 years ago

log-2022-08-09-16-40.txt

Here's the log :)