[Bug 220713] New: Deleting too many items in KMail crashes program [DwEntity::hasHeaders, KMMessage::headerField, KMail::FancyHeaderStyle::format]

Shawn Starr shawn.starr at rogers.com
Wed Dec 30 17:46:32 GMT 2009


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

           Summary: Deleting too many items in KMail crashes program
                    [DwEntity::hasHeaders, KMMessage::headerField,
                    KMail::FancyHeaderStyle::format]
           Product: kmail
           Version: 1.13.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: shawn.starr at rogers.com


Application: kmail (1.13.0)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) (Compiled from
sources)
Qt Version: 4.6.1
Operating System: Linux 2.6.33-rc2-custom-radeon x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I was deleting a  a few emails rapidly (hold delete key) then Kmail crashes
sometimes.

The crash can be reproduced some of the times.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f0f5d62868c in DwEntity::hasHeaders (this=0xf00000002fa7130) at
/root/kdepim/mimelib/mimelib/entity.h:133
#6  0x00007f0f5d61e17c in KMMessage::headerField (this=0x24601e0, aName=...,
encodingMode=KMMessage::MessageCharsetEncoding) at
/root/kdepim/kmail/kmmessage.cpp:1949
#7  0x00007f0f5d8ab4a0 in KMail::FancyHeaderStyle::format (this=0x202d9e0,
message=0x24601e0, strategy=0x1ca30b0, vCardName=..., printing=false,
topLevel=true)
    at /root/kdepim/kmail/headerstyle.cpp:533
#8  0x00007f0f5d721e1f in KMReaderWin::writeMsgHeader (this=0x1b38b50,
aMsg=0x24601e0, vCardNode=0x0, topLevel=true) at
/root/kdepim/kmail/kmreaderwin.cpp:1724
#9  0x00007f0f5d720ab1 in KMReaderWin::parseMsg (this=0x1b38b50,
aMsg=0x24601e0) at /root/kdepim/kmail/kmreaderwin.cpp:1605
#10 0x00007f0f5d720069 in KMReaderWin::displayMessage (this=0x1b38b50) at
/root/kdepim/kmail/kmreaderwin.cpp:1534
#11 0x00007f0f5d71fb26 in KMReaderWin::updateReaderWin (this=0x1b38b50) at
/root/kdepim/kmail/kmreaderwin.cpp:1477
#12 0x00007f0f5d72e5c6 in KMReaderWin::qt_metacall (this=0x1b38b50,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffcd80b400) at
/root/kdepim-dev/kmail/kmreaderwin.moc:179
#13 0x00007f0f5a49d20d in QMetaObject::metacall (object=0x1b38b50,
cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0x7fffcd80b400) at
/root/qt/src/corelib/kernel/qmetaobject.cpp:237
#14 0x00007f0f5a4b3601 in QMetaObject::activate (sender=0x1b38bf8,
m=0x7f0f5a811e20, local_signal_index=0, argv=0x0) at
/root/qt/src/corelib/kernel/qobject.cpp:3267
#15 0x00007f0f5a51af29 in QTimer::timeout (this=0x1b38bf8) at
.moc/debug-shared/moc_qtimer.cpp:134
#16 0x00007f0f5a4bcd6b in QTimer::timerEvent (this=0x1b38bf8, e=0x7fffcd80be00)
at /root/qt/src/corelib/kernel/qtimer.cpp:271
#17 0x00007f0f5a4aee33 in QObject::event (this=0x1b38bf8, e=0x7fffcd80be00) at
/root/qt/src/corelib/kernel/qobject.cpp:1204
#18 0x00007f0f58d00818 in QApplicationPrivate::notify_helper (this=0x1b0f420,
receiver=0x1b38bf8, e=0x7fffcd80be00) at
/root/qt/src/gui/kernel/qapplication.cpp:4297
#19 0x00007f0f58cfdcb6 in QApplication::notify (this=0x7fffcd80c360,
receiver=0x1b38bf8, e=0x7fffcd80be00) at
/root/qt/src/gui/kernel/qapplication.cpp:3701
#20 0x00007f0f5e85ad37 in KApplication::notify (this=0x7fffcd80c360,
receiver=0x1b38bf8, event=0x7fffcd80be00) at
/root/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0x00007f0f5a4951b0 in QCoreApplication::notifyInternal
(this=0x7fffcd80c360, receiver=0x1b38bf8, event=0x7fffcd80be00) at
/root/qt/src/corelib/kernel/qcoreapplication.cpp:704
#22 0x00007f0f5a499135 in QCoreApplication::sendEvent (receiver=0x1b38bf8,
event=0x7fffcd80be00) at
../../include/QtCore/../../../qt/src/corelib/kernel/qcoreapplication.h:215
#23 0x00007f0f5a4d5803 in QTimerInfoList::activateTimers (this=0x1b12d10) at
/root/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#24 0x00007f0f5a4d0bb3 in timerSourceDispatch (source=0x1b12cb0) at
/root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#25 0x00007f0f50abb8fe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f0f50abf2b8 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f0f50abf3e0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#28 0x00007f0f5a4d204b in QEventDispatcherGlib::processEvents (this=0x1accfe0,
flags=...) at /root/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f0f58de6f94 in QGuiEventDispatcherGlib::processEvents
(this=0x1accfe0, flags=...) at
/root/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f0f5a4921a8 in QEventLoop::processEvents (this=0x7fffcd80c180,
flags=...) at /root/qt/src/corelib/kernel/qeventloop.cpp:149
#31 0x00007f0f5a4922fe in QEventLoop::exec (this=0x7fffcd80c180, flags=...) at
/root/qt/src/corelib/kernel/qeventloop.cpp:201
#32 0x00007f0f5a4958b2 in QCoreApplication::exec () at
/root/qt/src/corelib/kernel/qcoreapplication.cpp:981
#33 0x00007f0f58cfd834 in QApplication::exec () at
/root/qt/src/gui/kernel/qapplication.cpp:3576
#34 0x0000000000403c5d in main (argc=3, argv=0x7fffcd80c528) at
/root/kdepim/kmail/main.cpp:156

Reported using DrKonqi

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