Bug: Application crash at startup [not relevant]

asked 2014-02-25 13:17:21 +0300

JiiHoo gravatar image

updated 2014-07-25 11:47:09 +0300

jiit gravatar image

After I have got problems with starting up applications when phone's up-time is a day or more. When this happens, app shows loading cover for a while and then simply closes without any trace. Already open/running apps seem to work fine, only starting of new apps is having problems. Only rebooting the phone helps and after reboot everything works OK again, at least for a while. Last time this happened phone had been up and running around 1 day.

Above has happened with e-mail and settings apps, though I would guess that also other apps would have been affected. I didn't check them specifically, just rebooted the phone after the problem came up.


journalctl log added: http://pastebin.com/MFEjxsmw (Removed entries related to one call)

Both email and jolla-settings become unresponsive for a while. Problems might be related to network connection problems with WLAN & 3G and I could not enable either via settings. Thus also email sync failed and whole app got stuck for a while. I didn't notice to try whether these apps would have crashed at start up, but behavior was otherwise similar.

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by JiiHoo
close date 2014-04-05 19:19:57.038703


I had this also... But I can't reproduce it.

torcida ( 2014-02-25 14:40:40 +0300 )edit

Seems to happen in a bit random intervals. One of my colleagues has also seen the same problem happening after latest update, no problems before that apparently.

JiiHoo ( 2014-02-25 15:48:44 +0300 )edit

The (most likely) root cause of this is that the launcher detects that another instance of the application is already running, and so it doesn't allow a "second" instance to run. Eg, if you are seeing this problem with the settings application, then (if you have developer mode installed) ssh into the device, do ps axu | grep jolla-settings and you will probably see an existing settings application instance. killall jolla-settings should then allow you to open the settings application as per normal.

More worrying is why this bug occurs (ie, the application is getting caught in a deadlock / hang when it is being closed). Are you able to provide any logs (journalctl -ba) of what happened when the abnormal behaviour is seen?

Cheers, Chris.

chris.adams ( 2014-02-27 05:53:06 +0300 )edit

Sounds a likely reason for this. I didn't notice to check from terminal whether there where any stuck processes.

journalctl didn't show anything useful (no old enough logs available), but I have to check it when this happens again.

JiiHoo ( 2014-02-27 10:58:27 +0300 )edit

Ok, I hit to same problem again. This time email got stuck first and I could not open it even though it was already running (got timeout message). Also settings didn't open first but while I was digging with console, settings suddenly popped open (took about 30-60 seconds). However, settings is not working well, selecting any of the options simply causes it stuck again.

journalctl shows plenty of messages for both email and jolla-settings. I have to check them when I get home and put them available somewhere.

JiiHoo ( 2014-02-27 16:23:48 +0300 )edit