Version: 1.9.1 (using KDE KDE 3.5.0) Installed from: Mandriva RPMs Compiler: linked to libgcc_s-4.0.2.so.1: so gcc 4.0.2?.. OS: Linux On Mandriva cooker (updated from 01/02/2006): Some received mails make kmail crash: when trying to reads mails in folder, clicking on some mails make kmail crash immediatly, before the mail be seen on screen. The KDE "crash/debug/bug" window never appears. I don't know what kind of email make kmail crash, it is too fast: kmail crashes quickly. But i have with message, at the console: *** glibc detected *** corrupted double-linked list: 0xb6eef8b8 *** This bug is highly reproductible, each time i click on these mails, it crashes. Regards, Gaetan.
Can you attach one of those mails (compressed) here?
----------------- Your last mail made kmail crash too...so i read it manually in .Mail folder. Maybe the PGP signature make kmail crash? But other mails, which make kde crash too, don't have one...so.. Regards, Gaetan.
Can you get a backtrace with gdb? (ie, start up kmail in gdb, or attach gdb to a running kmail, since you say the crash dialog doesn't appear.)
I get the same thing with certain Spam mails apparently from Taiwan. I'll attach one to the bug, gzipped as it is including Spamassassin markup. I tried running KMail in gdb. When the error occured, all I got was "Program exited normally.". Perhaps a problem in X.org's font rendering?
Created attachment 14816 [details] zipped mail that makes KMail crash Might cause trouble with KMail!
Sorry for so many mails in a short time, but I forgot to mention: I'm using version 1.8.3, the error did not occur in whatever version debian was packaging for the 3.3.x KDE releases, this is the first time I saw this and I had several mails before that only now cause the crash.
Created attachment 14825 [details] Another "crash-mail" Another mail that causes the crash. Also contains asian characters, this time it has a base64 encoded body.
It appears that the problem lies with the big5 encoded Subject header. After changing it, KMail doesn't crash anymore. The big5 part of the From: header works properly, even when set to the text causing the crash. Also, KMail doesn't crash when the message view is set to "all headers" which as I see it doesn't do any formatting and doesn't respect encoding, and most of all *doesn't use bold fonts*! As soon as any of the Big5 encoded stuff is set in bold, KMail crashes.
Created attachment 14844 [details] HTML file that makes Konqueror crash OK, this could be bigger than just KMail or even KDE. I think it's a bug in QT. I've created a little sample as an attachment, that COULD CRASH YOUR BROWSER! There seems to be a problem with displaying that single line in bold. I've even made QT Designer crash. To do this, just open the designer, make an empty form, create a text label in there and copy the line in the HTML file into the label. Then set the label text to bold. Makes the Designer crash every time, no matter what font. (Got to be bold though, italic doesn't cause problems.) It dies with: designer-qt3: symbol lookup error: /usr/lib/libXft.so.2: undefined symbol: FT_GlyphSlot_Embolden When run from gdb: Program exited with code 0177. but no backtrace. It seems that Qt applications die "gracefully" there. I'm using QT 3.3.5 from Debian testing packages. The designer from QT 4.1.0 does not seem to be affected. I tried GTK programs (katoob and Firefox) which are also unaffected.
It appears that's a problem with some versions/packages of libXft2. See here: http://lists.debian.org/debian-testing-changes/2006/02/msg00020.html Downgrading to a 2.1.2 package solves the problem for me. Still, I'm wondering why only QT 3 is affected.
Nice work tracking it down Nicos. I'll close as INVALID (ie, not a bug in KDE). If you find reason to believe that it's a bug in KMail, please reopen.