[Bug 287424] New: Stream parser exception fills hard drive

Corey Schuhen corey_bugs at schuhen.net
Thu Nov 24 02:56:32 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=287424

           Summary: Stream parser exception fills hard drive
           Product: kmail2
           Version: 4.7
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: corey_bugs at schuhen.net


Version:           4.7 (using KDE 4.7.2) 
OS:                Linux


I have one IMAP account setup, it started to download my email and all seemed
ok until I realise that my hard drive is full. After investigating, it appears
that KDE is writing the following string to my ~/.xsession-errors file:

The stream parser raised an exception: Inconsistent state, probably due to some
packet loss


This is really really bad because even after nulling it, it fills up REALLY
fast. Putting an error message in such a fast loop seems really bad design to
me, regardless of what the root cause is. The file is growing at a rate of
about 6MB/sec.



Reproducible: Always

Steps to Reproduce:
Setup a single account using IMAP. It's an exchange server. Works fine with the
old kmail1. There is about 10G of mail, which it was downloading ok initially. 

Actual Results:  
No new mail downloaded and hard drive fills up causing MANY things to break.
Even my text editor refused to run because it could not create a temporary
file.

Expected Results:  
!Actual Results

I did actually loose some data because the first time that it happened I could
not save some files that I had open.

Regardless of if the root cause is found or not, something needs to be done to
at least slow down those messages. Even if a dirty sleep was placed, it would
limit the messages such that the hard drive would almost never fill up.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list