Bug 199272 - Kontact (with kmail) crash after removing an account with filter referencing this account directory
Summary: Kontact (with kmail) crash after removing an account with filter referencing ...
Status: RESOLVED DUPLICATE of bug 142937
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 12:24 UTC by rapsys
Modified: 2009-07-07 17:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rapsys 2009-07-07 12:24:35 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-server-0.rc8.1mnb i686
Distribution: "Mandriva Linux 2009.1"

What I was doing when the application crashed:
I have remove a dimap account with directory tree and lot of message, after a long time of deletion and error message about rights on deleted directory it crashed.

In fact two errors where shown before the crash about filter referencing path in old account.

The problem came from automatic every 10minutes mail fetch that tried to filter according the filter old path.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0xb69a05ed in fseek (fp=0x95fd7f0, offset=147985808, whence=0) at fseek.c:40
#6  0xb0f5702c in KMMsgDict::writeFolderIds (this=0x8d21590, storage=@0x8eb7700) at /usr/src/debug/kdepim-4.2.95/kmail/kmmsgdict.cpp:562
#7  0xb0f5b8e7 in FolderStorage::invalidateFolder (this=0x8eb7700) at /usr/src/debug/kdepim-4.2.95/kmail/folderstorage.cpp:1031
#8  0xb0f5b94e in FolderStorage::readFolderIdsFile (this=0x8eb7700) at /usr/src/debug/kdepim-4.2.95/kmail/folderstorage.cpp:1018
#9  0xb0f39f39 in KMFolder (this=0x8fe7dc8, aParent=0x8dd10b0, aFolderName=@0xb12b1a40, aFolderType=2972391912, withIndex=244, exportedSernums=true)
    at /usr/src/debug/kdepim-4.2.95/kmail/kmfolder.cpp:148
#10 0xb0f7b0a6 in KMFolderDir::createFolder (this=0x8dd10b0, aFolderName=@0xbff3c100, aSysFldr=true, aFolderType=147985808) at /usr/src/debug/kdepim-4.2.95/kmail/kmfolderdir.cpp:106
#11 0xb1009b4b in KMFolderCachedImap::listDirectory2 (this=0x8dd0980) at /usr/src/debug/kdepim-4.2.95/kmail/kmfoldercachedimap.cpp:2234
#12 0xb1004b3d in KMFolderCachedImap::serverSyncInternal (this=0x8dd0980) at /usr/src/debug/kdepim-4.2.95/kmail/kmfoldercachedimap.cpp:1016
#13 0xb1007346 in KMFolderCachedImap::slotRescueDone (this=0x8dd0980, command=0x0) at /usr/src/debug/kdepim-4.2.95/kmail/kmfoldercachedimap.cpp:3265
#14 0xb1007974 in KMFolderCachedImap::slotListResult (this=0x8dd0980, folderNames=@0x8d21590, folderPaths=@0x8d21590, folderMimeTypes=@0x8d21590, folderAttributes=@0x8ec5f58, jobData=@0x8d21590)
    at /usr/src/debug/kdepim-4.2.95/kmail/kmfoldercachedimap.cpp:2209
#15 0xb10105b6 in KMFolderCachedImap::qt_metacall (this=0x8dd0980, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0xbff3c6c8) at /usr/src/debug/kdepim-4.2.95/build/kmail/kmfoldercachedimap.moc:226
#16 0xb769cf29 in QMetaObject::activate (sender=0x8ec5f10, from_signal_index=12, to_signal_index=12, argv=0xbff3c6c8) at kernel/qobject.cpp:3104
#17 0xb769dc65 in QMetaObject::activate (sender=0x8ec5f10, m=0xb1445f94, local_signal_index=0, argv=0xbff3c6c8) at kernel/qobject.cpp:3178
#18 0xb0f00a1e in KMail::ListJob::receivedFolders (this=0x8ec5f10, _t1=@0x8ec5f4c, _t2=@0x8ec5f50, _t3=@0x8ec5f54, _t4=@0x8ec5f58, _t5=@0x95fd87c)
    at /usr/src/debug/kdepim-4.2.95/build/kmail/listjob.moc:91
#19 0xb0f01170 in KMail::ListJob::slotListResult (this=0x8ec5f10, job=0x8ee66e0) at /usr/src/debug/kdepim-4.2.95/kmail/listjob.cpp:181
#20 0xb0f012e5 in KMail::ListJob::qt_metacall (this=0x8ec5f10, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff3c868) at /usr/src/debug/kdepim-4.2.95/build/kmail/listjob.moc:77
#21 0xb769cf29 in QMetaObject::activate (sender=0x8ee66e0, from_signal_index=7, to_signal_index=7, argv=0xbff3c868) at kernel/qobject.cpp:3104
#22 0xb769dc65 in QMetaObject::activate (sender=0x8ee66e0, m=0xb79d1d48, local_signal_index=3, argv=0xbff3c868) at kernel/qobject.cpp:3178
#23 0xb784cac5 in KJob::result (this=0x8ee66e0, _t1=0x8ee66e0) at /usr/src/debug/kdelibs-4.2.95/build/kdecore/kjob.moc:188
#24 0xb784d02e in KJob::emitResult (this=0x8ee66e0) at /usr/src/debug/kdelibs-4.2.95/kdecore/jobs/kjob.cpp:304
#25 0xb5f58b7e in KIO::SimpleJob::slotFinished (this=0x8ee66e0) at /usr/src/debug/kdelibs-4.2.95/kio/kio/job.cpp:477
#26 0xb5f58da0 in KIO::ListJob::slotFinished (this=0x8ee66e0) at /usr/src/debug/kdelibs-4.2.95/kio/kio/job.cpp:2408
#27 0xb5f5e224 in KIO::ListJob::qt_metacall (this=0x8ee66e0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbff3ca8c) at /usr/src/debug/kdelibs-4.2.95/build/kio/jobclasses.moc:764
#28 0xb769cf29 in QMetaObject::activate (sender=0x8ee46b8, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3104
#29 0xb769dc65 in QMetaObject::activate (sender=0x8ee46b8, m=0xb613ff44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3178
#30 0xb6011845 in KIO::SlaveInterface::finished (this=0x8ee46b8) at /usr/src/debug/kdelibs-4.2.95/build/kio/slaveinterface.moc:165
#31 0xb60134ff in KIO::SlaveInterface::dispatch (this=0x8ee46b8, _cmd=104, rawdata=@0xbff3cc38) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:175
#32 0xb601403e in KIO::SlaveInterface::dispatch (this=0x8ee46b8) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:91
#33 0xb60070cc in KIO::Slave::gotInput (this=0x8ee46b8) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slave.cpp:322
#34 0xb60085ac in KIO::Slave::qt_metacall (this=0x8ee46b8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbff3cd7c) at /usr/src/debug/kdelibs-4.2.95/build/kio/slave.moc:76
#35 0xb769cf29 in QMetaObject::activate (sender=0x8eb6ec8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3104
#36 0xb769dc65 in QMetaObject::activate (sender=0x8eb6ec8, m=0xb613c880, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3178
#37 0xb5f285a5 in KIO::Connection::readyRead (this=0x8eb6ec8) at /usr/src/debug/kdelibs-4.2.95/build/kio/connection.moc:86
#38 0xb5f294f4 in KIO::ConnectionPrivate::dequeue (this=0x8f21018) at /usr/src/debug/kdelibs-4.2.95/kio/kio/connection.cpp:82
#39 0xb5f2a57f in KIO::Connection::qt_metacall (this=0x8eb6ec8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x96c51d8) at /usr/src/debug/kdelibs-4.2.95/build/kio/connection.moc:73
#40 0xb769568a in QMetaCallEvent::placeMetaCall (this=0x966efc8, object=0x8eb6ec8) at kernel/qobject.cpp:477
#41 0xb7696da6 in QObject::event (this=0x8eb6ec8, e=0x966efc8) at kernel/qobject.cpp:1102
#42 0xb6ca00dc in QApplicationPrivate::notify_helper (this=0x8a1ba50, receiver=0x8eb6ec8, e=0x966efc8) at kernel/qapplication.cpp:4056
#43 0xb6ca7c2e in QApplication::notify (this=0xbff3f980, receiver=0x8eb6ec8, e=0x966efc8) at kernel/qapplication.cpp:3603
#44 0xb7b8fc48 in KApplication::notify (this=0xbff3f980, receiver=0x8eb6ec8, event=0x966efc8) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#45 0xb768679e in QCoreApplication::notifyInternal (this=0xbff3f980, receiver=0x8eb6ec8, event=0x966efc8) at kernel/qcoreapplication.cpp:610
#46 0xb768740a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89fb9f8) at ../../src/corelib/kernel/qcoreapplication.h:213
#47 0xb76875ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#48 0xb76b2dcd in postEventSourceDispatch (s=0x8a1e1b0) at ../../src/corelib/kernel/qcoreapplication.h:218
#49 0xb4f38eb2 in IA__g_main_context_dispatch (context=0x8a1daa0) at gmain.c:1960
#50 0xb4f3c868 in g_main_context_iterate (context=0x8a1daa0, block=<value optimized out>, dispatch=1, self=0x8a223f8) at gmain.c:2591
#51 0xb4f3c98e in IA__g_main_context_iteration (context=0x8a1daa0, may_block=1) at gmain.c:2654
#52 0xb76b29d8 in QEventDispatcherGlib::processEvents (this=0x8a22280, flags={i = 100}) at kernel/qeventdispatcher_glib.cpp:327
#53 0xb6d42efa in QGuiEventDispatcherGlib::processEvents (this=0x8a22280, flags={i = 100}) at kernel/qguieventdispatcher_glib.cpp:202
#54 0xb7684d8d in QEventLoop::processEvents (this=0xbff3d4f0, flags=) at kernel/qeventloop.cpp:149
#55 0xb76851d9 in QEventLoop::exec (this=0xbff3d4f0, flags={i = 64}) at kernel/qeventloop.cpp:201
#56 0xb71a7ba1 in QDialog::exec (this=0xbff3d544) at dialogs/qdialog.cpp:498
#57 0xb0eaac41 in AccountsPageReceivingTab::slotAddAccount (this=0x943bee0) at /usr/src/debug/kdepim-4.2.95/kmail/configuredialog.cpp:951
#58 0xb0ec6b94 in AccountsPageReceivingTab::qt_metacall (this=0x943bee0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbff3da48) at /usr/src/debug/kdepim-4.2.95/build/kmail/configuredialog_p.moc:483
#59 0xb769cf29 in QMetaObject::activate (sender=0x96c1618, from_signal_index=29, to_signal_index=30, argv=0xbff3da48) at kernel/qobject.cpp:3104
#60 0xb769d411 in QMetaObject::activate (sender=0x96c1618, m=0xb75390c4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbff3da48) at kernel/qobject.cpp:3198
#61 0xb7353fb5 in QAbstractButton::clicked (this=0x96c1618, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#62 0xb70684cd in QAbstractButtonPrivate::emitClicked (this=0x8de10f0) at widgets/qabstractbutton.cpp:543
#63 0xb706a22b in QAbstractButtonPrivate::click (this=0x8de10f0) at widgets/qabstractbutton.cpp:536
#64 0xb706a4c6 in QAbstractButton::mouseReleaseEvent (this=0x96c1618, e=0xbff3dfe0) at widgets/qabstractbutton.cpp:1115
#65 0xb6cf764e in QWidget::event (this=0x96c1618, event=0xbff3dfe0) at kernel/qwidget.cpp:7549
#66 0xb7068350 in QAbstractButton::event (this=0x96c1618, e=0x1) at widgets/qabstractbutton.cpp:1077
#67 0xb7116b13 in QPushButton::event (this=0x96c1618, e=0xbff3dfe0) at widgets/qpushbutton.cpp:662
#68 0xb6ca00dc in QApplicationPrivate::notify_helper (this=0x8a1ba50, receiver=0x96c1618, e=0xbff3dfe0) at kernel/qapplication.cpp:4056
#69 0xb6ca84f3 in QApplication::notify (this=0x96c1618, receiver=0x96c1618, e=0xbff3dfe0) at kernel/qapplication.cpp:3758
#70 0xb7b8fc48 in KApplication::notify (this=0xbff3f980, receiver=0x96c1618, event=0xbff3dfe0) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#71 0xb768679e in QCoreApplication::notifyInternal (this=0xbff3f980, receiver=0x96c1618, event=0xbff3dfe0) at kernel/qcoreapplication.cpp:610
#72 0xb6ca751c in QApplicationPrivate::sendMouseEvent (receiver=0x96c1618, event=0xbff3dfe0, alienWidget=0x96c1618, nativeWidget=0x8e348f8, buttonDown=0xb7540a60, lastMouseReceiver=@0xb7540a64)
    at ../../src/corelib/kernel/qcoreapplication.h:216
#73 0xb6d18eba in QETWidget::translateMouseEvent (this=0x8e348f8, event=0xbff3f62c) at kernel/qapplication_x11.cpp:4409
#74 0xb6d183ab in QApplication::x11ProcessEvent (this=0xbff3f980, event=0xbff3f62c) at kernel/qapplication_x11.cpp:3428
#75 0xb6d437c8 in x11EventSourceDispatch (s=0x8a1e670, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#76 0xb4f38eb2 in IA__g_main_context_dispatch (context=0x8a1daa0) at gmain.c:1960
#77 0xb4f3c868 in g_main_context_iterate (context=0x8a1daa0, block=<value optimized out>, dispatch=1, self=0x8a223f8) at gmain.c:2591
#78 0xb4f3c98e in IA__g_main_context_iteration (context=0x8a1daa0, may_block=1) at gmain.c:2654
#79 0xb76b29d8 in QEventDispatcherGlib::processEvents (this=0x8a22280, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#80 0xb6d42efa in QGuiEventDispatcherGlib::processEvents (this=0x8a22280, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#81 0xb7684d8d in QEventLoop::processEvents (this=0xbff3f8e4, flags=) at kernel/qeventloop.cpp:149
#82 0xb76851d9 in QEventLoop::exec (this=0xbff3f8e4, flags={i = 0}) at kernel/qeventloop.cpp:201
#83 0xb76876c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#84 0xb6c9ff44 in QApplication::exec () at kernel/qapplication.cpp:3525
#85 0x0804b165 in main (argc=1, argv=0xbff3fb64) at /usr/src/debug/kdepim-4.2.95/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-07 17:03:42 UTC
This is related with bug 196767 and bug 142937. Thanks

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