GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
352 stars 19 forks source link

Relatively frequent system UI crashes when an app hangs after android 11 update (3XL) #357

Closed dreth closed 3 years ago

dreth commented 4 years ago

Hello!

I have been having an issue recently in some applications that feels like a memory leak. Where an app hangs and the whole system UI becomes unresponsive for an extended period of time and the options are to wait very very long (sometimes upwards of 20 minutes) or to restart the phone.

This only happens after the update to android 11 (im on the latest update, the patch after the first A11 update, im on stable channel). It happens usually about once a day.

The situations that have triggered the crash in my experience have been:

Apps in the background also relatively often become unresponsive but it doesnt seem to trigger a full UI crash, only active apps ive mentioned

I'm on 3 XL and i can provide logs or reports or anything given that someone tells me how to get them

Thanks!

thestinger commented 4 years ago

Doesn't really sound like there's a memory leak involved.

dreth commented 4 years ago

well whatever it is, if theres anything i can do to help, id be happy to (:

thestinger commented 4 years ago

Is this still an issue with the latest release shipping the upstream October update and other changes?

dreth commented 4 years ago

seems to be happening much less often than in the previous one but i recall one instance of it right after updating, happened specifically while i was in a whatsapp call and tried to take a picture and send while during the call. Had to restart

ill test if it still happens in other applications and report back

dreth commented 4 years ago

okay i had 3 instances of this, one on instagram while one story was switching to the next, on slide for reddit while loading a gif and on whatsapp while in a call trying to go back to the chats to forward a picture

the instagram one the app became unreaponsive and made the ui unresponsive but the ui was frozen for much less than usual and recovered with the app being unresponsive.

in the slide for reddit instance the ui became fully frozen for long enough that i had to restart the phone

i have noticed that a few of the times in the past while the issue occurred i was also in a whatsapp call, as in this last one.

only the last 2 needed a phone restart as the ui was frozen for too long

renlord commented 3 years ago

@dreth related? https://github.com/GrapheneOS/platform_frameworks_base/commit/76722daf78a8e6ef71cae66ca8c6ec71124f174b

dreth commented 3 years ago

@renlord It might be related but I'm really not sure. The UI doesn't exactly crash, it just doesn't respond for a while until it does. Lately it's only happened on instagram when watching stories and using the camera on whatsapp. Not quite sure of the cause, especially instagram though, it almost never happens anywhere else.

dreth commented 3 years ago

after the last update this hasn't happened yet, so far so good

thestinger commented 3 years ago

Closing since it seems to be fine now. I don't know what could have resolved it.

dreth commented 3 years ago

Thank you for the attention when initially reported @thestinger and for all your commitment to GrapheneOS in general man, the world needs more people like you. It's all working well now! thanks again!