quiet icon indicating copy to clipboard operation
quiet copied to clipboard

Unresponsive app

Open kingalg opened this issue 10 months ago • 4 comments

Version: 2.1.2.alpha-14 System: iOS

Steps to recreate: I have nothing. It happened twice this time, both times for an unregistered user, so I tried to use this trope but without success. Both times it was a user, not the owner, but I don't know if that's meaningful.

What happens: after opening the app it's unresponsive. The user can't open a channel, can't create a new channel, and can't even leave the app (see attached recording). Restarting the app doesn't help.

https://github.com/TryQuiet/quiet/assets/68909168/dc1349b5-5467-4431-a2fa-f23fcca13602

kingalg avatar Mar 28 '24 15:03 kingalg

It looks like the app is responsive but that it can't load certain screens.

Here is a case where it seems like we need a place to show logs even when the app is not throwing an exception. Let's add something to this build that gives us this ability. If it's in the main settings sheet Kinga should be able to access it even when this problem occurs.

holmesworcester avatar Mar 28 '24 16:03 holmesworcester

I think our policy on these heisenbugs is to make an effort to fix them and invest in more logging soon, but not block release, if we cannot fix them.

holmesworcester avatar Mar 28 '24 16:03 holmesworcester

Notes: we observed something like this on Android back in the day, so one hypothesis is that the selectors are overwhelmed, for example because WebSocket events are triggering too many changes. (Probably JavaScript thread is the bottleneck here.)

holmesworcester avatar Apr 02 '24 13:04 holmesworcester

I saw something like this on iOS while testing an image message issue. I was getting tons of errors due to FastImage and eventually it became totally unresponsive. Not sure if this is the same root cause.

ikoenigsknecht avatar May 13 '24 20:05 ikoenigsknecht