Bug 158043 - Hangs when accessing IMAP folder and IMAP resource is enabled
Summary: Hangs when accessing IMAP folder and IMAP resource is enabled
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.9
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-02-19 12:26 UTC by Elan Ruusamäe
Modified: 2015-04-12 10:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
three backtraces (32.87 KB, text/plain)
2008-03-03 16:33 UTC, Elan Ruusamäe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2008-02-19 12:26:07 UTC
Version:           1.9.9 (using 3.5.9, PLD Linux Distribution)
Compiler:          gcc version 3.3.6 (PLD Linux)
OS:                Linux (x86_64) release 2.6.16.60-6smp

kmail, and all other kde applications that access the IMAP KDE Resource hung at some point. noticed that first time i try to access email from imap.

only way to get kopete for example to startup is killall kmail and kontact

this didn't happen to me with kde 3.5.8, but with upgrade to 3.5.9

sometimes can't even startup kmail, have to kill until none of kmail,kontact is running and then try again:

shell1$ kmail
ERROR: Communication problem with kmail, it probably crashed.

shell2$ $ killall -v kmail kontact
Killed kmail(15661) with signal 15
Killed kontact(15739) with signal 15
Killed kontact(15740) with signal 15
Killed kmail(15863) with signal 15
Killed kmail(15864) with signal 15


however disabling use of all IMAP based resources (which is DIMAP btw) makes the hungs go away.
Comment 1 Thomas McGuire 2008-02-27 21:21:10 UTC
Might be the same as or related to bug 89345.
Comment 2 Elan Ruusamäe 2008-03-03 16:33:04 UTC
Created attachment 23771 [details]
three backtraces

here's backtrace when it hung, i hit ctrl+c and ran bt
Comment 3 Elan Ruusamäe 2008-04-08 20:41:45 UTC
my setup does't eat the cpu, it just stops responding (application isn't even painted).

my regular kmail startup involves:
$ kmail
// i access something that involves access from KDE Resource (say open email and it lookups email address from addressbook)
$ killall -v kmail
$ killall -v kmail
// i enter wallet password
// kontact appears up (i din't start it!!), but luckily from it i can read mail as it has kmail_part inside.



21:29:44 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
21:29:46 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
glen      6196 Tue Apr  8 21:29:49 2008 ?         90692 32292 Sl   kmail -caption KMail -icon kmail -miniicon kmail
glen      6223 Tue Apr  8 21:32:59 2008 ?         34436 13036 S    kontact --iconify
glen      6224 Tue Apr  8 21:32:59 2008 ?         44748 19432 S    kontact --iconify
21:33:11 glen[pts/5]@ravenous /media/data$ killall -v kmail
Killed kmail(6196) with signal 15
21:33:13 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
glen      6196 Tue Apr  8 21:29:49 2008 ?         90692 33128 Sl   kmail -caption KMail -icon kmail -miniicon kmail
glen      6223 Tue Apr  8 21:32:59 2008 ?         34436 13036 S    kontact --iconify
glen      6224 Tue Apr  8 21:32:59 2008 ?         44748 19432 S    kontact --iconify
21:33:18 glen[pts/5]@ravenous /media/data$ killall -v kmail
Killed kmail(6196) with signal 15
21:33:21 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
glen      6224 Tue Apr  8 21:32:59 2008 ?         54632 26812 R    kontact --iconify
glen      6257 Tue Apr  8 21:33:21 2008 ?         42000 16732 S    kmail
glen      6258 Tue Apr  8 21:33:21 2008 ?         42000 16732 S    kmail
glen      6259 Tue Apr  8 21:33:22 2008 ?             0     0 Z    [kmail] <defunct>
glen      6260 Tue Apr  8 21:33:22 2008 ?             0     0 Z    [kmail] <defunct>
21:33:23 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
glen      6224 Tue Apr  8 21:32:58 2008 ?         93780 35184 Sl   kontact --iconify
glen      6257 Tue Apr  8 21:33:20 2008 ?         42000 16732 S    kmail
glen      6260 Tue Apr  8 21:33:21 2008 ?             0     0 Z    [kmail] <defunct>
21:33:57 glen[pts/5]@ravenous /media/data$ lsp kmail,kontact
USER       PID                  STARTED TT          VSZ   RSS STAT CMD
glen      6224 Tue Apr  8 21:32:58 2008 ?         95900 38008 Sl   kontact --iconify
21:34:00 glen[pts/5]@ravenous /media/data$


Comment 4 Dominik Tritscher 2009-04-04 10:16:02 UTC
Didn't had any problems here using kmail 1.11.90 from trunk. Last activity on this report was now nearly a year ago. Do you still suffer this problem with a more recent version? Like from KDE 4.2.x or so..
Comment 5 Elan Ruusamäe 2009-04-07 22:09:40 UTC
there's no crash now, if i start kmail, it keeps starting itself even if i do quit from kmail File->Quit menu.

The loop can be broken if i start kontact, not kmail, which is what i do nowadays.

so the bug is still there, but little lighter.
Comment 6 Jaime Torres 2009-04-17 23:48:31 UTC
@Comment #5 looks like a duplicate of bug 189824.
Comment 7 Laurent Montel 2015-04-12 10:01:42 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.