Bug 212258

Summary: kmail crash while moving folder on disconnected IMAP account
Product: [Unmaintained] kmail Reporter: cart
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description cart 2009-10-29 07:42:38 UTC
Application that crashed: kmail
Version of the application: 1.12.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-9 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
i was working in kmail and moving a folder via drag and drop inside a disconnected IMAP account. it crashed when i released to mouse button to drop the folder.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KMail::MessageListView::StorageModel::initializeMessageItem (this=0x943fe68, mi=0x94131c8, row=11, bUseReceiver=false) at ../../kmail/messagelistview/storagemodel.cpp:402
#7  0xb7803ff7 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill (this=0x8c66398, job=0x98b72b8, tStart=...) at ../../kmail/messagelistview/core/model.cpp:2750
#8  0xb7805746 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob (this=0x8c66398, job=0x98b72b8, tStart=...) at ../../kmail/messagelistview/core/model.cpp:3392
#9  0xb7805f09 in KMail::MessageListView::Core::Model::viewItemJobStepInternal (this=0x8c66398) at ../../kmail/messagelistview/core/model.cpp:3764
#10 0xb7806c30 in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x8c66398) at ../../kmail/messagelistview/core/model.cpp:3952
#11 0xb7807f27 in KMail::MessageListView::Core::Model::setStorageModel (this=0x8c66398, storageModel=0x943fe68, preSelectionMode=KMail::MessageListView::Core::PreSelectLastSelected)
    at ../../kmail/messagelistview/core/model.cpp:806
#12 0xb780898f in KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged (this=0x8c66398) at ../../kmail/messagelistview/core/model.cpp:4435
#13 0xb739033b in KMail::MessageListView::Core::Model::qt_metacall (this=0x8c66398, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd01f78) at moc_model.cpp:80
#14 0xb710bb33 in QMetaObject::activate (sender=0x943fe68, from_signal_index=17, to_signal_index=17, argv=0x0) at kernel/qobject.cpp:3112
#15 0xb710c782 in QMetaObject::activate (sender=0x943fe68, m=0xb71e79d8, local_signal_index=13, argv=0x0) at kernel/qobject.cpp:3186
#16 0xb7146107 in QAbstractItemModel::modelReset (this=0x943fe68) at .moc/release-shared/moc_qabstractitemmodel.cpp:213
#17 0xb70f0624 in QAbstractItemModel::reset (this=0x943fe68) at kernel/qabstractitemmodel.cpp:2263
#18 0xb77d8e6d in KMail::MessageListView::StorageModel::slotViewConfigChanged (this=0x943fe68) at ../../kmail/messagelistview/storagemodel.cpp:614
#19 0xb738ec53 in KMail::MessageListView::StorageModel::qt_metacall (this=0x943fe68, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd020c8) at moc_storagemodel.cpp:92
#20 0xb710bb33 in QMetaObject::activate (sender=0x8bbad18, from_signal_index=22, to_signal_index=22, argv=0x0) at kernel/qobject.cpp:3112
#21 0xb710c782 in QMetaObject::activate (sender=0x8bbad18, m=0xb7a79da0, local_signal_index=18, argv=0x0) at kernel/qobject.cpp:3186
#22 0xb747be17 in KMFolder::viewConfigChanged (this=0x8bbad18) at ./kmfolder.moc:269
#23 0xb7481132 in KMFolder::setUserWhoField (this=0x8bbad18, whoField=..., writeConfig=false) at ../../kmail/kmfolder.cpp:745
#24 0xb7481fd3 in KMFolder::readConfig (this=0x8bbad18, configGroup=...) at ../../kmail/kmfolder.cpp:211
#25 0xb74b0c35 in FolderStorage::readConfig (this=0x8bbadc8) at ../../kmail/folderstorage.cpp:963
#26 0xb757d256 in KMFolderCachedImap::readConfig (this=0x8bbadc8) at ../../kmail/kmfoldercachedimap.cpp:314
#27 0xb74ac6aa in FolderStorage::countUnread (this=0x8bbadc8) at ../../kmail/folderstorage.cpp:866
#28 0xb747b677 in KMFolder::countUnread (this=0x8bbad18) at ../../kmail/kmfolder.cpp:497
#29 0xb74cc5a7 in KMSystemTray::updateNewMessages (this=0x8ff9488) at ../../kmail/kmsystemtray.cpp:483
#30 0xb74cff83 in KMSystemTray::qt_metacall (this=0x8ff9488, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd02898) at ./kmsystemtray.moc:78
#31 0xb710bb33 in QMetaObject::activate (sender=0x8ffa9d8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#32 0xb710c782 in QMetaObject::activate (sender=0x8ffa9d8, m=0xb71e7de4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#33 0xb7147177 in QTimer::timeout (this=0x8ffa9d8) at .moc/release-shared/moc_qtimer.cpp:128
#34 0xb7111e9e in QTimer::timerEvent (this=0x8ffa9d8, e=0xbfd02d1c) at kernel/qtimer.cpp:261
#35 0xb7106bcf in QObject::event (this=0x8ffa9d8, e=0xbfd02d1c) at kernel/qobject.cpp:1074
#36 0xb6736814 in QApplicationPrivate::notify_helper (this=0x8977328, receiver=0x8ffa9d8, e=0xbfd02d1c) at kernel/qapplication.cpp:4056
#37 0xb673e97e in QApplication::notify (this=0xbfd04608, receiver=0x8ffa9d8, e=0xbfd02d1c) at kernel/qapplication.cpp:3603
#38 0xb7e9a4ad in KApplication::notify (this=0xbfd04608, receiver=0x8ffa9d8, event=0xbfd02d1c) at ../../kdeui/kernel/kapplication.cpp:302
#39 0xb70f69cb in QCoreApplication::notifyInternal (this=0xbfd04608, receiver=0x8ffa9d8, event=0xbfd02d1c) at kernel/qcoreapplication.cpp:610
#40 0xb7125361 in QCoreApplication::sendEvent (this=0x897a034) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#41 QTimerInfoList::activateTimers (this=0x897a034) at kernel/qeventdispatcher_unix.cpp:572
#42 0xb7121900 in timerSourceDispatch (source=0x897a000) at kernel/qeventdispatcher_glib.cpp:165
#43 0xb4823e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0xb4827623 in ?? () from /lib/libglib-2.0.so.0
#45 0xb48277a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0xb7121858 in QEventDispatcherGlib::processEvents (this=0x8971af8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#47 0xb67d5fd5 in QGuiEventDispatcherGlib::processEvents (this=0x8971af8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#48 0xb70f501a in QEventLoop::processEvents (this=0xbfd02f3c, flags=...) at kernel/qeventloop.cpp:149
#49 0xb70f5462 in QEventLoop::exec (this=0xbfd02f3c, flags=...) at kernel/qeventloop.cpp:201
#50 0xb6c1b193 in QDialog::exec (this=0x8fb5348) at dialogs/qdialog.cpp:498
#51 0xb7e1677c in KMessageBox::createKMessageBox (dialog=0x8fb5348, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Warning)
    at ../../kdeui/dialogs/kmessagebox.cpp:331
#52 0xb7e17a91 in KMessageBox::createKMessageBox (dialog=0x8fb5348, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...)
    at ../../kdeui/dialogs/kmessagebox.cpp:151
#53 0xb7e1811a in KMessageBox::sorryWId (parent_id=0, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:927
#54 0xb7e1825a in KMessageBox::sorry (parent=0x0, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:904
#55 0xb7590cbb in KMFolderMaildir::canAccess (this=0x8bbadc8) at ../../kmail/kmfoldermaildir.cpp:112
#56 0xb758ef4b in KMFolderMaildir::open (this=0x8bbadc8) at ../../kmail/kmfoldermaildir.cpp:130
#57 0xb747b74e in KMFolder::open (this=0x8bbad18, owner=0xb798c39a "MessageListView::StorageModel") at ../../kmail/kmfolder.cpp:532
#58 0xb77d8f3f in KMail::MessageListView::StorageModel::slotFolderClosed (this=0x943fe68) at ../../kmail/messagelistview/storagemodel.cpp:591
#59 0xb738eca3 in KMail::MessageListView::StorageModel::qt_metacall (this=0x943fe68, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd03478) at moc_storagemodel.cpp:87
#60 0xb710bb33 in QMetaObject::activate (sender=0x8bbad18, from_signal_index=5, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3112
#61 0xb710c782 in QMetaObject::activate (sender=0x8bbad18, m=0xb7a79da0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3186
#62 0xb747c357 in KMFolder::closed (this=0x8bbad18) at ./kmfolder.moc:155
#63 0xb747c891 in KMFolder::qt_metacall (this=0x8bbad18, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd035bc) at ./kmfolder.moc:112
#64 0xb710bb33 in QMetaObject::activate (sender=0x8bbadc8, from_signal_index=8, to_signal_index=8, argv=0xbfd035bc) at kernel/qobject.cpp:3112
#65 0xb710c782 in QMetaObject::activate (sender=0x8bbadc8, m=0xb7a7a388, local_signal_index=4, argv=0xbfd035bc) at kernel/qobject.cpp:3186
#66 0xb74ad023 in FolderStorage::closed (this=0x8bbadc8, _t1=0x8bbad18) at ./folderstorage.moc:185
#67 0xb74b05f5 in FolderStorage::remove (this=0x8bbadc8) at ../../kmail/folderstorage.cpp:799
#68 0xb75762fe in KMFolderCachedImap::remove (this=0x8bbadc8) at ../../kmail/kmfoldercachedimap.cpp:432
#69 0xb747b860 in KMFolder::remove (this=0x8bbad18) at ../../kmail/kmfolder.cpp:574
#70 0xb74d716d in KMFolderMgr::removeFolder (this=0x8a31380, aFolder=0x8bbad18) at ../../kmail/kmfoldermgr.cpp:361
#71 0xb74d7270 in KMFolderMgr::remove (this=0x8a31380, aFolder=0x8bbad18) at ../../kmail/kmfoldermgr.cpp:354
#72 0xb7753025 in KMail::RenameJob::folderCopyComplete (this=0x932b458, success=true) at ../../kmail/renamejob.cpp:239
#73 0xb7753590 in KMail::RenameJob::qt_metacall (this=0x932b458, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd0393c) at ./renamejob.moc:75
#74 0xb710bb33 in QMetaObject::activate (sender=0x91d9b40, from_signal_index=12, to_signal_index=12, argv=0xbfd0393c) at kernel/qobject.cpp:3112
#75 0xb710c782 in QMetaObject::activate (sender=0x91d9b40, m=0xb7a86d04, local_signal_index=0, argv=0xbfd0393c) at kernel/qobject.cpp:3186
#76 0xb77b6049 in KMail::CopyFolderJob::folderCopyComplete (this=0x91d9b40, _t1=true) at ./copyfolderjob.moc:101
#77 0xb77b810e in KMail::CopyFolderJob::slotCopyCompleted (this=0x91d9b40, command=0x92d5150) at ../../kmail/copyfolderjob.cpp:127
#78 0xb77b855c in KMail::CopyFolderJob::qt_metacall (this=0x91d9b40, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd03a8c) at ./copyfolderjob.moc:85
#79 0xb710bb33 in QMetaObject::activate (sender=0x92d5150, from_signal_index=5, to_signal_index=5, argv=0xbfd03a8c) at kernel/qobject.cpp:3112
#80 0xb710c782 in QMetaObject::activate (sender=0x92d5150, m=0xb7a7f634, local_signal_index=1, argv=0xbfd03a8c) at kernel/qobject.cpp:3186
#81 0xb764f143 in KMCommand::completed (this=0x92d5150, _t1=0x92d5150) at ./kmcommands.moc:109
#82 0xb765906a in KMCopyCommand::execute (this=0x92d5150) at ../../kmail/kmcommands.cpp:1959
#83 0xb7653162 in KMCommand::slotPostTransfer (this=0x92d5150, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:274
#84 0xb765d32c in KMCommand::qt_metacall (this=0x92d5150, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd03c8c) at ./kmcommands.moc:87
#85 0xb7670bba in KMCopyCommand::qt_metacall (this=0x92d5150, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd03c8c) at ./kmcommands.moc:1647
#86 0xb710bb33 in QMetaObject::activate (sender=0x92d5150, from_signal_index=4, to_signal_index=4, argv=0xbfd03c8c) at kernel/qobject.cpp:3112
#87 0xb710c782 in QMetaObject::activate (sender=0x92d5150, m=0xb7a7f634, local_signal_index=0, argv=0xbfd03c8c) at kernel/qobject.cpp:3186
#88 0xb764f193 in KMCommand::messagesTransfered (this=0x92d5150, _t1=KMCommand::OK) at ./kmcommands.moc:102
#89 0xb766c794 in KMCommand::transferSelectedMsgs (this=0x92d5150) at ../../kmail/kmcommands.cpp:368
#90 0xb766c9e3 in KMCommand::slotStart (this=0x92d5150) at ../../kmail/kmcommands.cpp:266
#91 0xb765d33b in KMCommand::qt_metacall (this=0x92d5150, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd03e68) at ./kmcommands.moc:86
#92 0xb7670bba in KMCopyCommand::qt_metacall (this=0x92d5150, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd03e68) at ./kmcommands.moc:1647
#93 0xb710bb33 in QMetaObject::activate (sender=0x9253d68, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#94 0xb710c782 in QMetaObject::activate (sender=0x9253d68, m=0xb71e6de8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#95 0xb7111847 in QSingleShotTimer::timeout (this=0x9253d68) at .moc/release-shared/qtimer.moc:76
#96 0xb711196c in QSingleShotTimer::timerEvent (this=0x9253d68) at kernel/qtimer.cpp:298
#97 0xb7106bcf in QObject::event (this=0x9253d68, e=0xbfd042ec) at kernel/qobject.cpp:1074
#98 0xb6736814 in QApplicationPrivate::notify_helper (this=0x8977328, receiver=0x9253d68, e=0xbfd042ec) at kernel/qapplication.cpp:4056
#99 0xb673e97e in QApplication::notify (this=0xbfd04608, receiver=0x9253d68, e=0xbfd042ec) at kernel/qapplication.cpp:3603
#100 0xb7e9a4ad in KApplication::notify (this=0xbfd04608, receiver=0x9253d68, event=0xbfd042ec) at ../../kdeui/kernel/kapplication.cpp:302
#101 0xb70f69cb in QCoreApplication::notifyInternal (this=0xbfd04608, receiver=0x9253d68, event=0xbfd042ec) at kernel/qcoreapplication.cpp:610
#102 0xb7125361 in QCoreApplication::sendEvent (this=0x897a034) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#103 QTimerInfoList::activateTimers (this=0x897a034) at kernel/qeventdispatcher_unix.cpp:572
#104 0xb7121900 in timerSourceDispatch (source=0x897a000) at kernel/qeventdispatcher_glib.cpp:165
#105 0xb4823e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#106 0xb4827623 in ?? () from /lib/libglib-2.0.so.0
#107 0xb48277a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#108 0xb7121858 in QEventDispatcherGlib::processEvents (this=0x8971af8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#109 0xb67d5fd5 in QGuiEventDispatcherGlib::processEvents (this=0x8971af8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#110 0xb70f501a in QEventLoop::processEvents (this=0xbfd04510, flags=...) at kernel/qeventloop.cpp:149
#111 0xb70f5462 in QEventLoop::exec (this=0xbfd04510, flags=...) at kernel/qeventloop.cpp:201
#112 0xb70f78b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#113 0xb6736697 in QApplication::exec () at kernel/qapplication.cpp:3525
#114 0x0804a6d0 in main (argc=-1219032720, argv=0xb7570ae0) at ../../kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Christophe Marin 2009-10-29 13:33:50 UTC

*** This bug has been marked as a duplicate of bug 199271 ***
Comment 2 Christophe Marin 2009-11-16 14:45:51 UTC

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