Bug 9334 - (int-158785) Corrupted isync_mailstore.db causes process 'intellisync' restarting in short intervals
(int-158785)
: Corrupted isync_mailstore.db causes process 'intellisync' restarting in short...
Status: RESOLVED FIXED
Product: Email
Nokia Messaging Service
: 5.0/(3.2010.02-8)
: N900 Maemo
: Unspecified critical with 1 vote (vote)
: 5.0/(20.2010.36-2)
Assigned To: unassigned
: nokia-messaging-service-bugs
:
: use-time
:
:
  Show dependency tree
 
Reported: 2010-03-01 12:17 UTC by Roman Kapusta
Modified: 2010-10-25 17:12 UTC (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Roman Kapusta (reporter) 2010-03-01 12:17:56 UTC
SOFTWARE VERSION:
(Settings > General > About product)

EXACT STEPS LEADING TO PROBLEM: 
(Explain in detail what you do (e.g. tap on OK) and what you see (e.g. message
Connection Failed appears))
1. updated to 3.2010.02-8
2. noticed quick battery drain (after 10 hours without use, wifi off, bluetooth
off - phone is from full to near empty battery)
3. brief investigated problem and found process /usr/bin/intellisync restarting
every cca 4 seconds - pid of process with this name is raising every few
seconds, /usr/bin/intellisync consumes about 5-10% cpu

EXPECTED OUTCOME:
/usr/bin/intellisync will work or stop permanently - what is exact purpose of
this process?
It is connecting to email.nokia.com but I have Nokia Messaging removed from my
email accounts.

ACTUAL OUTCOME:
/usr/bin/intellisync does not work

REPRODUCIBILITY:
(always, less than 1/10, 5/10, 9/10)
from the moment I noticed problem process is restaring several hours with
interval cca 4 seconds.
After phone reboot, it looks that process is restarting in longer intervals cca
5-10 seconds.

EXTRA SOFTWARE INSTALLED:


OTHER COMMENTS:
How to stop this process from respawnig?

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.8)
Gecko/20100216 Fedora/3.5.8-1.fc12 Firefox/3.5.8
Comment 1 Roman Kapusta (reporter) 2010-03-01 12:34:37 UTC
Short excerpt from syslog:

Mar  1 11:22:35 Nokia-N900-02-8 NOKIAMESSAGING: Starting Intellisyncd normally
Mar  1 11:22:35 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default -
getProcessID(/usr/bin/intellisyncd) :Found. id = 2391 
Mar  1 11:22:35 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default - 1
instances of /usr/bin/intellisyncd running
Mar  1 11:22:35 Nokia-N900-02-8 kernel: [ 1281.854949] wl1251: down
Mar  1 11:22:35 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default - FW:
03/01 11:22:35.987^IStart IMS
Mar  1 11:22:36 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default - FW:
03/01 11:22:36.072^ILoading user & server defaults
Mar  1 11:22:36 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default - FW:
03/01 11:22:36.074^Isettings - has user & server
Mar  1 11:22:36 Nokia-N900-02-8 intellisyncd[2391]: GLIB MESSAGE default - FW:
03/01 11:22:36.110^ILoading user & server defaults DONE
Mar  1 11:22:50 Nokia-N900-02-8 NOKIAMESSAGING: Starting Intellisyncd normally
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default -
getProcessID(/usr/bin/intellisyncd) :Found. id = 2410 
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default - 1
instances of /usr/bin/intellisyncd running
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default - FW:
03/01 11:22:50.563^IStart IMS
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default - FW:
03/01 11:22:50.660^ILoading user & server defaults
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default - FW:
03/01 11:22:50.662^Isettings - has user & server
Mar  1 11:22:50 Nokia-N900-02-8 intellisyncd[2410]: GLIB MESSAGE default - FW:
03/01 11:22:50.699^ILoading user & server defaults DONE
Mar  1 11:22:57 Nokia-N900-02-8 kernel: [ 1303.894683] musb_hdrc periph:
enabled ep1in for bulk IN, maxpacket 512
Mar  1 11:22:57 Nokia-N900-02-8 kernel: [ 1303.894744] musb_hdrc periph:
enabled ep1out for bulk OUT, maxpacket 512
Mar  1 11:22:57 Nokia-N900-02-8 kernel: [ 1303.894775] g_file_storage gadget:
high speed config #1
Mar  1 11:23:00 Nokia-N900-02-8 NOKIAMESSAGING: Starting Intellisyncd normally
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default -
getProcessID(/usr/bin/intellisyncd) :Found. id = 2424 
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default - 1
instances of /usr/bin/intellisyncd running
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default - FW:
03/01 11:23:00.616^IStart IMS
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default - FW:
03/01 11:23:00.706^ILoading user & server defaults
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default - FW:
03/01 11:23:00.708^Isettings - has user & server
Mar  1 11:23:00 Nokia-N900-02-8 intellisyncd[2424]: GLIB MESSAGE default - FW:
03/01 11:23:00.741^ILoading user & server defaults DONE
Mar  1 11:23:10 Nokia-N900-02-8 NOKIAMESSAGING: Starting Intellisyncd normally
Mar  1 11:23:10 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default -
getProcessID(/usr/bin/intellisyncd) :Found. id = 2434 
Mar  1 11:23:10 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default - 1
instances of /usr/bin/intellisyncd running
Mar  1 11:23:11 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default - FW:
03/01 11:23:11.014^IStart IMS
Mar  1 11:23:11 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default - FW:
03/01 11:23:11.100^ILoading user & server defaults
Mar  1 11:23:11 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default - FW:
03/01 11:23:11.102^Isettings - has user & server
Mar  1 11:23:11 Nokia-N900-02-8 intellisyncd[2434]: GLIB MESSAGE default - FW:
03/01 11:23:11.133^ILoading user & server defaults DONE
Comment 2 Roman Kapusta (reporter) 2010-03-01 12:48:59 UTC
my (I hope temporary) solution is to uninstall nokiamessaging package, but it
removed also package mp-fremantle-002-pr. Problem disappeared, but I don't know
if these packages are needed for something.
Comment 3 Andre Klapper maemo.org 2010-03-01 13:30:36 UTC
What is the output if you strace it?
See http://wiki.maemo.org/Documentation/devtools/maemo5 and
http://wiki.maemo.org/Documentation/devtools/maemo5/strace for more
information.

Also I would have expected some "init: nokiamessaging main process ended,
respawning" output in the syslog, on the other hand I don't have much clue in
this area I must admit.
Comment 4 Roman Kapusta (reporter) 2010-03-01 17:15:36 UTC
There was problem with access to database file
/home/user/.intellisyncd/isync_mailstore.db or its journal
/home/user/.intellisyncd/isync_mailstore.db-journal; I removed these isync
files and problem disappeared, now I cannot replicate that problem (or are
strace logs saved somewhere by default?)

Now even Nokia Messaging send/receive works which stopped working 2 weeks ago.
Long before update to 3.2010.02-8. I have submitted problem with Nokia
Messaging under https://bugs.maemo.org/show_bug.cgi?id=8311.
Comment 5 Andre Klapper maemo.org 2010-06-30 13:44:57 UTC
This is not reproducible in recent builds and hence very likely fixed already.
Comment 6 Andre Klapper maemo.org 2010-10-25 17:12:31 UTC
The problem reported here should be fixed in the update that was released today
for public: The Maemo5 update version 20.2010.36-2 (also called "PR1.3"
sometimes). Please leave a comment if the problem is not fixed for you in this
update version.