Bug 263132

Summary: kmail crashed after I create and delete a folder
Product: [Unmaintained] kmail Reporter: Sergei Lodyagin <lodyagin>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergei Lodyagin 2011-01-14 12:30:47 UTC
Application: kontact (4.4.7)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux 6.0 (n/a)

-- Information about the crash:
Distribution: Debian squeeze

Right click in the folders list in kmail.
Create folder ("Personal")
Remove the folder.
Crash.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  KMFolder::isOpened (this=0xb40d580) at ../../kmail/kmfolder.cpp:563
#7  0xaf697a23 in KMail::MessageListView::StorageModel::qt_metacall (this=0xb40d580, _c=188798336, _id=27, _a=0xbfa5457c) at moc_storagemodel.cpp:93
#8  0xb6df27aa in QMetaObject::metacall (object=0xb40d580, cl=181559952, idx=27, argv=0xbfa5457c) at kernel/qmetaobject.cpp:237
#9  0xb6e011bb in QMetaObject::activate (sender=0xb2d63d0, m=0xafd57280, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3295
#10 0xaf780f47 in KMFolder::closed (this=0xb2d63d0) at ./kmfolder.moc:171
#11 0xaf781397 in KMFolder::qt_metacall (this=0xb2d63d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa546c8) at ./kmfolder.moc:124
#12 0xb6df27aa in QMetaObject::metacall (object=0xb2d63d0, cl=181559952, idx=5, argv=0xbfa546c8) at kernel/qmetaobject.cpp:237
#13 0xb6e011bb in QMetaObject::activate (sender=0xa4e42d8, m=0xafd57868, local_signal_index=4, argv=0xbfa546c8) at kernel/qobject.cpp:3295
#14 0xaf7b17d3 in FolderStorage::closed (this=0xa4e42d8, _t1=0xb2d63d0) at ./folderstorage.moc:191
#15 0xaf7b543c in FolderStorage::remove (this=0xa4e42d8) at ../../kmail/folderstorage.cpp:803
#16 0xaf7803a0 in KMFolder::remove (this=0xb2d63d0) at ../../kmail/kmfolder.cpp:585
#17 0xaf7daa8d in KMFolderMgr::removeFolder (this=0x9fc9028, aFolder=0xb2d63d0) at ../../kmail/kmfoldermgr.cpp:361
#18 0xaf7dab92 in KMFolderMgr::remove (this=0x9fc9028, aFolder=0xb2d63d0) at ../../kmail/kmfoldermgr.cpp:354
#19 0xafafc611 in KMail::FolderUtil::deleteFolder (folderToDelete=0xb2d63d0, parent=0xa01a080) at ../../kmail/folderutil.cpp:114
#20 0xaf99053d in KMMainWidget::slotRemoveFolder (this=0xa01a080) at ../../kmail/kmmainwidget.cpp:1442
#21 0xaf9b281b in KMMainWidget::qt_metacall (this=0xa01a080, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbfa54aa8) at ./kmmainwidget.moc:412
#22 0xb6df27aa in QMetaObject::metacall (object=0xa01a080, cl=181559952, idx=84, argv=0xbfa54aa8) at kernel/qmetaobject.cpp:237
#23 0xb6e011bb in QMetaObject::activate (sender=0xa1278d8, m=0xb6c5ca38, local_signal_index=1, argv=0xbfa54aa8) at kernel/qobject.cpp:3295
#24 0xb632ecc9 in QAction::triggered (this=0xa1278d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#25 0xb6330ebc in QAction::activate (this=0xa1278d8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#26 0xb67d20ff in QMenuPrivate::activateCausedStack (this=0xb3f8528, causedStack=..., action=0xa1278d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#27 0xb67d85ab in QMenuPrivate::activateAction (this=0xb3f8528, action=0xa1278d8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094
#28 0xb67d95f7 in QMenu::mouseReleaseEvent (this=0xb215028, e=0xbfa55404) at widgets/qmenu.cpp:2312
#29 0xb7432165 in KMenu::mouseReleaseEvent (this=0xb215028, e=0xbfa55404) at ../../kdeui/widgets/kmenu.cpp:471
#30 0xb63937c8 in QWidget::event (this=0xb215028, event=0xbfa55404) at kernel/qwidget.cpp:8044
#31 0xb67dabfc in QMenu::event (this=0xb215028, e=0xbfa55404) at widgets/qmenu.cpp:2421
#32 0xb63355cc in QApplicationPrivate::notify_helper (this=0x9cbe230, receiver=0xb215028, e=0xbfa55404) at kernel/qapplication.cpp:4302
#33 0xb633caf7 in QApplication::notify (this=0xbfa56d44, receiver=0xb215028, e=0xbfa55404) at kernel/qapplication.cpp:3867
#34 0xb733cbfa in KApplication::notify (this=0xbfa56d44, receiver=0xb215028, event=0xbfa55404) at ../../kdeui/kernel/kapplication.cpp:302
#35 0xb6ded4cb in QCoreApplication::notifyInternal (this=0xbfa56d44, receiver=0xb215028, event=0xbfa55404) at kernel/qcoreapplication.cpp:726
#36 0xb633ba52 in QCoreApplication::sendEvent (receiver=0xb215028, event=0xbfa55404, alienWidget=0x0, nativeWidget=0xb215028, buttonDown=0xb6c7d998, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0xb215028, event=0xbfa55404, alienWidget=0x0, nativeWidget=0xb215028, buttonDown=0xb6c7d998, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#38 0xb63c7268 in QETWidget::translateMouseEvent (this=0xb215028, event=0xbfa55850) at kernel/qapplication_x11.cpp:4314
#39 0xb63c6253 in QApplication::x11ProcessEvent (this=0xbfa56d44, event=0xbfa55850) at kernel/qapplication_x11.cpp:3391
#40 0xb63f4372 in x11EventSourceDispatch (s=0x9cc1300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb4289305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0xb428cfe8 in ?? () from /lib/libglib-2.0.so.0
#43 0xb428d1c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0xb6e19075 in QEventDispatcherGlib::processEvents (this=0x9c9e898, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#45 0xb63f3ed5 in QGuiEventDispatcherGlib::processEvents (this=0x9c9e898, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb6debae9 in QEventLoop::processEvents (this=0xbfa55b40, flags=) at kernel/qeventloop.cpp:149
#47 0xb6debf3a in QEventLoop::exec (this=0xbfa55b40, flags=...) at kernel/qeventloop.cpp:201
#48 0xb67d58ce in QMenu::exec (this=0xb215028, p=..., action=0x0) at widgets/qmenu.cpp:2063
#49 0xaf731fde in KMail::FolderView::contextMenuEvent (this=0xa095288, e=0xbfa5658c) at ../../kmail/folderview.cpp:1576
#50 0xb6393f08 in QWidget::event (this=0xa095288, event=0xbfa5658c) at kernel/qwidget.cpp:8211
#51 0xb678d8d3 in QFrame::event (this=0xa095288, e=0xbfa5658c) at widgets/qframe.cpp:557
#52 0xb6828092 in QAbstractScrollArea::viewportEvent (this=0xad26290, e=0x0) at widgets/qabstractscrollarea.cpp:1036
#53 0xb68dd8a7 in QAbstractItemView::viewportEvent (this=0xa095288, event=0xbfa5658c) at itemviews/qabstractitemview.cpp:1615
#54 0xb691d0fc in QTreeView::viewportEvent (this=0xa095288, event=0xbfa5658c) at itemviews/qtreeview.cpp:1248
#55 0xb682aa65 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa0a5558, o=0xa095828, e=0xbfa5658c) at widgets/qabstractscrollarea_p.h:100
#56 QAbstractScrollAreaFilter::eventFilter (this=0xa0a5558, o=0xa095828, e=0xbfa5658c) at widgets/qabstractscrollarea_p.h:116
#57 0xb6dec76a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9cbe230, receiver=0xa095828, event=0xbfa5658c) at kernel/qcoreapplication.cpp:841
#58 0xb63355a9 in QApplicationPrivate::notify_helper (this=0x9cbe230, receiver=0xa095828, e=0xbfa5658c) at kernel/qapplication.cpp:4298
#59 0xb633c570 in QApplication::notify (this=0xbfa56d44, receiver=0xa095828, e=0xbfa5658c) at kernel/qapplication.cpp:3946
#60 0xb733cbfa in KApplication::notify (this=0xbfa56d44, receiver=0xa095828, event=0xbfa5658c) at ../../kdeui/kernel/kapplication.cpp:302
#61 0xb6ded4cb in QCoreApplication::notifyInternal (this=0xbfa56d44, receiver=0xa095828, event=0xbfa5658c) at kernel/qcoreapplication.cpp:726
#62 0xb63cc88e in QCoreApplication::sendSpontaneousEvent (receiver=0xa095828, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#63 0xb63c6db2 in QETWidget::translateMouseEvent (this=0xa095828, event=0xbfa569b0) at kernel/qapplication_x11.cpp:4385
#64 0xb63c6253 in QApplication::x11ProcessEvent (this=0xbfa56d44, event=0xbfa569b0) at kernel/qapplication_x11.cpp:3391
#65 0xb63f4372 in x11EventSourceDispatch (s=0x9cc1300, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0xb4289305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#67 0xb428cfe8 in ?? () from /lib/libglib-2.0.so.0
#68 0xb428d1c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#69 0xb6e19075 in QEventDispatcherGlib::processEvents (this=0x9c9e898, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#70 0xb63f3ed5 in QGuiEventDispatcherGlib::processEvents (this=0x9c9e898, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0xb6debae9 in QEventLoop::processEvents (this=0xbfa56ca4, flags=) at kernel/qeventloop.cpp:149
#72 0xb6debf3a in QEventLoop::exec (this=0xbfa56ca4, flags=...) at kernel/qeventloop.cpp:201
#73 0xb6df116f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#74 0xb6335667 in QApplication::exec () at kernel/qapplication.cpp:3581
#75 0x0804b472 in main (argc=1, argv=0xbfa56f64) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Sergei Lodyagin 2011-01-14 12:35:10 UTC
I can't start kontact after that.
It crashes every time I try start it.
Comment 2 Christophe Marin 2011-02-14 13:47:43 UTC

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