[Bug 163024] New: kmail crashes when it downloads a complex mail from pop3

George Kiagiadakis gkiagiad at csd.uoc.gr
Sun Jun 1 20:03:09 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=163024         
           Summary: kmail crashes when it downloads a complex mail from pop3
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: gkiagiad csd uoc gr


Version:           1.9.51 (kdepim 4.0.80) (using Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.2.4 (Debian 4.2.4-1) 
OS:                Linux

KMail 4.0.80 is constantly crashing when it downloads a quite complex email from a pop3 server.

The only useful line I can see on the command line output is this:
ASSERT: "i >= 0 && i < size()" in file /usr/include/qt4/QtCore/qbytearray.h, line 383

I have tracked down the offending e-mail that causes the crash and I have uploaded it along with the full output that kmail gives on the command line here:
http://www.csd.uoc.gr/~gkiagiad/kmail-4.0.80-crash-data.tar.bz2

The crash is reproducable if you do on the mail server side:
$ tar xjf kmail-4.0.80-crash-data.tar.bz2
$ cat kmail-4.0.80-crash-offending-mail >> /var/mail/<login>
and then try to download emails from this mail server.

The email is a forward of an html email with a few images.
Pine on the mail server can read it just fine (in text mode) without crashing. In addition, if I try to open the mbox file that I have put in the tarball above (by clicking on it using dolphin), kmail reads the email just fine in both html and text mode!! It's only downloading it from the server that fails.

Note that the email I have put in the tarball is an exact copy of the source code of the email from my mbox in /var/mail/<login> on the mail server.



More information about the Kdepim-bugs mailing list