Bug 242126 - IMAP stays running for hours after shutting down KMail
Summary: IMAP stays running for hours after shutting down KMail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 03:24 UTC by jmaldrich
Modified: 2015-04-12 09:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmaldrich 2010-06-19 03:24:57 UTC
Version:           1.13.3 (using KDE 4.4.4) 
OS:                Linux

I connect to my Fedora 13 machine from work using SSH and VNC. When I leave for the day, I shut down all the applications, including KMail and then kill the VNC session by shutting down the VNC server. When I get home and fire up KMail, more often than not, if I don't make sure that everything is shut down, including Akonadi, KMail will hang when I compose a new message and go to send it. I checked just as I was opening KMail tonight, but before I put in my KWallet password, and IMAP was still running more than 4 hours after I shut down KMail and VNC.

Reproducible: Sometimes

Steps to Reproduce:
Start KMail in a remote desktop session (don't know if it works in anything but VNC) and then shut it down and bring KMail up locally after waiting an hour. My configuration includes 2 IMAP accounts and multiple POP3 accounts. Then go to compose a message.

Actual Results:  
KMail will freeze and be totally unresponsive. You can change between the composer window and the message list, but cannot change folders in the message list.

Expected Results:  
KMail should allow me to compose and send a message as normal.

I have multiple POP3 accounts from different providers. I have a Fastmail.fm account and a SpamCop.net account. Both are IMAP accounts.
Comment 1 jmaldrich 2010-06-25 14:49:16 UTC
I am no longer convinced it's IMAP that's causing the problem. All I know is that after closing KMail in the VNC session and shutting down the VNC server, when I come back to the local console and try to send an email after launching KMail from the local console, about 99% of the time, it hangs until I kill KMail, Akonadi and all POP/IMAP sessions. Once I have done that and restarted KMail all is well until the next day when I log into the local console after a VNC session.
Comment 2 Björn Ruberg 2010-08-08 01:44:53 UTC
This is no crash
Comment 3 Laurent Montel 2015-04-12 09:44:23 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.