random resets when using Messenger
-
Hi all-
I have a Pixel 3a running Ubuntu Touch
XenialFocal. For some reason, when i am using Messenger, the system is randomly resetting itself. Most of the time it's fine, but maybe once or twice a week, the screen unexpectedly goes blank, and i see the UT loading screen. But then it's stuck in a loop- black screen, loading screen, black screen, loading screen, etc. The only way to recover is to do a full hard reset.This has only ever occurred when using Messenger, but i can't figure out why- i'm just typing a message, in the middle of a conversation, and it does this, seemingly randomly.
I realize this makes it tough to diagnose, but hopefully someone else out there is seeing this too.
-Fizz
-
@Fizz That sounds like a restart of the window-manager, which happens for example because of low memory.
But I don't see, why the messenger app should cause low memory...Did you try to check the log (with logviewer app) after a reboot? Though, I am not sure, if the log is still there after a reboot.
-
I don't want to hijack this thread but i am having an issue that kind of relates to this one (involves messaging app, multiple duplicate notifications and a lomiri/window manager crash),
difference here is that the crash doesn't happen as i'm operating the messaging app, but at a "random" point in time afterwards
so i'm tagging along -
@Luksus
I've just installed LogViewer, so the next time it happens i will check it right away.How can i check memory usage? I too would be surprised if that were the issue, as i have no other apps running, and the Pixel3a should have plenty.
-Fizz
-
Are you using the desktop version of Messenger? Maybe it is indeed related to low memory since that version seems to be heavy.
I'm not sure if it's the same issue but I also have random shutdowns on my FP4. I ddin't notice a consistent activity or app when this happens though but I vaguely remember it usually happens while I'm typing -
...Are we talking about Messages app, like for sms texting? Or a different app altogether?
-
@Fizz
What about switching to Focal to see if still occurs ?. There is lots of improvements since Xenial for that device.For memory, you could monitor via adb and
top
while opening and writing in messaging-app.
I don't see why. There are some heavy sms users on UT and they do not report such issue. -
@Yougo Yes, i am referring to the Messaging app that comes pre-installed with UT: the default app for texting others.
I guess i called it "Messenger", when i should have called it "Messaging". Sorry for the confusion.
-Fizz
-
@lduboeuf
I can say that when i was runningFocalXenial on my earlier phone, the Nexus 5, this issue never occurred.-Fizz
-
@kugiigi
It's the Messaging app that comes preinstalled with UT, so i don't know if that counts as "desktop" or not.
And yes- for me the crash always occurs when i'm typing. And it's so intermittant. Most of the time there is no issue, but every now and then, i get a crash as i try to type something.-Fizz
-
@Fizz Oh okay, I thought Facebook Messenger
Anyway, do you have predictive text enabled? And can you replicate it consistently? There's a known issue but that only crashes the keyboard. -
@Fizz Which keyboard layout do you use ?
I would try first to disable all of them, and see by changing layout if its still occurs.And also try with Focal if it's still a thing. Xenial on Pixel3a is not supported anymore.
-
@Fizz
Irk- did i inadvertently get my code names mixed up? I think i did. I blame my idiocy on the flu bug i've had for the last week.So to clarify:
I am running UT 20.04 OTA-3 on my Pixel 3a.
My previous phone ran UT 16.04 on my older Nexus 5.I did not ever see the issue on the Nexus 5. It has only occurred on the Pixel 3a which has always run 20.04.
I wish i could go back and fix my initial post. (Can any admin do so for me?)
-Fizz
-
@lduboeuf
I just clarified that i am running Focal on the Pixel 3a- sorry for that confusion.I am using whatever standard keyboard layout that came with the OS. Looks like i have English and Emoji layouts at the moment. Or is there some other keyboard layout you mean?
-Fizz
-
@kugiigi
No predictive text is being used. And i've not been able to replicate it. Most of the time it's fine- i've not had it crash for the last week. But every now and then, i start to type and it takes down the whole OS. <shrug>-Fizz
-
@Fizz said in random resets when using Messenger:
@lduboeuf
I just clarified that i am running Focal on the Pixel 3a- sorry for that confusion.I am using whatever standard keyboard layout that came with the OS. Looks like i have English and Emoji layouts at the moment. Or is there some other keyboard layout you mean?
-Fizz
Arf then i have no idea, would be interesting to monitor memory at least. Have you installed something with
apt
or did anything custom ?
Does it happen on a fresh install too ? -
@lduboeuf
I've been using it for a few months now, so it's a relatively new install at least. It's hard to say when the issue started since it's so intermittant. The phone is certainly usable- i'm quite happy overall. It's just the occassional inconvenience every now and then.I've not intalled anything extra via apt. Any new apps i've added have been through the OpenStore.
How can i monitor my memory usage? Is there a specific app for that, or just through the terminal? What do you recommend?
-Fizz
-
@Fizz said in random resets when using Messenger:
@lduboeuf
I've been using it for a few months now, so it's a relatively new install at least. It's hard to say when the issue started since it's so intermittant. The phone is certainly usable- i'm quite happy overall. It's just the occassional inconvenience every now and then.I've not intalled anything extra via apt. Any new apps i've added have been through the OpenStore.
How can i monitor my memory usage? Is there a specific app for that, or just through the terminal? What do you recommend?
If you are not comfortable with command line, and access to your device via adb or ssh. You can first check the logs of messaging-app and maliit-server with the LogViewer app. But i doubt they will be shown after a crash.
Otherwise, yes via e.g adb ( https://docs.ubports.com/en/latest/userguide/advanceduse/adb.html ), just type
top
and see if you see something unusual. But as it is random, will not be easy to spot-Fizz
-
Well, it has been awhile, but i finally saw the crash again. I was having a conversation with a friend, and mid-sentence the screen went black, then the UT loading screen, black, UT loading screen, etc. And i had to do a hard reset to get it out of the mode. After the reset and my resuming the conversation, it happened a second time.
Unfortunately, i don't have any memory info to report. There is never any indication that a crash is about to occur. Maybe next time in a longer conversation i'll have to check memory regularly.
Is there any chance it could be related to my cell provider? I'm on Freedom Mobile here in Canada (previously i was on Virgin).
-Fizz
-
@Fizz Wow that is very unfortunate and strange behavior.
I really have no idea what is going on, and especially the fact that your device is in clean state iirc ( not upgraded from 16.04 and without heavy sms history ). But your RAM hardware can be faulty or whatever hardware part otherwise others would have faced the same issue.Znd no, i doubt your provider is doing nasty things. Because when you open messaging app to read a sms, the sms has been already processed