[Bug 206968] KMail crashed after removing two imap accounts (KMail::MessageListView::StorageModel::initializeMessageItem, .. KMessageBox/QDialog::exec, eventloop-problem?)

Michal Slonina af1n at o2.pl
Fri Oct 30 10:13:29 GMT 2009


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





--- Comment #9 from Michal Slonina <af1n o2 pl>  2009-10-30 11:13:27 ---
pasted wrong bug report.... sorry. Here is the correct one:
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.6.0
Operating System: Linux 2.6.30.1 i686

What I was doing when the application crashed:
I was moving folders on dimap on google account.
eg. structure was
/all
/memo
/lists

i tried to move all and then memo to lists,
the desired result was
/lists/all
/lists/memo

instead kmail crashed

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  KMail::MessageListView::StorageModel::initializeMessageItem
(this=0x945e6a0, mi=0x92b3dd0, row=11, bUseReceiver=false)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/storagemodel.cpp:402
#7  0xb16002a7 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill
(this=0x886efa8, job=0x9452c00, tStart=@0xbfa6378c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:2714
#8  0xb16015b3 in
KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob
(this=0x886efa8, job=0x9452c00, tStart=@0xbfa6378c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:3356
#9  0xb1601c13 in KMail::MessageListView::Core::Model::viewItemJobStepInternal
(this=0x886efa8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:3728
#10 0xb160246f in KMail::MessageListView::Core::Model::viewItemJobStep
(this=0x886efa8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:3916
#11 0xb160453f in KMail::MessageListView::Core::Model::setStorageModel
(this=0x886efa8, storageModel=<value optimized out>, preSelectionMode=<value
optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:808
#12 0xb1606105 in
KMail::MessageListView::Core::Model::slotStorageModelLayoutChanged
(this=0x886efa8)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:4399
#13 0xb10f81d6 in KMail::MessageListView::Core::Model::qt_metacall
(this=0x886efa8, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0xbfa63b4c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/moc_model.cpp:86
#14 0xb6bcbffa in QMetaObject::metacall (object=0x886efa8, cl=11, idx=28,
argv=0xbfa63b4c) at kernel/qmetaobject.cpp:237
#15 0xb6bdad87 in QMetaObject::activate (sender=0x945e6a0, m=0xb6ce4198,
local_signal_index=13, argv=<value optimized out>) at kernel/qobject.cpp:3390
#16 0xb6c34df8 in QAbstractItemModel::modelReset (this=0x945e6a0) at
.moc/release-shared/moc_qabstractitemmodel.cpp:235
#17 0xb6bbb669 in QAbstractItemModel::reset (this=0x945e6a0) at
kernel/qabstractitemmodel.cpp:2799
#18 0xb15cc0ae in KMail::MessageListView::StorageModel::slotViewConfigChanged
(this=0x945e6a0) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/storagemodel.cpp:614
#19 0xb10f808b in KMail::MessageListView::StorageModel::qt_metacall
(this=0x945e6a0, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfa63cac)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/moc_storagemodel.cpp:98
#20 0xb6bcbffa in QMetaObject::metacall (object=0x945e6a0, cl=11, idx=32,
argv=0xbfa63cac) at kernel/qmetaobject.cpp:237
#21 0xb6bdad87 in QMetaObject::activate (sender=0x87e40d8, m=0xb1885da0,
local_signal_index=18, argv=<value optimized out>) at kernel/qobject.cpp:3390
#22 0xb121238a in KMFolder::setUserWhoField (this=0x87e40d8,
whoField=@0xbfa63ed8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmfolder.moc:275
#23 0xb12130bc in KMFolder::readConfig (this=0x87e40d8,
configGroup=@0xbfa63fec) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolder.cpp:211
#24 0xb1246853 in FolderStorage::readConfig (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/folderstorage.cpp:963
#25 0xb1328565 in KMFolderCachedImap::readConfig (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldercachedimap.cpp:314
#26 0xb1241752 in FolderStorage::countUnread (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/folderstorage.cpp:866
#27 0xb120c277 in KMFolder::countUnread (this=0x87e40d8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolder.cpp:497
#28 0xb1266bbe in KMSystemTray::updateNewMessages (this=0x8bc68b8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmsystemtray.cpp:483
#29 0xb126a39b in KMSystemTray::qt_metacall (this=0x8bc68b8,
_c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfa6443c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmsystemtray.moc:84
#30 0xb6bcbffa in QMetaObject::metacall (object=0x8bc68b8, cl=11, idx=19,
argv=0xbfa6443c) at kernel/qmetaobject.cpp:237
#31 0xb6bdad87 in QMetaObject::activate (sender=0x8bc7f00, m=0xb6ce45a4,
local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3390
#32 0xb6c35ef8 in QTimer::timeout (this=0x8bc7f00) at
.moc/release-shared/moc_qtimer.cpp:134
#33 0xb6be58de in QTimer::timerEvent (this=0x8bc7f00, e=0xbfa64938) at
kernel/qtimer.cpp:271
#34 0xb6bdf19c in QObject::event (this=0x8bc7f00, e=0xb) at
kernel/qobject.cpp:1202
#35 0xb70af734 in QApplicationPrivate::notify_helper (this=0x80767e8,
receiver=0x8bc7f00, e=0xbfa64938) at kernel/qapplication.cpp:4277
#36 0xb70b398d in QApplication::notify (this=0xbfa664c4, receiver=0x8bc7f00,
e=0xbfa64938) at kernel/qapplication.cpp:4049
#37 0xb7b53b4b in KApplication::notify (this=0xbfa664c4, receiver=0x8bc7f00,
event=0xbfa64938) at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#38 0xb6bc5ff2 in QCoreApplication::notifyInternal (this=0xbfa664c4,
receiver=0x8bc7f00, event=0xbfa64938) at kernel/qcoreapplication.cpp:704
#39 0xb6bf9ebe in QTimerInfoList::activateTimers (this=0x807e64c) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 0xb6bf7018 in idleTimerSourceDispatch (source=0x807e680) at
kernel/qeventdispatcher_glib.cpp:184
#41 0xb4d8dcba in IA__g_main_context_dispatch (context=0x8078890) at
gmain.c:1824
#42 0xb4d8e510 in g_main_context_iterate (context=0x8078890, block=<value
optimized out>, dispatch=1, self=0x806e310) at gmain.c:2455
#43 0xb4d8e640 in IA__g_main_context_iteration (context=0x8078890, may_block=1)
at gmain.c:2518
#44 0xb6bf6d06 in QEventDispatcherGlib::processEvents (this=0x8071980, flags={i
= 100}) at kernel/qeventdispatcher_glib.cpp:407
#45 0xb7162446 in QGuiEventDispatcherGlib::processEvents (this=0x8071980,
flags={i = 100}) at kernel/qguieventdispatcher_glib.cpp:202
#46 0xb6bc493a in QEventLoop::processEvents (this=0xbfa64c00, flags=) at
kernel/qeventloop.cpp:149
#47 0xb6bc4d9a in QEventLoop::exec (this=0xbfa64c00, flags={i = 64}) at
kernel/qeventloop.cpp:201
#48 0xb75ea97c in QDialog::exec (this=0x8f6cae0) at dialogs/qdialog.cpp:530
#49 0xb7abf47c in KMessageBox::createKMessageBox (dialog=0x8f6cae0,
icon=@0xbfa64ecc, text=@0xbfa6502c, strlist=@0xbfa64f44, ask=@0xbfa64f40,
checkboxReturn=0x0, options={i = 1}, 
    details=@0xbfa64f38, notifyType=QMessageBox::Warning) at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/dialogs/kmessagebox.cpp:331
#50 0xb7ac0a22 in KMessageBox::createKMessageBox (dialog=0x8f6cae0,
icon=QMessageBox::Warning, text=@0xbfa6502c, strlist=@0xbfa64f44,
ask=@0xbfa64f40, checkboxReturn=0x0, options={i = 1}, 
    details=@0xbfa64f38) at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/dialogs/kmessagebox.cpp:151
#51 0xb7ac110a in KMessageBox::sorryWId (parent_id=0, text=@0xbfa6502c,
caption=@0xbfa65028, options=)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/dialogs/kmessagebox.cpp:927
#52 0xb7ac1289 in KMessageBox::sorry (parent=0x0, text=@0xbfa6502c,
caption=@0xbfa65028, options={i = 1})
    at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/dialogs/kmessagebox.cpp:904
#53 0xb1343e11 in KMFolderMaildir::canAccess (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermaildir.cpp:112
#54 0xb1341f7b in KMFolderMaildir::open (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermaildir.cpp:130
#55 0xb120c2ce in KMFolder::open (this=0x87e40d8, owner=0xb178be1e
"MessageListView::StorageModel") at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolder.cpp:532
#56 0xb15cd9e3 in KMail::MessageListView::StorageModel::slotFolderClosed
(this=0x945e6a0) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/storagemodel.cpp:591
#57 0xb10f80fb in KMail::MessageListView::StorageModel::qt_metacall
(this=0x945e6a0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfa651dc)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/moc_storagemodel.cpp:93
#58 0xb6bcbffa in QMetaObject::metacall (object=0x945e6a0, cl=11, idx=27,
argv=0xbfa651dc) at kernel/qmetaobject.cpp:237
#59 0xb6bdad87 in QMetaObject::activate (sender=0x87e40d8, m=0xb1885da0,
local_signal_index=1, argv=<value optimized out>) at kernel/qobject.cpp:3390
#60 0xb120cec8 in KMFolder::closed (this=0x87e40d8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmfolder.moc:161
#61 0xb120d7c2 in KMFolder::qt_metacall (this=0x87e40d8,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa65330) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmfolder.moc:118
#62 0xb6bcbffa in QMetaObject::metacall (object=0x87e40d8, cl=11, idx=5,
argv=0xbfa65330) at kernel/qmetaobject.cpp:237
#63 0xb6bdad87 in QMetaObject::activate (sender=0x883acd8, m=0xb1886388,
local_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3390
#64 0xb1245ef1 in FolderStorage::remove (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/folderstorage.moc:191
#65 0xb1327c4b in KMFolderCachedImap::remove (this=0x883acd8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldercachedimap.cpp:432
#66 0xb120c3e1 in KMFolder::remove (this=0x87e40d8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfolder.cpp:574
#67 0xb127322f in KMFolderMgr::remove (this=0x877b6a0, aFolder=0x87e40d8) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmfoldermgr.cpp:361
#68 0xb1534635 in KMail::RenameJob::folderCopyComplete (this=0x8f96400,
success=true) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/renamejob.cpp:239
#69 0xb1534e58 in KMail::RenameJob::qt_metacall (this=0x8f96400,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfa656a8)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/renamejob.moc:81
#70 0xb6bcbffa in QMetaObject::metacall (object=0x8f96400, cl=11, idx=14,
argv=0xbfa656a8) at kernel/qmetaobject.cpp:237
#71 0xb6bdad87 in QMetaObject::activate (sender=0x97a75f0, m=0xb1892d04,
local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3390
#72 0xb15a6bf8 in KMail::CopyFolderJob::slotCopyCompleted (this=0x97a75f0,
command=0x80d8430) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/copyfolderjob.moc:107
#73 0xb15a711f in KMail::CopyFolderJob::qt_metacall (this=0x97a75f0,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa657d8)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/copyfolderjob.moc:91
#74 0xb6bcbffa in QMetaObject::metacall (object=0x97a75f0, cl=11, idx=15,
argv=0xbfa657d8) at kernel/qmetaobject.cpp:237
#75 0xb6bdad87 in QMetaObject::activate (sender=0x80d8430, m=0xb188b634,
local_signal_index=1, argv=<value optimized out>) at kernel/qobject.cpp:3390
#76 0xb1416264 in KMCommand::completed (this=0x80d8430, _t1=0x80d8430) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:115
#77 0xb14206c4 in KMCopyCommand::execute (this=0x80d8430) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:1964
#78 0xb141ecdd in KMCommand::slotPostTransfer (this=0x80d8430,
result=KMCommand::OK) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:274
#79 0xb1425cff in KMCommand::qt_metacall (this=0x80d8430,
_c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfa65a48)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:93
#80 0xb143b3ab in KMCopyCommand::qt_metacall (this=0x80d8430,
_c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfa65a48)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1857
#81 0xb6bcbffa in QMetaObject::metacall (object=0x80d8430, cl=11, idx=9,
argv=0xbfa65a48) at kernel/qmetaobject.cpp:237
#82 0xb6bdad87 in QMetaObject::activate (sender=0x80d8430, m=0xb188b634,
local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3390
#83 0xb14162b4 in KMCommand::messagesTransfered (this=0x80d8430,
_t1=KMCommand::OK) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:108
#84 0xb1434a96 in KMCommand::transferSelectedMsgs (this=0x80d8430) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:368
#85 0xb1434d82 in KMCommand::slotStart (this=0x80d8430) at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/kmcommands.cpp:266
#86 0xb1425cdb in KMCommand::qt_metacall (this=0x80d8430,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa65c7c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:92
#87 0xb143b3ab in KMCopyCommand::qt_metacall (this=0x80d8430,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa65c7c)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2_build/kmail/kmcommands.moc:1857
#88 0xb6bcbffa in QMetaObject::metacall (object=0x80d8430, cl=11, idx=8,
argv=0xbfa65c7c) at kernel/qmetaobject.cpp:237
#89 0xb6bdad87 in QMetaObject::activate (sender=0x90405d8, m=0xb6ce31a4,
local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3390
#90 0xb6be5af7 in QSingleShotTimer::timerEvent (this=0x90405d8) at
.moc/release-shared/qtimer.moc:82
#91 0xb6bdf19c in QObject::event (this=0x90405d8, e=0xb) at
kernel/qobject.cpp:1202
#92 0xb70af734 in QApplicationPrivate::notify_helper (this=0x80767e8,
receiver=0x90405d8, e=0xbfa66158) at kernel/qapplication.cpp:4277
#93 0xb70b398d in QApplication::notify (this=0xbfa664c4, receiver=0x90405d8,
e=0xbfa66158) at kernel/qapplication.cpp:4049
#94 0xb7b53b4b in KApplication::notify (this=0xbfa664c4, receiver=0x90405d8,
event=0xbfa66158) at
/var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#95 0xb6bc5ff2 in QCoreApplication::notifyInternal (this=0xbfa664c4,
receiver=0x90405d8, event=0xbfa66158) at kernel/qcoreapplication.cpp:704
#96 0xb6bf9ebe in QTimerInfoList::activateTimers (this=0x807e64c) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#97 0xb6bf7018 in idleTimerSourceDispatch (source=0x807e680) at
kernel/qeventdispatcher_glib.cpp:184
#98 0xb4d8dcba in IA__g_main_context_dispatch (context=0x8078890) at
gmain.c:1824
#99 0xb4d8e510 in g_main_context_iterate (context=0x8078890, block=<value
optimized out>, dispatch=1, self=0x806e310) at gmain.c:2455
#100 0xb4d8e640 in IA__g_main_context_iteration (context=0x8078890,
may_block=1) at gmain.c:2518
#101 0xb6bf6d06 in QEventDispatcherGlib::processEvents (this=0x8071980,
flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#102 0xb7162446 in QGuiEventDispatcherGlib::processEvents (this=0x8071980,
flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#103 0xb6bc493a in QEventLoop::processEvents (this=0xbfa66424, flags=) at
kernel/qeventloop.cpp:149
#104 0xb6bc4d9a in QEventLoop::exec (this=0xbfa66424, flags={i = 0}) at
kernel/qeventloop.cpp:201
#105 0xb6bc7dc1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#106 0xb70a6a18 in QApplication::exec () at kernel/qapplication.cpp:3616
#107 0x0804b701 in main (argc=1, argv=0xbfa666c4) at
/var/tmp/portage/kde-base/kontact-4.3.2/work/kontact-4.3.2/kontact/src/main.cpp:218

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