Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 379871

Summary: kmail does not handle connection loss gracefully
Product: Red Hat Enterprise Linux 5 Reporter: Patrick C. F. Ernzer <pcfe>
Component: kdepimAssignee: Lukáš Tinkl <ltinkl>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: jgrulich, tuju
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-16 19:05:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace none

Description Patrick C. F. Ernzer 2007-11-13 12:50:12 UTC
Description of problem:
kmail will crash sometimes if connectivity is lost at the wrong moment. This is
really annoying for users who are on a flaky link (say UMTS on a train).

Version-Release number of selected component (if applicable):
kdepim-3.5.4-4.fc6

How reproducible:
takes a while but will eventually crash

Steps to Reproduce:
1. start kmail
2. make sure you have an IMAP server configured
3. set the check mail interval to 2 minutes
4. run the following in a root sheel to simulate flaky link
# while true; do echo down;ifdown eth0;sleep 15;echo up;ifup eth0; sleep
30;date;done
  
Actual results:
eventually kmail will crash, I've had runs where this reproducer crashed in less
than 10 minutres and runs where it took > 30 minutes (at which point I went home
for the night to find it crashed in the morning)


Expected results:
A mail user agent needs to be able to deal with connectivity loss without crashing

Additional info:
I've installed kdepim-debuginfo-3.5.4-4.fc6.i386.rpm to get a decent backtrace
from the kde crash tool. Do tell if you want further tests run.

Comment 1 Patrick C. F. Ernzer 2007-11-13 12:50:12 UTC
Created attachment 256811 [details]
backtrace