Bug 146290 - kmail segfaults having a distinct mail in inbox maildir
Summary: kmail segfaults having a distinct mail in inbox maildir
Status: RESOLVED DUPLICATE of bug 140543
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.6
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
Depends on:
Reported: 2007-06-02 14:55 UTC by Frithjof Hammer
Modified: 2007-06-05 22:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:

file causing the crash (1.83 KB, text/plain)
2007-06-02 14:57 UTC, Frithjof Hammer
Backtrace (3.37 KB, text/plain)
2007-06-03 21:16 UTC, Frithjof Hammer

Note You need to log in before you can comment on or make changes to this bug.
Description Frithjof Hammer 2007-06-02 14:55:02 UTC
Version:           1.9.6 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-15-generic

When i have a mailfile with following content in ~/.kde/share/apps/kmail/mail/inbox/cur kmail will crash (segfault) when viewing the inbox folder.

(Mail Addresses are obfuscated, kmail still crashes with these changes. Mail me for the original file.)

frithjof@MystikSpiral:~/.kde/share/apps/kmail/mail/SPAM/cur$ cat 1133026282.17205.AtD5m\:2\,S
Return-path: <kristian@XXXXXXXX.de>
Envelope-to: mail@friXXXXXX.de
Delivery-date: Sat, 01 May 2004 01:58:56 +0200
Received: from epsilon.mc1.hosteurope.de ([]) by
        mini003.webpack.hosteurope.de with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim
        4.30) id 1BJhuB-0006mK-27 for mail@frithjof-hammer.de; Sat, 01 May 2004
        01:58:55 +0200
Received: from mail3.netbeat.de ([]) by
        epsilon.mc1.hosteurope.de with smtp (Exim 4.30) id 1BJhu9-0004Lw-Oo for
        mail@frithjof-hammer.de; Sat, 01 May 2004 01:58:53 +0200
Received: (qmail 13172 invoked from network); 30 Apr 2004 19:50:50 -0000
Received: from pd9517e84.dip.t-dialin.net (HELO Blaubaer) (
        by mail3.netbeat.de with SMTP; 30 Apr 2004 19:50:50 -0000
Subject: Homezone
From: Kristian =?ISO-8859-1?Q?Pl=FCckhahn?= <kristian@XXXXXXXXX.de>
To: Frithjof Hammer <mail@friXXXXXXX.de>
Content-Type: text/plain; charset=
Message-Id: <1083354634.9215.1.camel@Blaubaer>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4-8mdk
Date: Fri, 30 Apr 2004 21:50:34 +0200
Content-Transfer-Encoding: 8bit
X-HE-Spam-Level: /
X-HE-Spam-Score: 0.2
X-HE-Spam-Report: Content analysis details:   (0.2 points) pts rule name
                  description ---- ----------------------
        -------------------------------------------------- 0.1 RCVD_IN_SORBS
          RBL: SORBS: sender is listed in SORBS [ listed in
        dnsbl.sorbs.net] 0.1 RCVD_IN_NJABL          RBL: Received via a relay in
        dnsbl.njabl.org [ listed in dnsbl.njabl.org]
X-Evolution-Source: pop://visXXXXX@mail.friXXXXXXXXX.de
X-Evolution: 00001ad5-0011
Status: R
X-Status: N

Hallo frithjof,
kann es sein, das Deine Homezone kaputt ist. Wollte Dich eigentlich
anrufen - hab mal nach den Forschern geschaut.

Gruß Kristian

Comment 1 Frithjof Hammer 2007-06-02 14:57:01 UTC
Created attachment 20761 [details]
file causing the crash
Comment 2 Philip Rodrigues 2007-06-03 14:28:01 UTC
Do you have a backtrace of the crash?
Comment 3 Frithjof Hammer 2007-06-03 21:16:32 UTC
Created attachment 20771 [details]
Comment 4 Bram Schoenmakers 2007-06-03 23:31:35 UTC
Thank you for you time, Frithjof. I'll paste the result here, it makes some things easier for us.

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1250253104 (LWP 5820)]
[New Thread -1281516656 (LWP 5824)]
[New Thread -1273123952 (LWP 5823)]
[New Thread -1264731248 (LWP 5822)]
[New Thread -1256338544 (LWP 5821)]
[KCrash handler]
#6  KMFolderMaildir::readFileHeaderIntern (this=0x821b3e8, dir=@0xbfa39808, 
    file=@0xbfa39804, status=4)
    at /build/buildd/kdepim-3.5.6/./kmail/kmfoldermaildir.cpp:737
#7  0xb7e4dd26 in KMFolderMaildir::createIndexFromContents (this=0x821b3e8)
    at /build/buildd/kdepim-3.5.6/./kmail/kmfoldermaildir.cpp:907
#8  0xb7dceedc in KMFolderMaildir::open (this=0x821b3e8)
    at /build/buildd/kdepim-3.5.6/./kmail/kmfoldermaildir.cpp:141
#9  0xb7bc21b7 in KMFolder::open (this=0x8219950)
    at /build/buildd/kdepim-3.5.6/./kmail/kmfolder.cpp:473
#10 0xb7e1da42 in KMHeaders::setFolder (this=0x8284658, aFolder=0x8219950, 
    at /build/buildd/kdepim-3.5.6/./kmail/kmheaders.cpp:718
#11 0xb7e685c5 in KMMainWidget::folderSelected (this=0x8272160, 
    aFolder=0x8219950, forceJumpToUnread=false)
    at /build/buildd/kdepim-3.5.6/./kmail/kmmainwidget.cpp:1990
#12 0xb7eab897 in KMMainWidget::qt_invoke (this=0x8272160, _id=51, 
    _o=0xbfa399f4) at ./kmmainwidget.moc:505
#13 0xb708e9b8 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb7c0daee in KMFolderTree::folderSelected (this=0x833a8d0, t0=0x8219950)
    at ./kmfoldertree.moc:384
#15 0xb7df5852 in KMFolderTree::doFolderSelected (this=0x833a8d0, 
    qlvi=0x8379a80) at /build/buildd/kdepim-3.5.6/./kmail/kmfoldertree.cpp:937
#16 0xb7df5dc1 in KMFolderTree::contentsMouseReleaseEvent (this=0x833a8d0, 
    me=0xbfa39abc) at /build/buildd/kdepim-3.5.6/./kmail/kmfoldertree.cpp:1095
#17 0xb71c3f17 in QScrollView::viewportMouseReleaseEvent ()
   from /usr/lib/libqt-mt.so.3
#18 0xb71c54ae in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#19 0xb718d75e in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#20 0xb7bf27a9 in KMFolderTree::eventFilter (this=0x833a8d0, o=0x833b1e0, 
    e=0xbfa3a060) at /build/buildd/kdepim-3.5.6/./kmail/kmfoldertree.cpp:1656
#21 0xb708de38 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#22 0xb708deb6 in QObject::event () from /usr/lib/libqt-mt.so.3
#23 0xb70c558f in QWidget::event () from /usr/lib/libqt-mt.so.3
#24 0xb7025a60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb7027c1e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb7762ce2 in KApplication::notify (this=0xbfa3a6b4, receiver=0x833b1e0, 
    at /build/buildd/kdelibs-3.5.6/./kdecore/kapplication.cpp:550
#27 0xb6fb825d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#28 0xb6fb6ec2 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#29 0xb6fb4fac in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#30 0xb6fcc180 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0xb7040136 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0xb703ff46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0xb7027609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x0804a2de in main (argc=-1250240536, argv=0x1)
    at /build/buildd/kdepim-3.5.6/./kmail/main.cpp:110
#35 0xb77fcebc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#36 0x0804a041 in _start ()
Comment 5 Thomas McGuire 2007-06-05 22:06:20 UTC

*** This bug has been marked as a duplicate of 140543 ***