• [deleted]

other8026 When the Settings app crashes, is it always the same activity? (Look at the first line of the second section

Yes, the first line of the second section is always "activity: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity"

[deleted] I managed to have my phone's privacy dashboard to also not respond. The only way to do that, though, was to display the past week's data, then open a permission that has a lot of entries and scroll through them, prompting the ANR window.

Are there many entries in the lists you're opening? Like, hundreds of entries? Because I'm guessing the app is just crashing because it's handling a scrollable list of too many entries and it just stops responding as a result.

    • [deleted]

    • Edited

    other8026 At first I also thought it was because of the number of entries but The error also appeared with 24h data and permissions with few entries

    Here is another crash report, if anyone is interested

    type: ANR
    osVersion: google/panther/panther:14/UP1A.231105.003/2023111500:user/release-keys
    package: com.android.permissioncontroller:330000000
    process: com.android.permissioncontroller
    
    activity: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
    cause: ANR Input dispatching timed out (d1689b1 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5004ms for FocusEvent(hasFocus=true))
    info: ANR in com.android.permissioncontroller (com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity)
    PID: 31186
    Reason: Input dispatching timed out (d1689b1 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5004ms for FocusEvent(hasFocus=true))
    Parent: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
    ErrorId: b7b4d98d-ff39-4c0c-845e-0ccbf7115ae8
    Frozen: false
    Load: 2.25 / 2.72 / 2.96
    ----- Output from /proc/pressure/memory -----
    some avg10=0.58 avg60=0.54 avg300=0.94 total=42261677
    full avg10=0.45 avg60=0.41 avg300=0.70 total=27262601
    ----- End output from /proc/pressure/memory -----
    ----- Output from /proc/pressure/cpu -----
    some avg10=11.88 avg60=10.75 avg300=10.10 total=473466478
    ----- End output from /proc/pressure/cpu -----
    ----- Output from /proc/pressure/io -----
    some avg10=0.40 avg60=0.45 avg300=0.42 total=38707993
    full avg10=0.20 avg60=0.23 avg300=0.24 total=23812593
    ----- End output from /proc/pressure/io -----
    
    CPU usage from 139989ms to -1ms ago (2023-11-19 17:43:25.262 to 2023-11-19 17:45:45.252):
      50% 31186/com.android.permissioncontroller: 33% user + 17% kernel / faults: 385671 minor 990 major
      40% 1353/system_server: 22% user + 18% kernel / faults: 64028 minor 1272 major
      29% 587/surfaceflinger: 20% user + 8.6% kernel / faults: 6131 minor 78 major
      8.2% 590/android.hardware.composer.hwc3-service.pixel: 4.7% user + 3.4% kernel / faults: 37 minor 34 major
      5.7% 1234/irq/503-fts_ts: 0% user + 5.7% kernel
      4.7% 1395/twoshay: 3.8% user + 0.8% kernel / faults: 8 minor 7 major
      3.4% 1939/com.android.systemui: 2.1% user + 1.2% kernel / faults: 10467 minor 77 major
      2.9% 2021/android.hardware.input.processor-service: 2% user + 0.9% kernel / faults: 29 minor 23 major
      2.8% 341/decon0_kthread: 0% user + 2.8% kernel
      2.7% 28336/org.thoughtcrime.securesms: 1.9% user + 0.7% kernel / faults: 2455 minor 558 major
    23% TOTAL: 12% user + 9.3% kernel + 0.1% iowait + 1.1% irq + 0.6% softirq
    CPU usage from 57ms to 752ms later (2023-11-19 17:45:45.308 to 2023-11-19 17:45:46.003):
      203% 1353/system_server: 97% user + 106% kernel / faults: 13173 minor 34 major
        89% 1381/Signal Catcher: 47% user + 42% kernel
        42% 1459/AnrAuxiliaryTas: 14% user + 27% kernel
        24% 7639/binder:1353_13: 12% user + 12% kernel
        24% 13961/binder:1353_1F: 12% user + 12% kernel
        19% 13962/binder:1353_20: 9.9% user + 9.9% kernel
        2.4% 1458/AnrConsumer: 0% user + 2.4% kernel
      79% 31186/com.android.permissioncontroller: 41% user + 37% kernel / faults: 93 minor
        45% 31186/ssioncontroller: 20% user + 25% kernel
        20% 32518/RenderThread: 12% user + 8.3% kernel
        4.1% 1156/binder:31186_A: 0% user + 4.1% kernel
      24% 587/surfaceflinger: 18% user + 6% kernel
        15% 587/surfaceflinger: 10% user + 4.5% kernel
        3% 624/binder:587_1: 3% user + 0% kernel
        1.5% 629/RenderEngine: 1.5% user + 0% kernel
        1.5% 681/TimerDispatch: 0% user + 1.5% kernel
        1.5% 685/app: 1.5% user + 0% kernel
        1.5% 699/surfaceflinger: 0% user + 1.5% kernel
      7.6% 590/android.hardware.composer.hwc3-service.pixel: 4.5% user + 3% kernel
        6% 590/binder:590_3: 3% user + 3% kernel
      2.9% 341/decon0_kthread: 0% user + 2.9% kernel
      1.4% 13/rcuog/0: 0% user + 1.4% kernel
      1.4% 42/rcuop/3: 0% user + 1.4% kernel
      1.5% 531/sugov:0: 0% user + 1.5% kernel
      1.5% 714/android.hardware.power-service.pixel-libperfmgr: 1.5% user + 0% kernel
        1.5% 714/android.hardwar: 1.5% user + 0% kernel
      1.5% 1017/vendor.google.wifi_ext-service-vendor: 0% user + 1.5% kernel
      3% 4063/com.google.android.inputmethod.latin: 0% user + 3% kernel / faults: 386 minor
        3% 4217/Signal Catcher: 0% user + 3% kernel
      3.1% 5274/com.whatsapp: 3.1% user + 0% kernel
      4% 31010/kworker/0:8H-kverityd: 0% user + 4% kernel
      4.3% 32309/kworker/4:7H-kverityd: 0% user + 4.3% kernel
    38% TOTAL: 18% user + 17% kernel + 0.5% iowait + 1.1% irq + 0.3% softirq
    • [deleted]

    For instance, only the settings app can access my Pictures and videos and it shows that I did not used this permission in 7 days but still it crashes:

    type: ANR
    osVersion: google/panther/panther:14/UP1A.231105.003/2023111500:user/release-keys
    package: com.android.permissioncontroller:330000000
    process: com.android.permissioncontroller
    
    activity: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
    cause: ANR Input dispatching timed out (ab56eb6 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5004ms for FocusEvent(hasFocus=true))
    info: ANR in com.android.permissioncontroller (com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity)
    PID: 31186
    Reason: Input dispatching timed out (ab56eb6 com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5004ms for FocusEvent(hasFocus=true))
    Parent: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
    ErrorId: c1e95f3e-fe7d-4c30-a29c-738df327e821
    Frozen: false
    Load: 2.25 / 2.63 / 2.86
    ----- Output from /proc/pressure/memory -----
    some avg10=0.00 avg60=0.14 avg300=0.81 total=46660420
    full avg10=0.00 avg60=0.09 avg300=0.60 total=30588435
    ----- End output from /proc/pressure/memory -----
    ----- Output from /proc/pressure/cpu -----
    some avg10=10.93 avg60=9.69 avg300=9.75 total=506048821
    ----- End output from /proc/pressure/cpu -----
    ----- Output from /proc/pressure/io -----
    some avg10=0.00 avg60=0.05 avg300=0.31 total=40831343
    full avg10=0.00 avg60=0.02 avg300=0.15 total=25121900
    ----- End output from /proc/pressure/io -----
    
    CPU usage from 54540ms to 0ms ago (2023-11-19 17:50:23.173 to 2023-11-19 17:51:17.713):
      47% 31186/com.android.permissioncontroller: 31% user + 16% kernel / faults: 150161 minor 29 major
      38% 1353/system_server: 20% user + 17% kernel / faults: 38092 minor 60 major
      28% 587/surfaceflinger: 19% user + 8.3% kernel / faults: 5790 minor 15 major
      7.5% 590/android.hardware.composer.hwc3-service.pixel: 4.2% user + 3.3% kernel / faults: 28 minor 22 major
      5% 1234/irq/503-fts_ts: 0% user + 5% kernel
      4.7% 1939/com.android.systemui: 3.1% user + 1.5% kernel / faults: 10248 minor 73 major
      4.1% 1395/twoshay: 3.2% user + 0.9% kernel
      2.9% 2021/android.hardware.input.processor-service: 2.1% user + 0.8% kernel / faults: 1 minor
      2.7% 341/decon0_kthread: 0% user + 2.7% kernel
      2% 2386/com.android.launcher3: 1.3% user + 0.6% kernel / faults: 9 minor
    21% TOTAL: 11% user + 8.5% kernel + 0% iowait + 1% irq + 0.5% softirq
    CPU usage from 203ms to 650ms later (2023-11-19 17:51:17.916 to 2023-11-19 17:51:18.363) with 99% awake:
      204% 1353/system_server: 109% user + 94% kernel / faults: 12492 minor
        91% 1381/Signal Catcher: 57% user + 33% kernel
        36% 6846/AnrAuxiliaryTas: 15% user + 21% kernel
        27% 3933/binder:1353_15: 12% user + 15% kernel
        21% 3904/binder:1353_14: 12% user + 9.1% kernel
        18% 13962/binder:1353_20: 9.1% user + 9.1% kernel
      84% 31186/com.android.permissioncontroller: 48% user + 35% kernel / faults: 57 minor
        48% 31186/ssioncontroller: 17% user + 30% kernel
        26% 32518/RenderThread: 22% user + 4.4% kernel
        4.4% 1156/binder:31186_A: 4.4% user + 0% kernel
        4.4% 5402/mali-event-hand: 0% user + 4.4% kernel
      20% 587/surfaceflinger: 15% user + 5.1% kernel
        15% 587/surfaceflinger: 12% user + 2.5% kernel
        2.5% 624/binder:587_1: 2.5% user + 0% kernel
        2.5% 668/mali-event-hand: 0% user + 2.5% kernel
        2.5% 681/TimerDispatch: 0% user + 2.5% kernel
        2.5% 699/surfaceflinger: 0% user + 2.5% kernel
      5.1% 590/android.hardware.composer.hwc3-service.pixel: 5.1% user + 0% kernel
        7.7% 3030/binder:590_6: 5.1% user + 2.5% kernel
      2.2% 46/ksoftirqd/4: 0% user + 2.2% kernel
      2.2% 57/rcuop/5: 0% user + 2.2% kernel
      2.4% 341/decon0_kthread: 0% user + 2.4% kernel
    43% TOTAL: 22% user + 20% kernel + 0.8% irq + 0.2% softirq

      [deleted] hmmm. I'm not sure what can be done then. Ultimately I was hoping to get some sort of useful crash log but they're all the same, including the one I caused on my phone.

      I had the same result after the initial ANR popup. I could open another permission, one that had very few entries, and still get the popup. Not sure why that would happen, though.

      You can try opening an issue in the OS issue tracker but I don't think they'll be able to do much about it since the logs aren't very helpful and it is likely an upstream bug.

      16 days later
      • [deleted]

      UP1A.231105.003.2023112900

      type: ANR
      osVersion: google/panther/panther:14/UP1A.231105.003/2023112900:user/release-keys
      package: com.android.permissioncontroller:330000000
      process: com.android.permissioncontroller
      
      activity: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
      cause: ANR Input dispatching timed out (d9cb2cb com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5003ms for FocusEvent(hasFocus=true))
      info: ANR in com.android.permissioncontroller (com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity)
      PID: 25597
      Reason: Input dispatching timed out (d9cb2cb com.android.permissioncontroller/com.android.permissioncontroller.permission.ui.ManagePermissionsActivity (server) is not responding. Waited 5003ms for FocusEvent(hasFocus=true))
      Parent: com.android.permissioncontroller/.permission.ui.ManagePermissionsActivity
      ErrorId: 9611356b-51d1-440d-9ca2-fc35876bf123
      Frozen: false
      Load: 3.12 / 2.89 / 2.72
      ----- Output from /proc/pressure/memory -----
      some avg10=0.23 avg60=0.59 avg300=0.32 total=514689527
      full avg10=0.19 avg60=0.45 avg300=0.23 total=342661954
      ----- End output from /proc/pressure/memory -----
      ----- Output from /proc/pressure/cpu -----
      some avg10=13.02 avg60=9.78 avg300=7.62 total=16787525139
      ----- End output from /proc/pressure/cpu -----
      ----- Output from /proc/pressure/io -----
      some avg10=0.04 avg60=0.16 avg300=0.12 total=712758588
      full avg10=0.00 avg60=0.06 avg300=0.05 total=448909942
      ----- End output from /proc/pressure/io -----
      
      CPU usage from 1697ms to -3959ms ago (2023-12-06 21:33:14.997 to 2023-12-06 21:33:20.653):
        96% 2412/system_server: 50% user + 46% kernel / faults: 31894 minor 78 major
        70% 25597/com.android.permissioncontroller: 37% user + 33% kernel / faults: 6505 minor 22 major
        22% 576/surfaceflinger: 15% user + 7.6% kernel / faults: 4425 minor
        8.8% 3679/net.ivpn.client: 4.2% user + 4.6% kernel / faults: 10227 minor 5155 major
        7.7% 1146/media.swcodec: 3% user + 4.7% kernel / faults: 12097 minor
        7.4% 2664/com.android.systemui: 3.7% user + 3.7% kernel / faults: 16916 minor 6 major
        5.1% 93/kswapd0: 0% user + 5.1% kernel
        5.1% 584/android.hardware.composer.hwc3-service.pixel: 2.8% user + 2.2% kernel
        4.5% 1057/media.extractor: 1.5% user + 3% kernel / faults: 6180 minor
        4% 26226/com.google.android.inputmethod.latin: 2.1% user + 1.9% kernel / faults: 9759 minor 2 major
      33% TOTAL: 15% user + 17% kernel + 0% iowait + 0.7% irq + 0.2% softirq
      CPU usage from 16ms to 688ms later (2023-12-06 21:33:16.710 to 2023-12-06 21:33:17.381):
        214% 2412/system_server: 104% user + 109% kernel / faults: 16914 minor 55 major
          96% 2417/Signal Catcher: 54% user + 41% kernel
          44% 30914/AnrAuxiliaryTas: 10% user + 33% kernel
          36% 8434/binder:2412_15: 23% user + 13% kernel
          20% 3220/binder:2412_7: 7.8% user + 13% kernel
          13% 19674/binder:2412_20: 5.2% user + 7.8% kernel
        85% 25597/com.android.permissioncontroller: 37% user + 47% kernel / faults: 81 minor
          47% 25597/ssioncontroller: 13% user + 34% kernel
          27% 25908/RenderThread: 20% user + 6.8% kernel
          3.4% 25929/binder:25597_3: 3.4% user + 0% kernel
          3.4% 30831/mali-event-hand: 0% user + 3.4% kernel
        27% 576/surfaceflinger: 17% user + 10% kernel
          12% 576/surfaceflinger: 12% user + 0% kernel
          6.3% 2462/binder:576_5: 4.2% user + 2.1% kernel
          2.1% 672/TimerDispatch: 0% user + 2.1% kernel
          2.1% 676/app: 0% user + 2.1% kernel
          2.1% 678/RegionSampling: 0% user + 2.1% kernel
          2.1% 696/surfaceflinger: 0% user + 2.1% kernel
        8.5% 584/android.hardware.composer.hwc3-service.pixel: 4.2% user + 4.2% kernel
          6.4% 670/binder:584_4: 2.1% user + 4.2% kernel
        1.4% 12/rcu_preempt: 0% user + 1.4% kernel
        1.4% 49/rcuog/4: 0% user + 1.4% kernel
        1.5% 71/rcuop/7: 0% user + 1.5% kernel
        1.5% 335/decon0_kthread: 0% user + 1.5% kernel
        2% 525/sugov:0: 0% user + 2% kernel
        2.1% 669/mali_kbase_csf_: 0% user + 2.1% kernel
        2.3% 947/android.hardware.sensors-service.multihal: 0% user + 2.3% kernel
        3% 3679/net.ivpn.client: 3% user + 0% kernel
      40% TOTAL: 20% user + 18% kernel + 0.9% irq + 0.3% softirq

        [deleted] 2023112900

        This would be the release on November 29th. You'll want to update to the most recent release. Right now, December 4th's is the most recent release in the stable channel.

        There's one that was announced today, but not even in the alpha channel yet. Hopefully one of these two releases fixes this issue.

          [deleted] okay. Still very strange since you're the only person that I've seen on here who has had this kind of ANR consistently.

          At this point I'm not sure what kind of suggestion I can give other than to either wait for an update to fix the issue, to just not use the privacy dashboard or ignore the crashes, or submit a bug report to the OS issue tracker. I'd expect a developer can give better advice than I have given.

          If you do decide to submit a report, then I'd suggest including a link to this thread so they can see what you've tried and all that.

            • [deleted]

            other8026
            Thanks for your kind answer
            Please note that during this discussion, I have rested my phone and the issue still happens. Update today.

            other8026 I also get this in the exact same way as OP. I've never bothered reporting it cuz I don't check the usage that often I know exactly what's in use, but every now and then I'll do a double check and I experience this every single time

              N3rdTek I can make it happen as well, but I need to scroll through lots of stuff to make it pop up. Just a guess here, but I'm thinking there's something about your and ZorroisonGOS1's history that's making it hang much faster than on my phone.

              It's likely an upstream issue, but since there doesn't seem to be a way to fix it, maybe it's best if you can get the log and open an issue on GitHub in the GrapheneOS Issue Tracker: https://github.com/GrapheneOS/os-issue-tracker/issues and they can track the issue there. You can link this post if you'd like so they can see the other logs and anything else they might find useful in this thread.

                11 days later

                other8026
                I'll try to trigger it and send what logs get generated.
                Also as a correction, I wouldn't say it triggers immediately, it's funny you say after some scrolling, iirc mine is also due to scrolling but I don't recall is it's fast scrolling or scrolling in general

                  • [deleted]

                  N3rdTek

                  Now it appears both right away and when I scroll

                  4 months later

                  trefdcsaxyaewrgtvef Because it doesn't happen for everyone.

                  What's happening is that we enable showing way more than stock OS, and depending on how many apps one has, it can hang. We are aware and may adjust what that screen shows in order to reduce noise and prevent it from crashing in cases like yours.