element-hq / element-hq/element-android

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

Open
#6,778 1 comment 0 reactions 0 assignees View on GitHub
A-Performance O-Occasional S-Major T-Defect Z-ANR
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.