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

Got ANR when share large data curl #1113

Open
rohitjakhar opened this issue Oct 12, 2023 · 2 comments
Open

Got ANR when share large data curl #1113

rohitjakhar opened this issue Oct 12, 2023 · 2 comments

Comments

@rohitjakhar
Copy link

✍️ Describe the bug

When i share large data as curl it give ANR.

💣 Steps to reproduce

  1. Add large data (use dummy data)
  2. Click on curl, then click on share button.
  3. See error

🔧 Expected behavior

ANR in com.cuvora.carinfo (com.cuvora.carinfo/com.chuckerteam.chucker.internal.ui.transaction.TransactionActivity)
                                                                                                    PID: 12368
                                                                                                    Reason: Input dispatching timed out (f32dc54 PopupWindow:c9c609f (server) is not responding. Waited 5006ms for MotionEvent)
                                                                                                    Parent: com.cuvora.carinfo/com.chuckerteam.chucker.internal.ui.transaction.TransactionActivity
                                                                                                    ErrorId: 1149bb33-c42f-4e3a-93bc-f5ab6eab429c
                                                                                                    Frozen: false
                                                                                                    Load: 4.37 / 4.8 / 3.67
                                                                                                    ----- Output from /proc/pressure/memory -----
                                                                                                    some avg10=0.28 avg60=0.66 avg300=0.96 total=2148697586
                                                                                                    full avg10=0.00 avg60=0.16 avg300=0.24 total=579902752
                                                                                                    ----- End output from /proc/pressure/memory -----
                                                                                                    
                                                                                                    CPU usage from 0ms to 9518ms later (2023-10-12 15:06:56.928 to 2023-10-12 15:07:06.447):
                                                                                                    37% TOTAL: 20% user + 13% kernel + 1.1% iowait + 1.4% irq + 0.5% softirq
                                                                                                      103% 12368/com.cuvora.carinfo: 93% user + 10% kernel / faults: 498915 minor 8 major
                                                                                                      18% 126/kswapd-1:0: 0% user + 18% kernel
                                                                                                      17% 4788/kswapd0:1: 0% user + 17% kernel
                                                                                                      15% 1788/system_server: 6.7% user + 8.3% kernel / faults: 4110 minor 1 major
                                                                                                      10% 16932/com.whatsapp.w4b: 6.8% user + 3.2% kernel / faults: 3044 minor 15 major
                                                                                                      5.7% 1288/surfaceflinger: 3.8% user + 1.8% kernel / faults: 869 minor
                                                                                                      5.5% 25227/com.google.android.inputmethod.latin: 3.1% user + 2.4% kernel / faults: 820 minor 8 major
                                                                                                      0.3% 1588/media.swcodec: 0.1% user + 0.1% kernel / faults: 19950 minor
                                                                                                      2.3% 30263/adbd: 0.7% user + 1.5% kernel
                                                                                                      2.2% 18355/kworker/u16:6-devfreq_wq: 0% user + 2.2% kernel
                                                                                                      2.1% 18663/kworker/u16:19-events_unbound: 0% user + 2.1% kernel
                                                                                                      1.8% 638/logd: 0.6% user + 1.2% kernel / faults: 17 minor
                                                                                                      1.8% 8471/com.android.systemui: 1.3% user + 0.5% kernel / faults: 568 minor
                                                                                                      1.4% 1258/vendor.qti.hardware.display.composer-service: 0.6% user + 0.8% kernel / faults: 284 minor
                                                                                                      1.3% 9818/kworker/u16:2-ufs_clkscaling_0: 0% user + 1.3% kernel
                                                                                                      0% 1536/media.extractor: 0% user + 0% kernel / faults: 4292 minor
                                                                                                      0% 1556/media.codec: 0% user + 0% kernel / faults: 4022 minor
                                                                                                      1.1% 11/rcu_preempt: 0% user + 1.1% kernel
                                                                                                      0.9% 32166/com.google.android.gms.persistent: 0.6% user + 0.3% kernel / faults: 237 minor
                                                                                                      0.8% 1130/statsd: 0.5% user + 0.3% kernel / faults: 490 minor
                                                                                                      0% 768/tombstoned: 0% user + 0% kernel
                                                                                                      0.7% 4074/com.android.phone: 0.4% user + 0.3% kernel / faults: 264 minor
                                                                                                      0.6% 26678/logcat: 0.2% user + 0.4% kernel
                                                                                                      0.6% 26726/process-tracker: 0% user + 0.6% kernel
                                                                                                      0.5% 12/rcuog/0: 0% user + 0.5% kernel
                                                                                                      0.5% 4024/org.codeaurora.ims: 0.3% user + 0.2% kernel / faults: 212 minor
                                                                                                      0% 4104/com.qti.qcc: 0% user + 0% kernel / faults: 194 minor
                                                                                                      0.5% 6026/com.motorola.freeform: 0.4% user + 0.1% kernel / faults: 334 minor
                                                                                                      0.5% 18358/kworker/u16:14-events_unbound: 0% user + 0.5% kernel
                                                                                                      0.5% 19082/irq/17-4520300.: 0% user + 0.5% kernel
                                                                                                      0.4% 39/rcuog/4: 0% user + 0.4% kernel
                                                                                                      0.4% 52/rcuop/6: 0% user + 0.4% kernel
                                                                                                      0% 70/oom_reaper: 0% user + 0% kernel
                                                                                                      0.4% 184/kgsl_worker_thr: 0% user + 0.4% kernel
                                                                                                      0.4% 329/crtc_commit:80: 0% user + 0.4% kernel
                                                                                                      0.4% 386/ueventd: 0.3% user + 0.1% kernel / faults: 1 minor
                                                                                                      0.4% 506/kworker/0:1H-kblockd: 0% user + 0.4% kernel
                                                                                                      0.4% 563/kworker/u17:4-qmi_msg_handler: 0% user + 0.4% kernel
                                                                                                      0.4% 639/lmkd: 0.1% user + 0.3% kernel
                                                                                                      0.4% 2791/com.google.android.gms: 0.2% user + 0.2% kernel / faults: 89 minor
                                                                                                      0.4% 3887/com.android.networkstack.process: 0.3% user + 0.1% kernel / faults: 343 minor
                                                                                                      0% 3973/.qtidataservices: 0% user + 0% kernel / faults: 194 minor
                                                                                                      0% 4010/com.dolby.daxservice: 0% user + 0% kernel / faults: 142 minor
                                                                                                      0% 6139/com.motorola.modemservice: 0% user + 0% kernel / faults: 152 minor
                                                                                                      0.4% 8010/kworker/u17:0-fsverity_read_queue: 0% user + 0.4% kernel
                                                                                                      0.4% 8811/kworker/0:1-events: 0% user + 0.4% kernel
                                                                                                      0.4% 9986/com.android.bluetooth: 0% user + 0.4% kernel / faults: 334 minor
                                                                                                      0.4% 20307/kworker/u16:7-kverityd: 0% user + 0.4% kernel
                                                                                                      0.3% 652/irq/225-NVT-ts: 0% user + 0.3% kernel
                                                                                                      0.3% 1242/[email protected]: 0.1% user + 0.2% kernel / faults: 74 minor
2023-10-12 15:07:06.496  1788-14221 ActivityManager         pid-1788                             E    0.1% 9406/com.motorola.motocare: 0.1% user + 0% kernel / faults: 1 minor
                                                                                                      0.1% 10139/kworker/6:10-events: 0% user + 0.1% kernel
                                                                                                      0.1% 10801/kworker/1:4-mm_percpu_wq: 0% user + 0.1% kernel
                                                                                                      0.1% 11353/com.google.android.apps.nbu.paisa.user: 0% user + 0.1% kernel / faults: 9 minor
                                                                                                      0.1% 11425/com.google.android.apps.paidtasks: 0% user + 0.1% kernel / faults: 9 minor
                                                                                                      0.1% 11518/com.mtshopping.folder: 0.1% user + 0% kernel / faults: 12 minor
                                                                                                      0.1% 11666/com.google.android.apps.podcasts: 0.1% user + 0% kernel / faults: 12 minor
                                                                                                      0.1% 11811/com.google.android.play.games: 0% user + 0.1% kernel / faults: 9 minor
                                                                                                      0.1% 11887/com.twitter.android: 0% user + 0.1% kernel / faults: 13 minor
                                                                                                      0.1% 12371/net.one97.paytm: 0% user + 0.1% kernel / faults: 13 minor
                                                                                                      0% 12379/com.google.android.ims: 0% user + 0% kernel / faults: 18 minor
                                                                                                      0.1% 13620/kworker/7:3-events_freezable_power_: 0.1% user + 0% kernel
                                                                                                      0.1% 13809/com.google.android.apps.turbo:aab: 0% user + 0.1% kernel / faults: 26 minor
                                                                                                      0.1% 14195/kworker/3:0H: 0% user + 0.1% kernel
                                                                                                      0.1% 18390/kworker/5:5-mm_percpu_wq: 0% user + 0.1% kernel
                                                                                                      0.1% 20459/kworker/u16:8-kverityd: 0% user + 0.1% kernel
                                                                                                      0.1% 21697/kworker/1:1H-kblockd: 0% user + 0.1% kernel
                                                                                                      0.1% 23585/com.motorola.ccc.notification: 0.1% user + 0% kernel / faults: 47 minor
                                                                                                      0.1% 23842/webview_zygote: 0% user + 0.1% kernel / faults: 57 minor
                                                                                                      0% 26418/kworker/7:8: 0% user + 0% kernel
                                                                                                      0.1% 27310/com.coveiot.android.boat: 0% user + 0.1% kernel / faults: 30 minor
                                                                                                      0.1% 27520/kworker/2:7: 0% user + 0.1% kernel
                                                                                                      0.1% 29558/com.google.android.gm: 0% user + 0.1% kernel / faults: 20 minor
                                                                                                     +0% 14235/com.ril.ajio: 0% user + 0% kernel
                                                                                                     +0% 14293/kworker/1:2H: 0% user + 0% kernel
                                                                                                     +0% 14323/com.ril.ajio:pushservice: 0% user + 0% kernel
                                                                                                     +0% 14385/com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0: 0% user + 0% kernel
                                                                                                    CPU usage from 67ms to 449ms later (2023-10-12 15:06:56.995 to 2023-10-12 15:06:57.377):
                                                                                                    36% TOTAL: 20% user + 14% kernel + 1.3% irq + 0.3% softirq
                                                                                                      129% 12368/com.cuvora.carinfo: 110% user + 19% kernel / faults: 14306 minor
                                                                                                        98% 12368/.cuvora.carinfo: 91% user + 7.6% kernel
                                                                                                        22% 12709/RenderThread: 15% user + 7.6% kernel
                                                                                                      49% 1288/surfaceflinger: 49% user + 0% kernel / faults: 1 minor
                                                                                                        26% 1288/surfaceflinger: 20% user + 5.8% kernel
                                                                                                        5.8% 1528/TimerDispatch: 2.9% user + 2.9% kernel
                                                                                                        5.8% 1532/app: 2.9% user + 2.9% kernel
                                                                                                        5.8% 3054/binder:1288_3: 2.9% user + 2.9% kernel
                                                                                                        2.9% 1929/surfaceflinger: 2.9% user + 0% kernel
                                                                                                      39% 1788/system_server: 9.1% user + 30% kernel / faults: 1012 minor
                                                                                                        39% 14221/AnrConsumer: 18% user + 21% kernel
                                                                                                        3% 3541/WifiHandlerThre: 3% user + 0% kernel
                                                                                                      23% 126/kswapd-1:0: 0% user + 23% kernel
                                                                                                      16% 4788/kswapd0:1: 0% user + 16% kernel
                                                                                                      11% 1258/vendor.qti.hardware.display.composer-service: 5.7% user + 5.7% kernel
                                                                                                        14% 1258/composer-servic: 8.6% user + 5.7% kernel
                                                                                                      5.3% 184/kgsl_worker_thr: 0% user + 5.3% kernel
                                                                                                      5.3% 329/crtc_commit:80: 0% user + 5.3% kernel
                                                                                                      2.6% 14/migration/0: 0% user + 2.6% kernel
                                                                                                      2.6% 33/rcuop/3: 0% user + 2.6% kernel
                                                                                                      2.6% 40/rcuop/4: 0% user + 2.6% kernel
                                                                                                      2.6% 52/rcuop/6: 0% user + 2.6% kernel
                                                                                                      2.6% 330/crtc_event:80: 0% user + 2.6% kernel
                                                                                                      3.9% 16932/com.whatsapp.w4b: 3.9% user + 0% kernel
                                                                                                        3.9% 17306/pool-2-thread-1: 0% user + 3.9% kernel
                                                                                                      3.9% 18355/kworker/u16:6-memlat_wq: 0% user + 3.9% kernel
                                                                                                      4.1% 26726/process-tracker: 0% user + 4.1% kernel
                                                                                                      
                                                                                                      ```
@cortinico
Copy link
Member

  1. Add large data (use dummy data)

Could you share a repro with dummy data?

@rohitjakhar
Copy link
Author

Sure

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

2 participants