Bug 229938

Summary: KMail crashes when trying to delete lots of emails from az IMAP folder
Product: [Unmaintained] kmail Reporter: gabor
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bjoern
Priority: NOR    
Version: 1.13.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gabor 2010-03-08 12:55:54 UTC
Application: kmail (1.13.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I have a regular imap inbox folder which I searched in, then selected lots of emails (possibly a hundred or more) with shift+click, then pressed shift+delete and confirmed. The program segfaulted right away.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x0129e00a in MessageList::Core::Item::parent (this=0xbfb55364) at ../../messagelist/core/item.cpp:417
#7  0x012b269f in MessageList::Core::Model::parent (this=0x8c786a8, modelIndex=...) at ../../messagelist/core/model.cpp:561
#8  0x06765822 in QModelIndex::parent (this=0x8d39ec8, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0x8d39ec8, index=...) at itemviews/qtreeview.cpp:2817
#10 0x06765fa9 in QTreeViewPrivate::itemHeight (this=0x8d8ff70, item=137) at itemviews/qtreeview.cpp:3238
#11 0x06766322 in QTreeViewPrivate::updateScrollBars (this=0x8d8ff70) at itemviews/qtreeview.cpp:3501
#12 0x067665c5 in QTreeView::updateGeometries (this=0x8d39ec8) at itemviews/qtreeview.cpp:2745
#13 0x012da996 in MessageList::Core::View::updateGeometries (this=0x31) at ../../messagelist/core/view.cpp:179
#14 0x012bb3f9 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x8d605e0) at ../../messagelist/core/model.cpp:3799
#15 0x012bb86e in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x8d605e0) at ../../messagelist/core/model.cpp:3965
#16 0x012bd7d1 in MessageList::Core::Model::qt_metacall (this=0x8c786a8, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbfb557ec) at ./model.moc:90
#17 0x0731ee5a in QMetaObject::metacall (object=0x8c786a8, cl=147293864, idx=26, argv=0xbfb557ec) at kernel/qmetaobject.cpp:237
#18 0x0732d5f5 in QMetaObject::activate (sender=0x8d605fc, m=0x742e5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#19 0x0737ec97 in QTimer::timeout (this=0x8d605fc) at .moc/release-shared/moc_qtimer.cpp:134
#20 0x0733579e in QTimer::timerEvent (this=0x8d605fc, e=0xbfb55d20) at kernel/qtimer.cpp:271
#21 0x0732a494 in QObject::event (this=0x8d605fc, e=0x8c786a8) at kernel/qobject.cpp:1212
#22 0x061833cc in QApplicationPrivate::notify_helper (this=0x8b3af70, receiver=0x8d605fc, e=0xbfb55d20) at kernel/qapplication.cpp:4300
#23 0x0618a01e in QApplication::notify (this=0xbfb56130, receiver=0x8d605fc, e=0xbfb55d20) at kernel/qapplication.cpp:3704
#24 0x002f042a in KApplication::notify (this=0xbfb56130, receiver=0x8d605fc, event=0xbfb55d20) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x07319beb in QCoreApplication::notifyInternal (this=0xbfb56130, receiver=0x8d605fc, event=0xbfb55d20) at kernel/qcoreapplication.cpp:704
#26 0x07348eb6 in QCoreApplication::sendEvent (this=0x8b29974) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x8b29974) at kernel/qeventdispatcher_unix.cpp:603
#28 0x07345b14 in timerSourceDispatch (source=0x8b29940) at kernel/qeventdispatcher_glib.cpp:184
#29 0x05ae6e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x05aea730 in ?? () from /lib/libglib-2.0.so.0
#31 0x05aea863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x07345805 in QEventDispatcherGlib::processEvents (this=0x8af5270, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0x06242b35 in QGuiEventDispatcherGlib::processEvents (this=0x8af5270, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x07318209 in QEventLoop::processEvents (this=0xbfb55fe4, flags=) at kernel/qeventloop.cpp:149
#35 0x0731865a in QEventLoop::exec (this=0xbfb55fe4, flags=...) at kernel/qeventloop.cpp:201
#36 0x0731c84f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x06183467 in QApplication::exec () at kernel/qapplication.cpp:3579
#38 0x0804aace in main (argc=3, argv=0xbfb562f4) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 227770, bug 223245.

Reported using DrKonqi
Comment 1 Björn Ruberg 2010-03-14 00:53:49 UTC

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