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

Crash on long click action while AM has not finished the process #1422

Open
3 tasks done
shuvashish76 opened this issue Aug 2, 2024 · 1 comment
Open
3 tasks done
Labels
Bug Something isn't working

Comments

@shuvashish76
Copy link

Please check before submitting an issue

  • I know what my device, OS and App Manager versions are
  • I know how to take logs
  • I know how to reproduce the issue which may not be specific to my device

Describe the bug

AM crashes while touched window has not finished processing certain input events

To Reproduce

  1. Open App info > long click on package name to copy it.
  2. While AM processing in background to show details, quickly open another app from device recents

App crashes.

Expected behavior

Process it in background without crash and show the window when you reopen AM

Screenshots

No response

Logs

ANR in io.github.muntashirakon.AppManager.debug (io.github.muntashirakon.AppManager.debug/io.github.muntashirakon.AppManager.details.AppDetailsActivity)
PID: 25219
Reason: Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it.  Outbound queue length: 0.  Wait queue length: 1.)
Load: 7.53 / 7.03 / 6.52
CPU usage from 0ms to 5385ms later (2024-08-02 11:35:29.623 to 2024-08-02 11:35:35.008):
  82% 25219/io.github.muntashirakon.AppManager.debug: 72% user + 10% kernel / faults: 12351 minor 8 major
  60% 1607/system_server: 36% user + 23% kernel / faults: 20652 minor 5 major
  14% 1847/com.android.systemui: 9.8% user + 5% kernel / faults: 4291 minor 7 major
  13% 3401/com.f0x1d.logfox: 10% user + 2.8% kernel / faults: 4600 minor 8 major
  5.4% 2600/com.android.launcher3: 4.2% user + 1.1% kernel / faults: 3147 minor 3 major
  10% 550/surfaceflinger: 6.5% user + 4.1% kernel / faults: 866 minor
  4.8% 2548/com.fb.fluid: 3.5% user + 1.3% kernel / faults: 3560 minor 264 major
  0.2% 790/media.codec: 0.1% user + 0% kernel / faults: 2633 minor
  4.2% 2147/com.android.phone: 2.6% user + 1.6% kernel / faults: 1202 minor 13 major
  3.7% 523/[email protected]: 1.4% user + 2.2% kernel / faults: 21 minor
  1.6% 6754/com.menny.android.anysoftkeyboard: 1.3% user + 0.3% kernel / faults: 2009 minor 10 major
  1.4% 22521/org.cromite.cromite:sandboxed_process31: 0.8% user + 0.6% kernel / faults: 3902 minor 1290 major
  1.3% 2464/com.github.cvzi.screenshottile: 0.9% user + 0.4% kernel / faults: 2482 minor 5 major
  1% 6225/org.cromite.cromite: 0.4% user + 0.5% kernel / faults: 1456 minor 1154 major
  0.1% 2128/.dataservices: 0% user + 0% kernel / faults: 1093 minor 5 major
  0.1% 26803/media.extractor: 0% user + 0% kernel / faults: 1663 minor
  0% 2137/com.qualcomm.qti.telephonyservice: 0% user + 0% kernel / faults: 1034 minor 17 major
  0% 2472/com.android.se: 0% user + 0% kernel / faults: 1087 minor 1 major
  0% 2485/org.lineageos.audiofx: 0% user + 0% kernel / faults: 1004 minor 3 major
  1.4% 244/kgsl_worker_thr: 0% user + 1.4% kernel
  1.4% 436/logd: 0.7% user + 0.7% kernel / faults: 17 minor 2 major
  1.3% 6179/kworker/u16:4: 0% user + 1.3% kernel
  1.3% 21907/kworker/u16:0: 0% user + 1.3% kernel
  1.1% 535/[email protected]: 0.5% user + 0.5% kernel
  0.4% 95/system: 0% user + 0.4% kernel
  0.4% 522/[email protected]: 0% user + 0.4% kernel / faults: 100 minor
  0.9% 22248/mdss_fb0: 0% user + 0.9% kernel
  0.7% 10/rcuop/0: 0% user + 0.7% kernel
  0.5% 1//init: 0.1% user + 0.3% kernel / faults: 54 minor
  0.5% 7/rcu_preempt: 0% user + 0.5% kernel
  0.5% 29/rcuop/2: 0% user + 0.5% kernel
  0.2% 61/rcuop/6: 0% user + 0.2% kernel
  0.5% 7172/logcat: 0.3% user + 0.1% kernel / faults: 3 minor
  0.3% 333/mmc-cmdqd/0: 0% user + 0.3% kernel
  0% 548/audioserver: 0% user + 0% kernel / faults: 153 minor 4 major
  0% 804/tombstoned: 0% user + 0% kernel / faults: 54 minor
  0.1% 23723/kworker/2:2: 0% user + 0.1% kernel
  0% 8/rcu_sched: 0% user + 0% kernel
  0% 11/rcuos/0: 0% user + 0% kernel
  0.1% 21/rcuop/1: 0% user + 0.1% kernel
  0% 69/rcuop/7: 0% user + 0% kernel
  0% 70/rcuos/7: 0% user + 0% kernel
  0.1% 82/kworker/u16:1: 0% user + 0.1% kernel
  0.1% 534/[email protected]: 0% user + 0.1% kernel
  0% 721/jbd2/dm-0-8: 0% user + 0% kernel
  0% 772/cameraserver: 0% user + 0% kernel / faults: 38 minor
  0% 778/mediadrmserver: 0% user + 0% kernel / faults: 103 minor 8 major
  0% 784/mediaserver: 0% user + 0% kernel / faults: 269 minor 15 major
  0.1% 785/netd: 0% user + 0.1% kernel / faults: 70 minor
  0% 786/statsd: 0% user + 0% kernel / faults: 42 minor
  0% 793/rild: 0% user + 0% kernel / faults: 107 minor
  0% 920/ip6tables-restore: 0% user + 0% kernel / faults: 82 minor
  0.1% 947/rild: 0.1% user + 0% kernel / faults: 24 minor
  0.1% 2395/irq/179-408000.: 0% user + 0.1% kernel
  0.1% 2696/s

Device info

  • Device: Lenovo Tab4 8 plus
  • OS Version: 9
  • App Manager Version: 4.0.0-beta01-DEBUG
  • Mode: Root

Additional context

No response

@shuvashish76 shuvashish76 added the Bug Something isn't working label Aug 2, 2024
@shuvashish76
Copy link
Author

shuvashish76 commented Aug 10, 2024

Similar crash while trying to install an app. Intermittent crash.

ANR in io.github.muntashirakon.AppManager.debug (io.github.muntashirakon.AppManager.debug/io.github.muntashirakon.AppManager.details.AppInfoActivity)
PID: 11782
Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
Load: 8.35 / 7.86 / 7.24
CPU usage from 0ms to 18052ms later (2024-08-10 18:59:25.626 to 2024-08-10 18:59:43.678) with 99% awake:
  12% 1606/system_server: 5.9% user + 6.8% kernel / faults: 6423 minor 46 major
  9.3% 11358/org.cromite.cromite:sandboxed_process0: 6.3% user + 3% kernel / faults: 10315 minor 216 major
  8.6% 11325/org.cromite.cromite: 5.9% user + 2.7% kernel / faults: 12329 minor 163 major
  7.5% 3395/com.f0x1d.logfox: 5.8% user + 1.6% kernel / faults: 4668 minor 41 major
  5.3% 11782/io.github.muntashirakon.AppManager.debug: 4.7% user + 0.5% kernel / faults: 7308 minor 37 major
  4% 1841/com.android.systemui: 2.5% user + 1.4% kernel / faults: 5662 minor 20 major
  1.9% 549/surfaceflinger: 1.1% user + 0.7% kernel / faults: 735 minor 2 major
  0.1% 162/kswapd0: 0% user + 0.1% kernel
  1.5% 2126/com.android.phone: 0.9% user + 0.5% kernel / faults: 2665 minor 64 major
  1.4% 534/[email protected]: 0.5% user + 0.9% kernel / faults: 1 minor
  1.3% 14630/kworker/u16:6: 0% user + 1.3% kernel
  1.1% 16662/com.menny.android.anysoftkeyboard: 0.8% user + 0.2% kernel / faults: 3229 minor 10 major
  1% 435/logd: 0.3% user + 0.7% kernel / faults: 39 minor
  1% 6929/kworker/u16:2: 0% user + 1% kernel
  0% 784/media.codec: 0% user + 0% kernel / faults: 1895 minor 6 major
  0.9% 7847/system:ui: 0.4% user + 0.4% kernel / faults: 2239 minor 11 major
  0.1% 4724/zv.usvngmjsth.wjmn: 0% user + 0% kernel / faults: 4985 minor 387 major
  0% 2109/.dataservices: 0% user + 0% kernel / faults: 3090 minor 152 major
  0% 2117/com.qualcomm.qti.telephonyservice: 0% user + 0% kernel / faults: 3283 minor 227 major
  0.5% 522/[email protected]: 0.3% user + 0.2% kernel / faults: 22 minor
  0% 2479/com.android.se: 0% user + 0% kernel / faults: 2953 minor 267 major
  0% 2484/org.lineageos.audiofx: 0% user + 0% kernel / faults: 2342 minor 73 major
  0.4% 333/mmc-cmdqd/0: 0% user + 0.4% kernel
  0.4% 2865/kworker/u16:0: 0% user + 0.4% kernel
  0.4% 29885/kworker/u16:4: 0% user + 0.4% kernel
  0.4% 1//init: 0.1% user + 0.2% kernel / faults: 196 minor
  0% 775/media.extractor: 0% user + 0% kernel / faults: 1555 minor 14 major
  0.3% 10/rcuop/0: 0% user + 0.3% kernel
  0.3% 61/rcuop/6: 0% user + 0.3% kernel
  0.3% 2971/sh: 0.1% user + 0.2% kernel / faults: 1595 minor
  0.2% 7/rcu_preempt: 0% user + 0.2% kernel
  0.2% 29/rcuop/2: 0% user + 0.2% kernel
  0.2% 244/kgsl_worker_thr: 0% user + 0.2% kernel
  0.2% 2546/com.celzero.bravedns: 0.2% user + 0% kernel / faults: 667 minor
  0.2% 2561/com.fb.fluid: 0.1% user + 0.1% kernel / faults: 2333 minor
  0.2% 3421/logcat: 0.1% user + 0.1% kernel
  0.2% 95/system: 0% user + 0.2% kernel
  0% 798/tombstoned: 0% user + 0% kernel / faults: 115 minor 47 major
  0.2% 11391/org.cromite.cromite:privileged_process0: 0.1% user + 0% kernel / faults: 711 minor 36 major
  0.1% 933/msm_irqbalance: 0% user + 0.1% kernel / faults: 5 minor
  0.1% 945/rild: 0.1% user + 0% kernel / faults: 190 minor
  0% 3151/kworker/7:1: 0% user + 0% kernel
  0.1% 3512/libsyncthingnative.so: 0% user + 0.1% kernel / faults: 10 minor
  0.1% 11118/kworker/1:2: 0% user + 0.1% kernel
  0.1% 11/rcuos/0: 0% user + 0.1% kernel
  0.1% 21/rcuop/1: 0% user + 0.1% kernel
  0.1% 37/rcuop/3: 0% user + 0.1% kernel
  0.1% 66/ksoftirqd/7: 0% user + 0.1% kernel
  0.1% 69/rcuop/7: 0% user + 0.1% kernel
  0.1% 327/cfinteractive: 0% user + 0.1% kernel
  0% 547/audioserver: 0% user + 0% kernel / faults: 63 minor 5 major
  0.1% 1872/VosMCThread: 0% user + 0.1% kernel
  0.1% 1874/VosRXThread: 0% user + 0.1% kernel
  0.1% 9643/com.looker.droidify: 0.1% user + 0% kernel / faults: 91 minor
  0% 8/rcu_sched: 0% user + 0% kernel
  0% 18/ksoftirqd/1: 0%
ANR in io.github.muntashirakon.AppManager.debug (io.github.muntashirakon.AppManager.debug/io.github.muntashirakon.AppManager.apk.installer.PackageInstallerActivity)
PID: 15483
Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
Load: 8.45 / 7.49 / 7.2
CPU usage from 38025ms to 0ms ago (2024-08-10 19:04:33.434 to 2024-08-10 19:05:11.458):
  26% 1606/system_server: 20% user + 6.6% kernel / faults: 32521 minor 6 major
  16% 549/surfaceflinger: 9.9% user + 6% kernel / faults: 245 minor
  14% 2546/com.celzero.bravedns: 7.1% user + 7.2% kernel / faults: 420 minor 2 major
  12% 1841/com.android.systemui: 10% user + 2.1% kernel / faults: 4460 minor 2 major
  7.3% 2561/com.fb.fluid: 5.9% user + 1.3% kernel / faults: 4165 minor 3 major
  4.9% 3395/com.f0x1d.logfox: 3.8% user + 1.1% kernel / faults: 3833 minor
  4.8% 2567/fr.neamar.kiss: 4.2% user + 0.5% kernel / faults: 11041 minor 2 major
  3.7% 522/[email protected]: 2.1% user + 1.6% kernel / faults: 3 minor
  3.5% 16662/com.menny.android.anysoftkeyboard: 2.1% user + 1.3% kernel / faults: 1136 minor
  2.3% 1874/VosRXThread: 0% user + 2.3% kernel
  2% 244/kgsl_worker_thr: 0% user + 2% kernel
  1.9% 1873/VosTXThread: 0% user + 1.9% kernel
  1.7% 435/logd: 0.5% user + 1.2% kernel / faults: 13 minor
  1.5% 6929/kworker/u16:2: 0% user + 1.5% kernel
  1.2% 770/installd: 0.2% user + 1% kernel / faults: 1149 minor
  1.1% 2608/com.android.launcher3: 0.8% user + 0.2% kernel / faults: 1809 minor 9 major
  0.9% 534/[email protected]: 0.4% user + 0.5% kernel
  0.9% 30422/mdss_fb0: 0% user + 0.9% kernel
  0.9% 14630/kworker/u16:6: 0% user + 0.9% kernel
  0.8% 2865/kworker/u16:0: 0% user + 0.8% kernel
  0.6% 29885/kworker/u16:4: 0% user + 0.6% kernel
  0.6% 3512/libsyncthingnative.so: 0.3% user + 0.2% kernel / faults: 167 minor 32 major
  0.6% 10/rcuop/0: 0% user + 0.6% kernel
  0.5% 61/rcuop/6: 0% user + 0.5% kernel
  0.4% 7/rcu_preempt: 0% user + 0.4% kernel
  0.4% 29/rcuop/2: 0% user + 0.4% kernel
  0.4% 765/zygote64: 0% user + 0.3% kernel / faults: 1148 minor
  0.3% 333/mmc-cmdqd/0: 0% user + 0.3% kernel
  0.3% 95/system: 0% user + 0.3% kernel
  0.3% 2971/sh: 0.1% user + 0.2% kernel / faults: 3187 minor
  0.3% 3421/logcat: 0.1% user + 0.2% kernel / faults: 4 minor
  0.3% 3465/com.github.catfriend1.syncthingandroid: 0.1% user + 0.1% kernel / faults: 796 minor 9 major
  0.3% 1//init: 0.1% user + 0.2% kernel / faults: 432 minor
  0.3% 2214/android.ext.services: 0.2% user + 0% kernel / faults: 537 minor 1 major
  0.2% 82/kworker/u16:1: 0% user + 0.2% kernel
  0.2% 69/rcuop/7: 0% user + 0.2% kernel
  0.2% 2126/com.android.phone: 0.1% user + 0.1% kernel / faults: 181 minor 4 major
  0.2% 194/hwrng: 0% user + 0.2% kernel
  0% 9705/com.kunzisoft.keepass.libre: 0% user + 0% kernel / faults: 268 minor 74 major
  0.1% 8/rcu_sched: 0% user + 0.1% kernel
  0.1% 11/rcuos/0: 0% user + 0.1% kernel
  0.1% 533/[email protected]: 0% user + 0.1% kernel
  0.1% 929/iptables-restore: 0% user + 0.1% kernel / faults: 210 minor
  0.1% 12322/android.process.acore: 0.1% user + 0% kernel / faults: 243 minor 4 major
  0.1% 21/rcuop/1: 0% user + 0.1% kernel
  0.1% 30/rcuos/2: 0% user + 0.1% kernel
  0.1% 521/[email protected]: 0% user + 0.1% kernel / faults: 82 minor
  0.1% 779/netd: 0% user + 0.1% kernel / faults: 44 minor
  0.1% 930/ip6tables-restore: 0% user + 0.1% kernel / faults: 190 minor
  0% 4185/kworker/7:3: 0% user + 0% kernel
  0.1% 37/rcuop/3: 0% user + 0.1% kernel
  0.1% 62/rcuos/6: 0% user + 0.1% kernel
  0.1% 716/jbd2/dm-0-8: 0% user + 0.1% kernel
  0.1% 945/rild: 0.1% user + 0% kernel / faults: 144 minor
  0.1% 2402/irq/179-408000.: 0% user + 0.1% kernel
  0.1% 9439/kworker/0:0: 0% user + 0.1% kernel
  0% 70/rcuos/7: 0% user + 0% kernel
  0% 436/servicemanager: 0% user + 0% kernel
  0% 466/magiskd: 0% user + 0% kernel / faults: 82 minor
  0% 93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant