Bug 109654 - crash when trying to delete folder when the maildir has been removed externally
Summary: crash when trying to delete folder when the maildir has been removed externally
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: maildir (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 17:30 UTC by Erik Hensema
Modified: 2011-05-05 22:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Hensema 2005-07-26 17:30:20 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    SuSE RPMs

a) Create a Maildir folder in kmail
b) Delete the folder from outside kmail, while kmail is still running
c) Delete the folder from inside kmail
d) crash.
Comment 1 Thiago Macieira 2005-07-30 03:12:24 UTC
Can you paste the backtrace?

By the way, do NOT touch the mail folders when KMail is running.
Comment 2 Bram Schoenmakers 2007-05-17 12:45:40 UTC
Is this still reproducible and if yes, can you paste a backtrace?
Comment 3 Bram Schoenmakers 2007-07-03 00:18:49 UTC
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1255098704 (LWP 27038)]
[New Thread -1282458736 (LWP 27141)]
[New Thread -1274066032 (LWP 27140)]
[New Thread -1265673328 (LWP 27139)]
[New Thread -1257280624 (LWP 27138)]
[KCrash handler]
#6  0xb5e67562 in QGListIterator::QGListIterator ()
   from /usr/qt/3/lib/libqt-mt.so.3
#7  0xb7cbe342 in QPtrListIterator (this=0xbfc9717c, l=@0x0)
    at /usr/qt/3/include/qptrlist.h:157
#8  0xb7cb888a in removeDirAndContentsRecursively (path=@0xbfc971f4)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldermaildir.cpp:1000
#9  0xb7cb8ae8 in KMFolderMaildir::removeContents (this=0x8128e58)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldermaildir.cpp:1024
#10 0xb7bfe83f in FolderStorage::remove (this=0x8128e58)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/folderstorage.cpp:732
#11 0xb7bde94a in KMFolder::remove (this=0x8131be0)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfolder.cpp:505
#12 0xb7c2bf6f in KMFolderMgr::removeFolder (this=0x8118ec0, aFolder=0x8131be0)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldermgr.cpp:342
#13 0xb7c2c06a in KMFolderMgr::remove (this=0x8118ec0, aFolder=0x8131be0)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldermgr.cpp:335
#14 0xb7d6cff9 in KMMainWidget::slotRemoveFolder (this=0x8151838)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmmainwidget.cpp:1177
#15 0xb7d733c6 in KMMainWidget::qt_invoke (this=0x8151838, _id=95, 
    _o=0xbfc97468) at ./kmail/kmmainwidget.moc:571
#16 0xb5baf299 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#17 0xb5bafeed in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#18 0xb64f4040 in KAction::activated (this=0x81b0d10)
    at ./kdeui/kaction.moc:176
#19 0xb64f48a2 in KAction::slotActivated (this=0x81b0d10)
    at /home/bram/KDE/kde3/kdelibs/kdeui/kaction.cpp:1102
#20 0xb64f4b77 in KAction::slotPopupActivated (this=0x81b0d10)
    at /home/bram/KDE/kde3/kdelibs/kdeui/kaction.cpp:1129
#21 0xb64f4ee6 in KAction::qt_invoke (this=0x81b0d10, _id=16, _o=0xbfc975f4)
    at ./kdeui/kaction.moc:219
#22 0xb5baf299 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb5ee928e in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#24 0xb5bcb0b5 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb5cb47a9 in QPopupMenu::mouseReleaseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0xb64e222f in KPopupMenu::mouseReleaseEvent (this=0x826b6a0, e=0xbfc97a2c)
    at /home/bram/KDE/kde3/kdelibs/kdeui/kpopupmenu.cpp:508
#27 0xb5be8a3e in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb5b4fca7 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0xb5b50a88 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#30 0xb61eccf1 in KApplication::notify (this=0xbfc98b60, receiver=0x826b6a0, 
    event=0xbfc97a2c)
    at /home/bram/KDE/kde3/kdelibs/kdecore/kapplication.cpp:550
#31 0xb5af0906 in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0xb5aef8b0 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#33 0xb5aff761 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#34 0xb5b66831 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#35 0xb5b4f69f in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3
#36 0xb5cb7999 in QPopupMenu::exec () from /usr/qt/3/lib/libqt-mt.so.3
#37 0xb7b87aa6 in KMFolderTree::slotContextMenuRequested (this=0x8199650, 
    lvi=0x81d8af0, p=@0xbfc98150)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldertree.cpp:1134
#38 0xb7b889d7 in KMFolderTree::qt_invoke (this=0x8199650, _id=139, 
    _o=0xbfc9808c) at ./kmail/kmfoldertree.moc:513
#39 0xb5baf299 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#40 0xb5efcef2 in QListView::contextMenuRequested ()
   from /usr/qt/3/lib/libqt-mt.so.3
#41 0xb5c9504f in QListView::contentsContextMenuEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#42 0xb5cc5a86 in QScrollView::viewportContextMenuEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#43 0xb5cc31a7 in QScrollView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3
#44 0xb5c91556 in QListView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3
#45 0xb7b81cb5 in KMFolderTree::eventFilter (this=0x8199650, o=0x81995b0, 
    e=0xbfc986cc)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/kmfoldertree.cpp:1732
#46 0xb5baeb96 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3
#47 0xb5baebfb in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3
#48 0xb5be86bc in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#49 0xb5b4fca7 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#50 0xb5b50deb in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#51 0xb61eccf1 in KApplication::notify (this=0xbfc98b60, receiver=0x81995b0, 
    event=0xbfc986cc)
    at /home/bram/KDE/kde3/kdelibs/kdecore/kapplication.cpp:550
#52 0xb5af0424 in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#53 0xb5aef8b0 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#54 0xb5aff761 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#55 0xb5b66831 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#56 0xb5b666b6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#57 0xb5b4f72f in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#58 0x0804a93e in main (argc=1, argv=0xbfc98d24)
    at /home/bram/KDE/kde3/kdepim-3.5.5+/kmail/main.cpp:110
Comment 4 Jonathan Kolberg 2011-05-05 16:01:06 UTC
I don’t find a way to delete this folders in KDEPIM 4.6 beta 5 (is akonadi storing them?)
Comment 5 Christophe Marin 2011-05-05 22:23:02 UTC
Doesn't crash in KMail2 with the steps mentioned.

(In reply to comment #4)
> I don’t find a way to delete this folders in KDEPIM 4.6 beta 5 (is akonadi
> storing them?)

they're in ~/.local/share/.local-mail.directory :)