urnetwork / android

Other
0 stars 0 forks source link

Ocassional Crash on Load (Android Studio Emulators) #170

Open stuartwk opened 1 month ago

stuartwk commented 1 month ago

Testing on the Android TV emulator in Android Studio. Not sure if it's related, but this is when I am already connected to a location, and then relaunching the app. Android is displaying a notification that the "VPN is connected" before the app has even launched.

ANR in com.bringyour.network (com.bringyour.network/.MainActivity)
PID: 14026
Reason: Input dispatching timed out (7099670 com.bringyour.network/com.bringyour.network.MainActivity (server) is not responding. Waited 5006ms for FocusEvent(hasFocus=true))
Parent: com.bringyour.network/.MainActivity
ErrorId: cecd1eb1-04ba-46c4-ac72-9146ab553864
Frozen: false
Load: 0.23 / 0.17 / 0.11
----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.00 avg300=0.00 total=1732631
full avg10=0.00 avg60=0.00 avg300=0.00 total=916472
----- End output from /proc/pressure/memory -----
----- Output from /proc/pressure/cpu -----
some avg10=10.78 avg60=4.20 avg300=1.32 total=290500804
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.20 avg60=0.08 avg300=0.01 total=12083392
full avg10=0.00 avg60=0.00 avg300=0.00 total=5309795
----- End output from /proc/pressure/io -----

CPU usage from 294016ms to -1ms ago (2024-10-15 19:44:14.421 to 2024-10-15 19:49:08.437):
  1% 5484/com.google.android.tvlauncher: 0.5% user + 0.5% kernel / faults: 9266 minor
  0.8% 512/system_server: 0.5% user + 0.2% kernel / faults: 7055 minor
  0.3% 372/surfaceflinger: 0.1% user + 0.2% kernel / faults: 47 minor
  0.3% 359/android.hardware.graphics.composer3-service.ranchu: 0% user + 0.2% kernel
  0.3% 1598/adbd: 0% user + 0.2% kernel / faults: 11162 minor
  0.2% 3278/com.google.android.gms.persistent: 0.2% user + 0% kernel / faults: 1626 minor
  0.2% 8613/installer: 0% user + 0.2% kernel / faults: 29547 minor
  0.2% 4936/com.android.vending: 0.1% user + 0% kernel / faults: 6327 minor
  0.1% 8584/process-tracker: 0% user + 0.1% kernel
  0% 7584/com.google.android.gms: 0% user + 0% kernel / faults: 3203 minor 59 major
3.1% TOTAL: 0.7% user + 1.3% kernel + 0% iowait + 1% irq + 0% softirq
CPU usage from 5ms to 234ms later (2024-10-15 19:49:08.442 to 2024-10-15 19:49:08.670):
  127% 14026/com.bringyour.network: 14% user + 112% kernel / faults: 9082 minor 1 major
    93% 14139/RenderThread: 0% user + 93% kernel
    34% 14033/Signal Catcher: 14% user + 19% kernel
  32% 512/system_server: 13% user + 18% kernel / faults: 1639 minor
    23% 518/Signal Catcher: 13% user + 9.2% kernel
    9.2% 14223/AnrAuxiliaryTas: 0% user + 9.2% kernel
    4.6% 821/ClipboardServic: 4.6% user + 0% kernel
52% TOTAL: 10% user + 36% kernel + 5.5% irq