Fairphone 2 crashes. How can I find a reproducible way to do it?
-
Hi everyone!
I'm using the FP2 with UT already since several years and I would first like to thank everyone working on UT for their effort! I've been able to witness the progress made during this time and I think it's simply incredible!
Now, I'm writing this post because my FP2 started to crash while I'm watching videos on youtube (in the Morph browser). The behavior already started with OTA-16, but I assumed that this was probably my fault as I messed around quite a bit and probably broke something. Last week however, I completely reflashed UT OTA-17 to the phone (wiping all the existing data in the process) and sadly the phone still crashes from time to time while watching youtube videos.
I would like to open an issue in the github repo. The problem is that I can't find a reproducible way to trigger the crash/restart. I watch probably about 1-2 hours of youtube per day (distributed over the whole day) and my phone crashes about 1-2 times during this time. Sometimes it happens shortly after I started watching a video, sometimes after over an hour. Sometimes it's in a long video, sometimes in a short one. I'm not able to spot any pattern. Does anyone have an idea how I could find a reproducible way to trigger the crash/restart?
Thanks a lot for your help!
-
Hi @luks
The behavior you're describing matches an out of memory kind of bug.
When your phone crashes, doest it only restart Lomiri or do you have the bootsplash and it takes longer ?IMHO you can try to reproduce with running a lot of apps simultaneously and then play a video this might help reproducing the bug.
-
Hi @applee
Thanks a lot for your answer! When it crashes I see the bootsplash and it takes longer. However, after the restart the apps seem to somehow resume their work where they left it. For example, my phone once crashed while i had a timer running. And after the restart I opened the clock app and the timer was still counting down.
Also, thanks a lot for the hint about opening many apps simultaneously. Interestingly this does not trigger the restart. At least not always. I had success during my first try but not afterwards. I also tried opening many tabs in the browser with different videos, this also didn't work.
Do you know by any chance if there are log files which could contain hints about the crash? Then I could have a look at them the next time it happens.
Thanks again for your help!
-
@luks Ah and I'm not sure whether this is important but in about 50% of crashes, I first get a blue screen (i.e. the screen is completely blue and I can't do anything) for about 3-5 seconds. The other 50% the video just freezes and after about 1-2 seconds the phone crashes and reboots.
-
So I don't think anymore it's the RAM saturating, you can have a look at Morph's logs there:
.cache/upstart/application-legacy-morph-browser-.log
The blue screen is actually a very strange thing
-
Sorry to say but Fairphone 2 is prone to crashing for random reasons, even on Android. If you google Fairphone 2 crash you will find tons of material.
A little bit of help could be to update the firmware to the lastest one, like here: https://forums.ubports.com/topic/1103/howto-update-baseband-other-firmware Note that as per today the latest firmware might be changed, I will try to update the link shortly.
BR Florian
-
@flohack said in Fairphone 2 crashes. How can I find a reproducible way to do it?:
Sorry to say but Fairphone 2 is prone to crashing for random reasons
One solution to sort quite them all :