Bug 270506

Summary: kmail won't recover or quit after lost connection while checking mail
Product: [Applications] kmail Reporter: Leon Maurer <leon.maurer>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lamarque
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Leon Maurer 2011-04-09 16:15:37 UTC
Version:           1.13.5 (using KDE 4.6.2) 
OS:                Linux

If my network connection is interrupted while kmail is checking mail (or even, I think, if the connection goes down before kmail tries to check for mail), the checks in progress will hang and not start up again even after the connection is restored. Not even quitting kontact will stop the hung mail checks; this is what I see after quitting kontact following a hung mail check:


leon@leon-desktop:~$ ps ax | grep kontact
16136 ?        Sl     0:37 /usr/bin/kontact
16139 ?        S      0:00 kdeinit4: kio_imap4 [kdeinit] imaps local:/tmp/ksocket-leon/klauncherMT2229.slave-socket local:/tmp/ksocket-leon/kontactN16136.slave-socket
16140 ?        S      0:08 kdeinit4: kio_imap4 [kdeinit] imaps local:/tmp/ksocket-leon/klauncherMT2229.slave-socket local:/tmp/ksocket-leon/kontactZ16136.slave-socket
16690 pts/0    S+     0:00 grep kontact

I can't start kontact again until I kill the old kontact ("kill 16136" in this case).

This is a major annoyance; every time I put my computer to sleep with kmail running, unplug my laptop's ethernet connection with kmail running, etc. I either have to quit kontact preemptively or do the commandline routine I outlined.

This might be related to bugs 224900, 113139, and/or 240350. This problem has existed for some time; it's not some new regression.

Reproducible: Always
Comment 1 Lamarque V. Souza 2011-04-09 23:33:09 UTC

*** This bug has been marked as a duplicate of bug 240350 ***