Ask / Submit
4

Unrequested Google email sync nearly killed the system (2.0)

asked 2015-09-24 21:57:59 +0300

bilog gravatar image

So I've just upgraded to Sailfish OS 2.0 and there are many little things that irk me, but the worst of all has been an _unrequested_ sync of Google emails that has nearly killed my system.

The situation is like this: I have a (non-Google) email account registered in the Jolla, set to sync every 15 minutes, and a Google account for which I _only_ enabled IM and Calendar sync. After the OS update, when I connected to the internet and re-enabled the Google presence, the Jolla suddenly started syncing up my Gmail box, even though email sync for Google email was _disabled_. As the number of synced messages grew, the Jolla became less and less responsive, to the point that I couldn't even launch Settings anymore to try and at least disable the Internet connections.

I could not even power off the device, as a long press to the power button resulted in the screen going black (after a ridiculously long time) but the _red_ LED never going off, and obviously I couldn't even turn it ON again. I had to force it off by removing the battery.

After a reboot the system came up smoothly, but in the Events area I still had the notice about the 3K emails from Google. I made the mistake of clicking on it, which resulted in the Email app coming up … and locking up the system again: I couldn't even reliably click on the force-quit X when the notification about email not responding came up.

After a LONG time of not touching the system, the situation seems to have gone back to normal, with the Google email notification disappearing and the system being responsive again, but I fear something like this might happen again.

(Plus, now I want to make sure I don't have 3K unwanted emails lying around. How can I clear this up?)

edit retag flag offensive close delete

Comments

1

Thanks for this report. The fact that the synchronization of an unrelated service was enabled erroneously during the upgrade is a very serious bug. Can you please confirm: did the schedule settings for the non-Google email account get applied to the Google one (i.e., does the Google Gmail service now get synced every 15 minutes as per the other one?) or was the Gmail schedule merely enabled but not copied from the other one? I'm just trying to figure out what the cause of the bug might have been.

chris.adams ( 2015-09-28 12:22:18 +0300 )edit

Sorry for the very late reply. The settings did not get copied over. Instead, Gmail was enabled on its own. Moreover, the settings of the Googled account were completely out of whack (things that should have been enabled weren't, and conversely), as if the settings storage had been corrupted on the last save and/or read incorrectly on first load with the new version.

bilog ( 2015-10-18 10:03:40 +0300 )edit

I see. We will try to investigate, but without concrete reproduction steps it will be difficult for us to track down precisely what occurred in your case, unfortunately. Thank you for the report. If anyone else has suffered something similar, can you please add your information to the thread as a comment? The more information we have, the more likely we'll be able to figure out what is occurring in these cases and why.

chris.adams ( 2015-10-19 10:09:27 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-10-22 01:32:53 +0300

criseth gravatar image

updated 2015-10-22 01:33:43 +0300

Hello everyone. Since Monday I'm a proud user of the Jolla Phone. I got it with SailfishOS2 on it - and wondered that the phone has abandoned after 30 minutes of use. i just installed some apps, synchronized my emails with my gmx account, after about 30 minutes i had the same problem like in the comments above (no power off, red led and so on.)

I had to reset to factory settings. after that the phone worked very well again. i used it about 2-3 hours, after a while it quit its service again. and again, just two minutes before, i synced my emails.

factory setting again. NOT ever synced emails - no problems for 3 days! So i guess the bugs really the syncronization of a email account to the email-app on jolla. the app has shown about 3700 unread emails, i could mark all but i cant mark as read.

perhaps the emails were loaded into memory - and the phone was so slow because of full memory? I hope there will be a bug fix soon! If you have any questions feel free to ask. i'm going to support as well as i can! :)

edit flag offensive delete publish link more

Comments

In what circumstances do you get the power-off/red-led behaviour: does it occur upon opening the email application after a sync has occurred; OR does it occur as a result of simply syncing? I assume the former is the case - if so, we will need to investigate the email application's UI code. However, if the latter is the case (i.e., just caused by syncing) then it's more likely something to do with large power-draw - in which case, ensuring that your battery connections are cleaned and that there is strong contact, will help.

chris.adams ( 2015-10-22 09:54:23 +0300 )edit
2

Another possibility is a memory leak in our code which submits notifications to the events view about emails. If we are leaking there, then we are potentially producing far too many notifications, resulting in the homescreen taking up too much memory and being killed by the out-of-memory killer... Interesting possibility... I will ping our email and notifications expert about this one, to see if we can investigate further.

chris.adams ( 2015-10-22 09:55:33 +0300 )edit

Battery Connection aws there, no problem with the battery. The other possibility would fit to my described problem. perhaps a bug with the notification, because i recognized it when i opened the notifications-screen and saw my 37xx emails. looking forwarsd to an update :)

criseth ( 2015-10-25 12:53:30 +0300 )edit

What version of SailfishOS are you using, out of interest? In the 2.0.0.x update, there are a couple of changes of note which may alleviate your problem already. The first is that we now limit the number of notifications to 100 per email account. The second is that we don't iterate over active notifications in JavaScript code in the same way that we did previously (the new way uses much less memory).

If you are using 1.1.9.x then I hope that the upcoming update will resolve your issues. If you are an early-access user who is currently using 2.0.0.x then we may have to continue investigating this one...

chris.adams ( 2015-10-26 11:22:40 +0300 )edit

now i am using Version 2.0.0.10, Sailfish OS Saimaa. Yesterday i updated it to the newest version and i'm syncing my emails at the moment. hope it works - gonna comment tomorrow again. thank you for your great work :)

criseth ( 2015-10-27 22:49:09 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-09-24 21:57:59 +0300

Seen: 298 times

Last updated: Oct 22 '15