Bug#338125: Resyncing IMAP folder causes 100% CPU load

2007-05-08 Thread Mario Lipinski
Hello,

the problem was introduced to me with some update after GNOME 2.18.
However it only happens with one IMAP account out of three. Where there
is another on the same server which works fine.

Mario


smime.p7s
Description: S/MIME Cryptographic Signature


Bug#338125: Resyncing IMAP folder causes 100% CPU load

2007-05-08 Thread Øystein Gisnås

2007/5/8, Mario Lipinski [EMAIL PROTECTED]:

Hello,

the problem was introduced to me with some update after GNOME 2.18.
However it only happens with one IMAP account out of three. Where there
is another on the same server which works fine.


Thanks for your report, Mario. If you have a chance to debug this a
bit, we might even solve the problem. It would be nice if you could
turn on some debugging output when you reproduce the hang.

Try start evolution-data-server in a shell with for example the
command 'evolution --force-shutdown;
/usr/lib/evolution/evolution-data-server-1.10'. Start evolution in
another shell with 'LC_ALL=C CAMEL_DEBUG=all evolution'. Now do the
necessary steps to provoke the hang. Could you report the output from
the two terminals? It would be interesting to see the whole sequence
of events - what was the sequence of your actions and when did you get
the corresponding output.

Cheers,
Øystein Gisnås



Bug#338125: Resyncing IMAP folder causes 100% CPU load

2007-05-08 Thread Mario Lipinski
Am Dienstag, den 08.05.2007, 22:46 +0200 schrieb Øystein Gisnås:
 2007/5/8, Mario Lipinski [EMAIL PROTECTED]:
 necessary steps to provoke the hang. Could you report the output from
 the two terminals? It would be interesting to see the whole sequence
 of events - what was the sequence of your actions and when did you get
 the corresponding output.

The file attached is much shortened. But it might suffice to find the
problem.

The account with the problem was deactivated when starting evolution to
seperate the introduction of the problem from the many other events
happening when starting up.
I started evolution. Let the other folders synchronize and after the
program was idle, went to the settings dialogue. That is when the log
begins (apart from first lines). Then I activated the account. The last
error message repeats all the time - maybe there loops sth.
Removed some of them from the middle - there were no other messages.

Let me know if you need some more input.

Mario
Script started on Di 08 Mai 2007 22:56:23 CEST
]0;[EMAIL PROTECTED]: [EMAIL PROTECTED]:~$ exitLC_ALL=C CAMEL_DEBUG=all 
evolution
CalDAV Eplugin starting up ...



Thread b67f3a60 
CamelStore('imap://[EMAIL PROTECTED]'):get_folder('.#evolution/Trash', 0) = 
0x83bd708
 b67f3a60 
Thread b67f3a60 
CamelStore('imap://[EMAIL PROTECTED]'):get_folder('.#evolution/Junk', 0) = 
0x83bd6b0
 b67f3a60 
get folder info online
get folder info offline
Thread b5b9db90 
Get folder info(0x82264b0:imap://[EMAIL PROTECTED], 'null') =
  uri: imap://[EMAIL PROTECTED]/INBOX
  full_name: INBOX
  flags: 00010454
uri: imap://[EMAIL PROTECTED]/INBOX/Bounces
full_name: INBOX/Bounces
flags: 0008
uri: imap://[EMAIL PROTECTED]/INBOX/Drafts
full_name: INBOX/Drafts
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/SNORT
full_name: INBOX/SNORT
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/Spam
full_name: INBOX/Spam
flags: 0008
uri: imap://[EMAIL PROTECTED]/INBOX/Trash
full_name: INBOX/Trash
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/Verschickt
full_name: INBOX/Verschickt
flags: 0018
  uri: imap://[EMAIL PROTECTED]/.%23evolution/Trash
  full_name: .#evolution/Trash
  flags: 0cf2
  uri: imap://[EMAIL PROTECTED]/.%23evolution/Junk
  full_name: .#evolution/Junk
  flags: 10f2
 b5b9db90 
get folder info online
get folder info offline
Thread b5b9db90 
Get folder info(0x82264b0:imap://[EMAIL PROTECTED], 'null') =
  uri: imap://[EMAIL PROTECTED]/INBOX
  full_name: INBOX
  flags: 00010454
uri: imap://[EMAIL PROTECTED]/INBOX/Bounces
full_name: INBOX/Bounces
flags: 0008
uri: imap://[EMAIL PROTECTED]/INBOX/Drafts
full_name: INBOX/Drafts
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/SNORT
full_name: INBOX/SNORT
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/Spam
full_name: INBOX/Spam
flags: 0008
uri: imap://[EMAIL PROTECTED]/INBOX/Trash
full_name: INBOX/Trash
flags: 0018
uri: imap://[EMAIL PROTECTED]/INBOX/Verschickt
full_name: INBOX/Verschickt
flags: 0018
  uri: imap://[EMAIL PROTECTED]/.%23evolution/Trash
  full_name: .#evolution/Trash
  flags: 0cf2
  uri: imap://[EMAIL PROTECTED]/.%23evolution/Junk
  full_name: .#evolution/Junk
  flags: 10f2
 b5b9db90 
received: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION 
STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.  See 
COPYING for distribution information.
sending : C0 CAPABILITY
received: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
received: C0 OK CAPABILITY completed
sending : C1 LOGIN xxx xxx
received: C1 OK LOGIN Ok.
sending : C2 NAMESPACE
received: * NAMESPACE ((INBOX. .)) NIL ((#shared. .)(shared. .))
received: C2 OK NAMESPACE completed.
Thread b31ffb90 
CamelStore('imap://[EMAIL PROTECTED]'):get_folder('INBOX', 0) = 0xb0da1cfc
 b31ffb90 
Thread b31ffb90 
CamelStore('imap://[EMAIL PROTECTED]'):get_folder('INBOX/Spam', 0) = 0xaee5bb58
 b31ffb90 
sending : C3 SELECT INBOX
received: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
received: * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] 
Limited
received: * 98 EXISTS
received: * 0 RECENT
received: * OK [UIDVALIDITY 1067177987] Ok
received: * OK [MYRIGHTS acdilrsw] ACL
received: C3 OK [READ-WRITE] Ok
sending : C4 UID COPY 19443 INBOX.Spam
received: C4 OK [COPYUID 1133033380 19443 266] COPY completed.
Thread b31ffb90 
CamelStore('imap://[EMAIL PROTECTED]'):get_folder('INBOX/SNORT', 0) = 0xaee5bb0c
 b31ffb90 
CamelException.setv((nil), 107, 'Cannot get message: tempuid-4630a0de-0
  No such message')
CamelException.setv((nil), 107, 'Cannot get message: tempuid-4630a0de-0
  No such message')

Bug#338125: Resyncing IMAP folder causes 100% CPU load

2007-05-08 Thread Øystein Gisnås

2007/5/8, Mario Lipinski [EMAIL PROTECTED]:

Am Dienstag, den 08.05.2007, 22:46 +0200 schrieb Øystein Gisnås:
 2007/5/8, Mario Lipinski [EMAIL PROTECTED]:
 necessary steps to provoke the hang. Could you report the output from
 the two terminals? It would be interesting to see the whole sequence
 of events - what was the sequence of your actions and when did you get
 the corresponding output.

The file attached is much shortened. But it might suffice to find the
problem.

The account with the problem was deactivated when starting evolution to
seperate the introduction of the problem from the many other events
happening when starting up.
I started evolution. Let the other folders synchronize and after the
program was idle, went to the settings dialogue. That is when the log
begins (apart from first lines). Then I activated the account. The last
error message repeats all the time - maybe there loops sth.
Removed some of them from the middle - there were no other messages.

Let me know if you need some more input.


I like your ideas there. To me it seems like the INBOX/SNORT folder is
a clue. Do you have a folder called INBOX/SNORT? If so, either the
folder itself is the problem, or a message in there. Maybe you can
move all the messages, and maybe also the folder somewhere else. Once
you see a change, you can start moving messages one by one, two by two
or whatever you like until we've pinpointed the problematic
message/folder.

Øystein



Bug#338125: Resyncing IMAP folder causes 100% CPU load

2007-05-08 Thread Mario Lipinski
Am Dienstag, den 08.05.2007, 23:25 +0200 schrieb Øystein Gisnås:
 2007/5/8, Mario Lipinski [EMAIL PROTECTED]:
  Am Dienstag, den 08.05.2007, 22:46 +0200 schrieb Øystein Gisnås:
   2007/5/8, Mario Lipinski [EMAIL PROTECTED]:
   necessary steps to provoke the hang. Could you report the output from
   the two terminals? It would be interesting to see the whole sequence
   of events - what was the sequence of your actions and when did you get
   the corresponding output.
 
  The file attached is much shortened. But it might suffice to find the
  problem.
 
  The account with the problem was deactivated when starting evolution to
  seperate the introduction of the problem from the many other events
  happening when starting up.
  I started evolution. Let the other folders synchronize and after the
  program was idle, went to the settings dialogue. That is when the log
  begins (apart from first lines). Then I activated the account. The last
  error message repeats all the time - maybe there loops sth.
  Removed some of them from the middle - there were no other messages.
 
  Let me know if you need some more input.
 
 I like your ideas there. To me it seems like the INBOX/SNORT folder is
 a clue. Do you have a folder called INBOX/SNORT? If so, either the
 folder itself is the problem, or a message in there. Maybe you can
 move all the messages, and maybe also the folder somewhere else. Once
 you see a change, you can start moving messages one by one, two by two
 or whatever you like until we've pinpointed the problematic
 message/folder.

Yes. I got a INBOX/SNORT folder. But i got a file  tempuid-4630a0de-0 in
INBOX/Spam in the evolution storage. Or do i get on the wrong track
here?

How should i move things? In the evolution home directory? Or on the
IMAP server?

Mario


smime.p7s
Description: S/MIME cryptographic signature