Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Frequent ANRs "Input dispatching timed out" (also occurs on Neo Backup) #664

Open
e-t-l opened this issue Oct 6, 2024 · 0 comments

Comments

@e-t-l
Copy link

e-t-l commented Oct 6, 2024

Describe the bug
Neo Store randomly crashes when launching or when trying to install/update an app (crash report pasted below). The same crash (with the ERROR: ANR Input dispatching timed out) often happens with Neo Backup too, which makes me suspect that it's an issue with some library or framework they both utilize.

I can create a separate bug report in the NB repo if you prefer, too.

To Reproduce
Not sure, happens randomly

Expected behavior
No random app crashes

Logs

type: ANR
osVersion: google/husky/husky:14/AP2A.240905.003/2024092900:user/release-keys
package: com.machiav3lli.fdroid:1017
process: com.machiav3lli.fdroid
installer: com.android.packageinstaller

activity: com.machiav3lli.fdroid/.NeoActivity
cause: ANR Input dispatching timed out (cce3160 com.machiav3lli.fdroid/com.machiav3lli.fdroid.NeoActivity (server) is not responding. Waited 5001ms for MotionEvent).
info: ANR in com.machiav3lli.fdroid (com.machiav3lli.fdroid/.NeoActivity)
PID: 26238
Reason: Input dispatching timed out (cce3160 com.machiav3lli.fdroid/com.machiav3lli.fdroid.NeoActivity (server) is not responding. Waited 5001ms for MotionEvent).
Parent: com.machiav3lli.fdroid/.NeoActivity
ErrorId: e66346c7-15c3-4a0f-895c-09a6290e8010
Frozen: false
Timestamp: 2024-10-06 13:53:32.828-0700
Load: 10.05 / 7.18 / 7.02
----- Output from /proc/pressure/memory -----
some avg10=1.02 avg60=0.30 avg300=0.08 total=131709019
full avg10=1.02 avg60=0.30 avg300=0.08 total=100728169
----- End output from /proc/pressure/memory -----
----- Output from /proc/pressure/cpu -----
some avg10=29.56 avg60=25.56 avg300=24.62 total=41344345416
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
----- End output from /proc/pressure/cpu -----
----- Output from /proc/pressure/io -----
some avg10=0.00 avg60=0.04 avg300=0.01 total=102547274
full avg10=0.00 avg60=0.03 avg300=0.01 total=53787584
----- End output from /proc/pressure/io -----

CPU usage from 2ms to 8307ms later (2024-10-06 13:53:32.837 to 2024-10-06 13:53:41.142):
  208% 26238/com.machiav3lli.fdroid: 130% user + 78% kernel / faults: 78168 minor 2046 major
  129% 17673/org.torproject.android: 69% user + 60% kernel / faults: 42248 minor 5347 major
  85% 1581/system_server: 48% user + 36% kernel / faults: 45049 minor 1396 major
  18% 4400/ninja.sesame.app.edge: 11% user + 7.7% kernel / faults: 41614 minor 254 major
  15% 2182/com.android.systemui: 8.4% user + 7.4% kernel / faults: 18985 minor 692 major
  13% 920/android.hardware.sensors-service.multihal: 5.4% user + 8.5% kernel
  9.6% 565/surfaceflinger: 5.3% user + 4.3% kernel / faults: 53 minor
  9.2% 27558/com.teslacoilsw.launcher: 6% user + 3.1% kernel / faults: 4466 minor 1088 major
  8.3% 5305/com.kieronquinn.app.taptap: 4.3% user + 3.9% kernel / faults: 3067 minor 2353 major
  0% 23036/com.android.permissioncontroller: 0% user + 0% kernel / faults: 4217 minor 2331 major
79% TOTAL: 42% user + 31% kernel + 0.2% iowait + 3.9% irq + 0.6% softirq
CPU usage from 110ms to 895ms later (2024-10-06 13:53:32.946 to 2024-10-06 13:53:33.731):
  246% 26705/dex2oat64: 231% user + 14% kernel / faults: 788 minor
    68% 26711/Compiler driver: 64% user + 4.9% kernel
    56% 26707/Compiler driver: 54% user + 2.4% kernel
    46% 26708/Compiler driver: 44% user + 2.4% kernel
    36% 26710/Compiler driver: 34% user + 2.4% kernel
    22% 26709/Compiler driver: 19% user + 2.4% kernel
    14% 26705/dex2oat: 12% user + 2.4% kernel
  180% 26238/com.machiav3lli.fdroid: 93% user + 86% kernel / faults: 1809 minor 1 major
    86% 26322/arch_disk_io_1: 52% user + 33% kernel
    84% 26512/DefaultDispatch: 36% user + 48% kernel
    14% 26274/Signal Catcher: 7.2% user + 7.2% kernel
  107% 1581/system_server: 42% user + 64% kernel / faults: 4624 minor 722 major
    44% 1626/Signal Catcher: 25% user + 19% kernel
    33% 26714/AnrAuxiliaryTas: 8.9% user + 25% kernel
    10% 2005/SensorService: 5.3% user + 5.3% kernel
    1.7% 1581/system_server: 1.7% user + 0% kernel
    1.7% 1628/system_server: 0% user + 1.7% kernel
    1.7% 1724/batterystats-ha: 1.7% user + 0% kernel
    1.7% 2090/ConnectivitySer: 0% user + 1.7% kernel
    1.7% 3131/PowerStatsServi: 1.7% user + 0% kernel
    1.7% 4699/binder:1581_10: 1.7% user + 0% kernel
    1.7% 22713/InsetsAnimation: 1.7% user + 0% kernel
    1.7% 26713/AnrConsumer: 0% user + 1.7% kernel
  115% 17673/org.torproject.android: 51% user + 64% kernel
    24% 17845/project.android: 11% user + 13% kernel
    22% 17858/project.android: 11% user + 11% kernel
    20% 17857/project.android: 11% user + 8.8% kernel
    15% 17849/project.android: 8.8% user + 6.6% kernel
    13% 17827/project.android: 6.6% user + 6.6% kernel
    8.8% 17831/project.android: 4.4% user + 4.4% kernel
    8.8% 17852/project.android: 6.6% user + 2.2% kernel
  15% 920/android.hardware.sensors-service.multihal: 5.1% user + 10% kernel
    5.1% 943/android.hardwar: 3.4% user + 1.7% kernel
    5.1% 1349/UsfTransport: 1.7% user + 3.4% kernel
    1.7% 942/UsfHalWorker: 0% user + 1.7% kernel
    1.7% 1782/DisplayInfo: 0% user + 1.7% kernel
  10% 7522/kworker/u18:12+cp2ap_wakeup_wq: 0% user + 10% kernel
  2.9% 510/sugov:0: 0% user + 2.9% kernel
  3.5% 1348/com.google.usf.: 0% user + 3.5% kernel
  3.9% 5305/com.kieronquinn.app.taptap: 1.9% user + 1.9% kernel / faults: 28 minor
    5.9% 5305/binder:5305_5: 1.9% user + 3.9% kernel
  1.3% 82/rcuop/7: 0% user + 1.3% kernel
  1.4% 277/decon0_kthread: 0% user + 1.4% kernel
  1.4% 511/sugov:4: 0% user + 1.4% kernel
  1.4% 512/sugov:8: 0% user + 1.4% kernel
  1.5% 660/android.hardware.power-service.pixel-libperfmgr: 0% user + 1.5% kernel
    1.5% 660/android.hardwar: 1.5% user + 0% kernel
  1.8% 2182/com.android.systemui: 0% user + 1.8% kernel / faults: 12 minor
  2.1% 10410/com.drdisagree.colorblendr: 0% user + 2.1% kernel / faults: 1 minor
    4.3% 10410/ree.colorblendr: 2.1% user + 2.1% kernel
  2.2% 18669/kworker/u19:2-ufs_clk_gating_0: 0% user + 2.2% kernel
  2.2% 22794/kworker/6:1H-kverityd: 0% user + 2.2% kernel
86% TOTAL: 57% user + 25% kernel + 0.1% iowait + 2.9% irq + 0.2% softirq

Relevant information:

  • Device: Google Pixel 8 Pro
  • Android Version: 14
  • ROM: AOSP
  • App's Version: 1.0.5 (Neo Backup v8.3.8)
  • Disabled battery optimization for Neo Store? Yes
  • What is your selected installer? Root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant