Bug 115326 - KMail crash on moving emails from one folder to another.
Summary: KMail crash on moving emails from one folder to another.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.8.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 17:45 UTC by Kari Hazzard
Modified: 2010-04-06 00:21 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 Kari Hazzard 2005-10-29 17:45:23 UTC
Version:           3.4.3 (using KDE KDE 3.4.3)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.4 
OS:                Linux

I generally have one inbox for each address, and then below that each of the mailing lists I'm on has its own folder below that for sorting and storage. I was reading my emails this morning, and moving list mail to their folders as I always do.

Then, unexpectedly, KMail crashed without SIGSEGV, it simply performed an illegal operation (in the words of the KDE message handler) and was killed with no chance of a backtrace. Wondering how this occured, I tried it again with the same emails and, sure enough, KMail crashed again. At this point I'm wondering exactly why I can't move it without crashing, so I fire KMail up again to see the contents of the messages (as the thread in question did not interest me). Lo and behold, KMail now issues SIGSEGV whenever I try to start it, which to me is a serious problem as I need access to my emails. Fortunately, now that it's crashing and giving me the opportunity to do a backtrace, I've done so and the results are posted below. I'm afraid I do not have the emails in question that I was moving (as I have no access to my email by KMail's failure to start), but the mailing list in question was the arm-linux-kernel list, the archives of which can be located at http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/.

The results of the backtrace are below. Have a good day.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 4050)]
[KCrash handler]
#5  0xb78b5c1e in fseek () from /lib/libc.so.6
#6  0xb7d12773 in KMMsgBase::syncIndexString ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#7  0xb7dfa125 in KMFolderIndex::updateIndex ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#8  0xb7d53c2b in KMFolderMaildir::close ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#9  0xb7dfb6cb in KMFolderIndex::fillDictFromIndex ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#10 0xb7cb43ab in FolderStorage::fillMsgDict ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#11 0xb7c991c9 in KMFolder::fillMsgDict ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#12 0xb7cd8e89 in KMFolderMgr::invalidateFolder ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#13 0xb7cd8fa0 in KMFolderMgr::readMsgDict ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#14 0xb7d6a8f5 in KMKernel::msgDict ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#15 0xb7cb4439 in FolderStorage::touchMsgDict ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#16 0xb7dfa16a in KMFolderIndex::updateIndex ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#17 0xb7d53c2b in KMFolderMaildir::close ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#18 0xb7cb3d7b in FolderStorage::countUnread ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#19 0xb7c97cc7 in KMFolder::countUnread ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#20 0xb7c3ede3 in KMFolderTree::slotUpdateCounts ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#21 0xb7c3af82 in KMFolderTree::reload ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#22 0xb7de2d63 in KMMainWidget::readConfig ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#23 0xb7de14a4 in KMMainWidget::KMMainWidget ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#24 0xb7bdbb90 in KMMainWin::KMMainWin ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#25 0xb7d64005 in KMKernel::openReader ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#26 0xb7d69800 in KMKernel::action () from /usr/kde/3.4/lib/libkmailprivate.so
#27 0xb7d63dcf in KMKernel::handleCommandLine ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#28 0x0804a2a6 in ?? ()
#29 0xbff63780 in ?? ()
#30 0x00000001 in ?? ()
#31 0xbff62f80 in ?? ()
#32 0x081f0638 in ?? ()
#33 0x500faeb0 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#34 0xbff62f80 in ?? ()
#35 0xbff62f18 in ?? ()
#36 0x4ff541ba in QCString::~QCString () from /usr/qt/3/lib/libqt-mt.so.3
#37 0x411ade42 in KUniqueApplication::processDelayed ()
   from /usr/kde/3.4/lib/libkdecore.so.4
#38 0x411ae2ef in KUniqueApplication::qt_invoke ()
   from /usr/kde/3.4/lib/libkdecore.so.4
#39 0x4fca4c2c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#40 0x4ffefe8a in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#41 0x4fcbf40d in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#42 0x4fcc6d73 in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#43 0x4fc47caf in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#44 0x4fc47028 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#45 0x410eb955 in KApplication::notify ()
   from /usr/kde/3.4/lib/libkdecore.so.4
#46 0x4fc373bd in QEventLoop::activateTimers ()
   from /usr/qt/3/lib/libqt-mt.so.3
#47 0x4fbecf9d in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#48 0x4fc5a629 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#49 0x4fc5a4d8 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#50 0x4fc47f01 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#51 0x0804a426 in ?? ()
#52 0xbff63860 in ?? ()
#53 0xbff63770 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x501121c0 in vtable for QGArray () from /usr/qt/3/lib/libqt-mt.so.3
#57 0x08177910 in ?? ()
#58 0x00000028 in ?? ()
#59 0x4f90f8d4 in ?? ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#60 0xb7f41bf0 in vtable for KMKernel ()
   from /usr/kde/3.4/lib/libkmailprivate.so
#61 0xb7871555 in __libc_start_main () from /lib/libc.so.6
#62 0xb7871555 in __libc_start_main () from /lib/libc.so.6
#63 0x0804a181 in ?? ()
Comment 1 Andreas Gungl 2005-10-29 22:12:02 UTC
Try to move away the .<foldername>.index* files for the folder which is 
selected at startup. This should allow you to startup KMail again.

Everything else is difficult to explain...
Anyway, would be good to have a useable KMail for you again.
Comment 2 Marco Ferretti 2006-02-10 16:42:37 UTC
Same happened here . 
What I wanted to do was to move the messages from folders in mail dir format to  folders in mailbox format. Worked happly for about 10 folders then crashes . I can restart kmail happly thou.
Comment 3 Bruno Virlet 2007-07-19 14:15:38 UTC
Can you still reproduce with the latest kde ?
Comment 4 James Salter 2008-02-26 01:50:44 UTC
This happens to me with kmail 1.9.6 on kde 3.5.7

It happened after I had performed an import from thunderbird, moving the folders from the thunderbird root import folder into local folders. I drag the folder and drop it on the local folder icon itself, then select move, instant crash with bt as below. It doesn't happen with all folders, and when I restart KMail the folder has been properly moved. 

Not a show stopper for me as KMail is fine on restart.

The BT appears to refer to something fairly trivial in the UI changing to reflect the move. 

System configuration startup check disabled.

[?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb594a6d0 (LWP 4141)]
[New Thread 0xb3b7ab90 (LWP 4147)]
[New Thread 0xb437bb90 (LWP 4146)]
[New Thread 0xb4b7cb90 (LWP 4145)]
[New Thread 0xb537db90 (LWP 4144)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb763ff6d in QString::QString () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0xb744f3a8 in QListViewItem::text () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xb7e083e4 in KMMainWidget::slotChangeCaption ()
   from /opt/kde3/lib/libkmailprivate.so
#9  0xb7e1cec2 in KMMainWidget::qt_invoke ()
   from /opt/kde3/lib/libkmailprivate.so
#10 0xb737490d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb76bbc71 in QListView::currentChanged ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb74548de in QListView::setCurrentItem ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb7c2d6cc in KMFolderTree::contentsDropEvent ()
   from /opt/kde3/lib/libkmailprivate.so
#14 0xb748589d in QScrollView::viewportDropEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb7486c1f in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb74556b6 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb7c24a19 in KMFolderTree::eventFilter ()
   from /opt/kde3/lib/libkmailprivate.so
#18 0xb737412c in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb737419b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb73ad62c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb731610c in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb7316ec3 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb79bfee2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#24 0xb72c0dfb in qt_handle_xdnd_drop () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb72c0ff9 in QDragManager::drop () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb72c30a1 in QDragManager::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb731608b in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0xb7317033 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb79bfee2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#30 0xb72b54fa in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb72b42c6 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb72c50d0 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb732cc90 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb7315bef in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb72c2da1 in QDragManager::drag () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb7324056 in QDragObject::drag () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb7323d59 in QDragObject::drag () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0xb605a894 in KListView::startDrag () from /opt/kde3/lib/libkdeui.so.4
#39 0xb61244e0 in KListView::contentsMouseMoveEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#40 0xb74896a1 in QScrollView::viewportMouseMoveEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0xb7486b53 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0xb74556b6 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0xb7c24a19 in KMFolderTree::eventFilter ()
   from /opt/kde3/lib/libkmailprivate.so
#44 0xb737412c in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0xb737419b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0xb73ad62c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0xb731610c in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0xb7317033 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#49 0xb79bfee2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#50 0xb72b54fa in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#51 0xb72b42c6 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#52 0xb72c50d0 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#53 0xb732cc90 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#54 0xb732cb26 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#55 0xb7315c7f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0x0804a31c in QObject::checkConnectArgs ()
#57 0xbfefd584 in ?? ()
#58 0xbfefd57c in ?? ()
#59 0x00000000 in ?? ()
Comment 5 Björn Ruberg 2009-12-21 23:24:07 UTC
KDE 3.5 is unmaintained. Please report if you have this problem with KDE 4.
Comment 6 Björn Ruberg 2010-04-06 00:21:57 UTC
Closing old KDE 3 crash