Ask / Submit

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-12-07 14:49:24 +0200

Contacts temporarily disappear

On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.

My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.

I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.

Contacts temporarily disappear

On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.

My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.

I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.

Update. The problem has gotten worse and contactsd daemon is often running at 100% load, also quickly draining the battery. (but problem partly solved, see below).

Contacts temporarily disappear

On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.

My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.

I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.

Update. The problem has gotten worse and contactsd daemon is often running at 100% load, also quickly draining the battery. (but problem partly solved, see below).

Update 2.

I've looked at the problem again and noticed that the contacts DB grows for every sync. After enabling google contacts, initially the DB is smaller than 2 MB. Now for every sync it is growing. I looked at the sqlite DB and it is creating duplicates of addresses and names, emails etc. but mostly it is creating rows in the DeletedContacts table. After letting it run for a couple of months the contacts DB is several hundred Megabytes large (DeletedContacts 30.000+ rows). And google contacts haven't changed almost at all. It almost sounds like the sync tool thinks that contacts need to be deleted and are syncing them again.

Contacts temporarily disappear

On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.

My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.

I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.

Update. The problem has gotten worse and contactsd daemon is often running at 100% load, also quickly draining the battery. (but problem partly solved, see below).

Update 2.2 (2018-05-18).

I've looked at the problem again and noticed that the contacts DB grows for every sync. After enabling google contacts, initially the DB is smaller than 2 MB. Now for every sync it is growing. I looked at the sqlite DB and it is creating duplicates of addresses and names, emails etc. but mostly it is creating rows in the DeletedContacts table. After letting it run for a couple of months the contacts DB is several hundred Megabytes large (DeletedContacts 30.000+ rows). And google contacts haven't changed almost at all. It almost sounds like the sync tool thinks that contacts need to be deleted and are syncing them again.

Contacts temporarily disappear

On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.

My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.

I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.

Update. The problem has gotten worse and contactsd daemon is often running at 100% load, also quickly draining the battery. (but problem partly solved, see below).

Update 2 (2018-05-18).

I've looked at the problem again and noticed that the contacts DB grows for every sync. After enabling google contacts, initially the DB is smaller than 2 MB. Now for every sync it is growing. I looked at the sqlite DB and it is creating duplicates of addresses and names, emails etc. but mostly it is creating rows in the DeletedContacts table. After letting it run for a couple of months the contacts DB is several hundred Megabytes large (DeletedContacts 30.000+ rows). And google contacts haven't changed almost at all. It almost sounds like the sync tool thinks that contacts need to be deleted and are syncing them again.

Update 3 (2018-05-24).

Finally solved. See last answer below.