Bug 134984

Summary: Imap hangs after some time of inactivity
Product: [Unmaintained] kmail Reporter: Felix Seeger <seeger>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: patrick.hallen, paul.leopardi
Priority: NOR    
Version: 1.9.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Felix Seeger 2006-10-02 11:14:22 UTC
Version:           1.9.4 (using KDE 3.5.4, compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.1

kio-imap often hangs here on my machine. I have kmail configured with pop for internal company mail and imap for my dyndns imap server at home server.

The problem occurs by selecting an imap folder or checking mail. I get the blue "Retrieving Folder Contents" screen which doesn't go away anymore. Even selecting a pop Folder, the screen sometimes doesn't go away, the status bar on the bottom right shows "Checking account: Privat".

The only thing that helps is closing kmail, and killing kio_imap4. Sometimes killing kio_imap4 is enought.
Comment 1 Felix Seeger 2006-10-02 11:54:14 UTC
Something I forgot: I am using SSL with CRAM-MD5 Authentication.

Comment 2 Felix Seeger 2006-10-02 12:55:25 UTC
Looking with gdb on kio_imap4 shows the following:

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6a86f41 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb77bbb96 in KSocks::select () from /opt/kde3/lib/libkdecore.so.4
#3  0xb7ccf398 in KIO::TCPSlaveBase::waitForResponse () from /opt/kde3/lib/libkio.so.4
#4  0xb5e13ca5 in IMAP4Protocol::parseReadLine () from /opt/kde3/lib/kde3/kio_imap4.so
#5  0xb5e3742b in imapParser::parseLoop () from /opt/kde3/lib/kde3/kio_imap4.so
#6  0xb5e38dca in imapParser::doCommand () from /opt/kde3/lib/kde3/kio_imap4.so
#7  0xb5e282f0 in IMAP4Protocol::special () from /opt/kde3/lib/kde3/kio_imap4.so
#8  0xb7cdc2a9 in KIO::SlaveBase::dispatch () from /opt/kde3/lib/libkio.so.4
#9  0xb5e23199 in IMAP4Protocol::dispatch () from /opt/kde3/lib/kde3/kio_imap4.so
#10 0xb7cdcf23 in KIO::SlaveBase::dispatchLoop () from /opt/kde3/lib/libkio.so.4
#11 0xb5e137e6 in kdemain () from /opt/kde3/lib/kde3/kio_imap4.so
#12 0x0804e330 in launch ()
#13 0x0804ecb5 in handle_launcher_request ()
#14 0x0804f16a in handle_requests ()
#15 0x080504e6 in main ()
(gdb)

The bt doesn't change if I try to cancle the job over the bottom right status bar, or if I repress the "Check In Mail" button.
Comment 3 paul.leopardi 2006-11-06 13:07:04 UTC
Same or similar problem here. Kmail 1.9.5 from kdepim3 3.5.5-5.1 with KDE 3.5.5 on SUSE 10.1 AMD64. I also run multiple kmail IMAP clients at different locations all talking to the same IMAP server. Each client uses a different version of Kmail.

Comment 4 Simon 2006-11-22 11:00:21 UTC
Same problem here with kmail 1.9.3.
Network trace shows the dialog with the IMAP server continues fine during the mail checking which carries on in the background, but the blue screen never goes away.
Comment 5 Felix Seeger 2007-08-12 07:54:53 UTC
I can reproduce it with the last kmail version from kde3 svn.
Comment 6 Marcus Better 2007-08-19 20:53:51 UTC
Same issue with (non-disconnected) IMAP/TLS connection, using Debian KDE 3.5.7-2.
Comment 7 Patrick Hallen 2008-12-20 20:02:16 UTC
I think this might be a duplication of bug <a href="https://bugs.kde.org/show_bug.cgi?id=132088">132088</a>
Comment 8 Thomas McGuire 2010-06-01 22:15:15 UTC

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