[Bug 191753] New: kmail eats up all memory trying to build a QList

Frank Thieme frank at fthieme.net
Tue May 5 22:40:49 BST 2009


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

           Summary: kmail eats up all memory trying to build a QList
           Product: kmail
           Version: 1.11.2
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: frank at fthieme.net


Version:           1.11.2 (using KDE 4.2.2)
Compiler:          gcc (GCC) 4.3.3 
OS:                Linux
Installed from:    Unspecified Linux

I'm using kmail inside of kontact on an archlinux system with kdemod installed:

kdemod-kdepim-kmail 4.2.2-1
kdemod-kdepim-kontact 4.2.2-1
qtmod 4.5.1-1

I have 3 dIMAP accounts and from time to time (not every day, but at least once
a week) I experience a moment, where kmail eats up all memory trying to do
something. At the end it dies with SIGABRT and the last message in
.xsession-errors is, that QList can't allocate memory.

As a side effect the kmailrc file is huge, right now about 6mb. There is one
UIDStatusChangedLocally line, that reaches infinity. 

When I try to open kmail again it will start eating memory and die again.

Only solution is to find the line making kmailrc that big and find the place
where it repeats and truncate it right there. At the moment it reads:

UIDStatusChangedLocally=19627,19627,19627,...

but normally there is more than just one number there. When I truncate that
line and start kontact/kmail again, everything is working fine, till the next
time...

After truncating the line, kmailrc is now just 128kb big...

-- 
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