Android Crashing v2.7.1.1

Hi Anyone.

I need help.
After upgrading DHIS2 to 2.38.2.1-SNAPSHOT and also updating android version to 2.7.1.1, TEI causes crashing while loading. Find below the message.

Abumere

ANR in com.dhis2.debug (com.dhis2.debug/org.dhis2.usescases.searchTrackEntity.SearchTEActivity)
PID: 10261
Reason: Input dispatching timed out (338d6e com.dhis2.debug/org.dhis2.usescases.searchTrackEntity.SearchTEActivity (server) is not responding. Waited 10005ms for FocusEvent(hasFocus=false))
Parent: com.dhis2.debug/org.dhis2.usescases.searchTrackEntity.SearchTEActivity
Frozen: false
Load: 4.5 / 3.29 / 3.33
------ Current CPU Core Info ------
- offline :
- online : 0-7
0 1 2 3 4 5 6 7
------------------------------------------------------------------------------------------------------------------
scaling_cur_freq 1804800 1804800 1804800 1804800 1804800 1804800 1804800 1804800
scaling_governor schedutil schedutil schedutil schedutil schedutil schedutil schedutil schedutil
scaling_max_freq 1804800 1804800 1804800 1804800 1804800 1804800 1804800 1804800
------------------------------------------------------------------------------------------------------------------
----- Output from /proc/pressure/memory -----
some avg10=0.87 avg60=1.28 avg300=0.56 total=335167953
full avg10=0.46 avg60=0.71 avg300=0.31 total=175917537
----- End output from /proc/pressure/memory -----

                                                                                                CPU usage from 2920ms to -9820ms ago (2023-03-07 14:25:37.506 to 2023-03-07 14:25:50.245):
                                                                                                  127% 10261/com.dhis2.debug: 117% user + 9.1% kernel / faults: 56979 minor 269 major
                                                                                                  46% 1813/system_server: 33% user + 13% kernel / faults: 20721 minor 985 major
                                                                                                  17% 2322/com.android.systemui: 13% user + 4.5% kernel / faults: 15917 minor 554 major
                                                                                                  15% 136/kswapd0: 0% user + 15% kernel
                                                                                                  8.2% 17562/com.zhiliaoapp.musically: 7.4% user + 0.7% kernel / faults: 11075 minor 1 major
                                                                                                  7.6% 15607/adbd: 2.4% user + 5.2% kernel / faults: 550 minor 3 major
                                                                                                  5.3% 1301/media.swcodec: 3.6% user + 1.7% kernel / faults: 12231 minor 169 major
                                                                                                  5.1% 382/mmc-cmdqd/0: 0% user + 5.1% kernel
                                                                                                  4.8% 1235/media.codec: 3.6% user + 1.2% kernel / faults: 13111 minor 142 major
                                                                                                  3.8% 2690/com.sec.imsservice: 2.8% user + 1% kernel / faults: 4480 minor 1145 major
                                                                                                  2.5% 2280/com.android.phone: 1.8% user + 0.7% kernel / faults: 4039 minor 569 major
                                                                                                  2.5% 4562/com.samsung.android.honeyboard: 1.6% user + 0.9% kernel / faults: 2818 minor 2099 major
                                                                                                  2% 1208/mediaserver: 1% user + 1% kernel / faults: 844 minor 75 major
                                                                                                  2% 18699/kworker/u16:38: 0% user + 2% kernel
                                                                                                  1.9% 4177/com.sec.android.sdhms: 1.5% user + 0.3% kernel / faults: 3969 minor 816 major
                                                                                                  1.8% 3624/com.google.android.gms: 1% user + 0.8% kernel / faults: 1270 minor 146 major
                                                                                                  1.8% 18695/kworker/u16:34: 0% user + 1.8% kernel
                                                                                                  1.7% 986/android.hardware.sensors@1.0-service: 0.6% user + 1% kernel / faults: 105 minor
                                                                                                  1.7% 18526/kworker/u17:0: 0% user + 1.7% kernel
                                                                                                  1.7% 18697/kworker/u16:36: 0% user + 1.7% kernel
                                                                                                  1.6% 1200/media.extractor: 1.1% user + 0.4% kernel / faults: 4298 minor 150 major
                                                                                                  1.5% 2652/com.google.android.gms.persistent: 1% user + 0.5% kernel / faults: 709 minor 45 major
                                                                                                  1.4% 31790/kworker/u16:7: 0% user + 1.4% kernel
                                                                                                  1.3% 4163/com.sec.android.diagmonagent: 1.1% user + 0.1% kernel / faults: 3471 minor 628 major
                                                                                                  1.2% 1048/audioserver: 0.9% user + 0.3% kernel / faults: 796 minor 96 major
                                                                                                  1.2% 2410/com.android.networkstack.process: 0.9% user + 0.3% kernel / faults: 2795 minor 794 major
                                                                                                  0% 2685/com.sec.sve: 0% user + 0% kernel / faults: 2612 minor 915 major
                                                                                                  0% 2666/.qtidataservices: 0% user + 0% kernel / faults: 3327 minor 867 major
                                                                                                  0.9% 564/logd: 0.3% user + 0.6% kernel / faults: 99 minor 4 major
                                                                                                  0% 2713/com.android.se: 0% user + 0% kernel / faults: 2613 minor 713 major
                                                                                                  0.8% 17875/com.zhiliaoapp.musically:push: 0.7% user + 0% kernel / faults: 2643 minor
                                                                                                  0.7% 18850/com.samsung.android.game.gos: 0.3% user + 0.3% kernel / faults: 3489 minor 1 major
                                                                                                  0.7% 23492/kworker/u17:1: 0% user + 0.7% kernel

Hi @Abumere_Ejakhegbe

Are you still facing an issue over this?

It’s better not to use SNAPSHOT. Please downgrade to 2.38.2.1 and check if you’re still facing an issue.

Additionally, this guide might help you understand the problem better: Android Troubleshooting (technical guide)

Thanks!

1 Like

Thanks for the response. I will act on this and respond.

1 Like