Bug 124442 - deleting local maildir folder after removing corresponding account crashes kmail
Summary: deleting local maildir folder after removing corresponding account crashes kmail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: maildir (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 137769 141212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-28 20:49 UTC by Erik Ramseth
Modified: 2010-04-06 00:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace of the described crash (7.49 KB, text/plain)
2006-03-28 20:50 UTC, Erik Ramseth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Ramseth 2006-03-28 20:49:33 UTC
Version:           1.9.1 (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu11 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-19-k7

I have a local maildir folder (on disk, not in KMail) which I added as an account and told the config to send the messages to the folder "1234" which I created under Local Folders in KMail as a Maildir directory.

After checking the account, all the messages appear fine in folder 1234, but then when I try to delete the folder 1234 from KMail, via Folder > Delete Folder (after having already removed the account which send mail to this folder), it crashes KMail.

This is a consistently repeating crash.
Comment 1 Erik Ramseth 2006-03-28 20:50:59 UTC
Created attachment 15339 [details]
backtrace of the described crash

Hopefully this backtrace is useful.
Comment 2 Erik Ramseth 2006-03-28 21:06:58 UTC
As a workaround I deleted the maildir folder from disk (from ~/.kde/share/apps/kmail/mail)

Deleting the individual emails in the folder from within KMail was taking forever.

For the record, there were 3920 emails in this folder.
Comment 3 Thiago Macieira 2006-04-02 10:00:14 UTC
Pasting the backtrace:

#6  0xb7917682 in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7918653 in free () from /lib/tls/i686/cmov/libc.so.6
#8  0xb791a411 in malloc () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7ab9e26 in operator new () from /usr/lib/libstdc++.so.6
#10 0xb7ab9f3d in operator new[] () from /usr/lib/libstdc++.so.6
#11 0xb7dbbaa0 in KMFolderMaildir::getDwString ()
   from /usr/lib/libkmailprivate.so
#12 0xb7db84c1 in KMFolderMaildir::readMsg () from /usr/lib/libkmailprivate.so
#13 0xb7d1c304 in FolderStorage::getMsg () from /usr/lib/libkmailprivate.so
#14 0xb7cfd161 in KMFolder::getMsg () from /usr/lib/libkmailprivate.so
#15 0xb7d57fc6 in KMSearchPattern::matches () from /usr/lib/libkmailprivate.so
#16 0xb7d199e6 in FolderStorage::search () from /usr/lib/libkmailprivate.so
#17 0xb7e627b7 in KMFolderSearch::propagateHeaderChanged ()
   from /usr/lib/libkmailprivate.so
#18 0xb7e64934 in KMFolderSearch::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#19 0xb717e402 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb7d39ae1 in KMFolderMgr::msgHeaderChanged ()
   from /usr/lib/libkmailprivate.so
#21 0xb7d3a165 in KMFolderMgr::qt_emit () from /usr/lib/libkmailprivate.so
#22 0xb717e3d6 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb7cfe77d in KMFolder::msgHeaderChanged ()
   from /usr/lib/libkmailprivate.so
#24 0xb7d02250 in KMFolder::qt_emit () from /usr/lib/libkmailprivate.so
#25 0xb717e2a9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb7d1ac73 in FolderStorage::msgHeaderChanged ()
   from /usr/lib/libkmailprivate.so
#27 0xb7d1ace9 in FolderStorage::headerOfMsgChanged ()
   from /usr/lib/libkmailprivate.so
#28 0xb7d6d9f1 in KMMsgBase::setStatus () from /usr/lib/libkmailprivate.so
#29 0xb7d2b60f in KMMsgInfo::setStatus () from /usr/lib/libkmailprivate.so
#30 0xb7d19107 in FolderStorage::markNewAsUnread ()
   from /usr/lib/libkmailprivate.so
#31 0xb7cfd569 in KMFolder::markNewAsUnread ()
   from /usr/lib/libkmailprivate.so
#32 0xb7ccd242 in KMHeaders::setFolder () from /usr/lib/libkmailprivate.so
#33 0xb7e4ea0a in KMMainWidget::folderSelected ()
   from /usr/lib/libkmailprivate.so
#34 0xb7e5b4ee in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#35 0xb717e402 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#36 0xb7cabc1c in KMFolderTree::folderSelected ()
   from /usr/lib/libkmailprivate.so
#37 0xb7cad5d2 in KMFolderTree::doFolderSelected ()
   from /usr/lib/libkmailprivate.so
#38 0xb7cad821 in KMFolderTree::slotFolderRemoved ()
   from /usr/lib/libkmailprivate.so
#39 0xb7cb2747 in KMFolderTree::qt_invoke () from /usr/lib/libkmailprivate.so
#40 0xb717e402 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#41 0xb7d39c4f in KMFolderMgr::folderRemoved ()
   from /usr/lib/libkmailprivate.so
#42 0xb7d3a421 in KMFolderMgr::remove () from /usr/lib/libkmailprivate.so
#43 0xb7e4a133 in KMMainWidget::slotRemoveFolder ()
   from /usr/lib/libkmailprivate.so
#44 0xb7e5b8c7 in KMMainWidget::qt_invoke () from /usr/lib/libkmailprivate.so
#45 0xb717e2d5 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#46 0xb717ed70 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#47 0xb5f98b17 in KAction::activated () from /usr/lib/libkdeui.so.4
#48 0xb5fce664 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#49 0xb5fe9d36 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#50 0xb5fe9feb in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#51 0xb717e2d5 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#52 0xb750d37e in QSignal::signal () from /usr/lib/libqt-mt.so.3
#53 0xb719ba34 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#54 0xb72a22af in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#55 0xb5fa477d in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#56 0xb71b8a79 in QWidget::event () from /usr/lib/libqt-mt.so.3
#57 0xb71146c2 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#58 0xb7114c42 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#59 0xb780cc7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#60 0xb70a5a01 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#61 0xb70a0dfc in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#62 0xb709f595 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#63 0xb70b8cf3 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#64 0xb712d1bb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#65 0xb712d0de in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#66 0xb71131d1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
Comment 4 Thomas McGuire 2007-02-05 11:53:26 UTC
*** Bug 141212 has been marked as a duplicate of this bug. ***
Comment 5 Thomas McGuire 2007-02-05 11:54:05 UTC
*** Bug 137769 has been marked as a duplicate of this bug. ***
Comment 6 Will Stephenson 2007-03-23 19:05:44 UTC
Did you have a search folder that searched the deleted folder?
Comment 7 Thomas McGuire 2007-07-17 14:26:07 UTC
Did you have a message with a big attachment in this maildir?
That would explain why operator new fails...
Comment 8 Björn Ruberg 2010-04-06 00:25:57 UTC
No response. Closing old KDE 3 crash