Bug 288832

Summary: Kmail crashes on exit / emails stay in outbox folder
Product: [Applications] kontact Reporter: Julien <julien.couret>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Julien 2011-12-12 19:48:22 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was exiting kmail when it crashed.

- Unusual behavior I noticed:
when i send an email, the email stays in the outbox folder (local folder as usial). I could not manage to send this email even with manual sending, "send queue messages" and other functions.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a6730 (LWP 1678))]

Thread 4 (Thread 0xb6b31b70 (LWP 1744)):
#0  0x00351416 in __kernel_vsyscall ()
#1  0x006b7a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x007d8cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0699b883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x0699b99f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x006b3d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x007cb0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb6208b70 (LWP 1768)):
#0  0x00351416 in __kernel_vsyscall ()
#1  0x007bc40e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0229634b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02287896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02287c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0110bb37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x010dc1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0x010dc421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x00fdf90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0x00fdf9fb in QThread::run() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x00fe27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x006b3d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x007cb0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3f71b70 (LWP 2035)):
#0  0x006b6d50 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x007d8f54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x02286f1f in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x022878f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02287c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0110bb37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x010dc1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0x010dc421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x00fdf90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0x010bce2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x00fe27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x006b3d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x007cb0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77a6730 (LWP 1678)):
[KCrash Handler]
#7  0x01bc78ab in QItemSelectionModel::selectedIndexes() const () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0x037c69b6 in MailCommon::FolderTreeWidget::selectedCollections() const () from /usr/lib/libmailcommon.so.4
#9  0x04bcf14f in KMMainWidget::updateFolderMenu() () from /usr/lib/libkmailprivate.so.4
#10 0x04bde0b9 in KMMainWidget::slotEndCheckFetchCollectionsDone(KJob*) () from /usr/lib/libkmailprivate.so.4
#11 0x04bdea4d in KMMainWidget::slotEndCheckMail() () from /usr/lib/libkmailprivate.so.4
#12 0x04be253f in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#13 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0x04b86975 in KMKernel::endCheckMail() () from /usr/lib/libkmailprivate.so.4
#16 0x04b891c8 in KMKernel::slotProgressItemCompletedOrCanceled(KPIM::ProgressItem*) () from /usr/lib/libkmailprivate.so.4
#17 0x04b9482e in KMKernel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#18 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#19 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#20 0x002d46f5 in KPIM::ProgressManager::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib/libkdepim.so.4
#21 0x002d4970 in KPIM::ProgressManager::slotTransactionCompleted(KPIM::ProgressItem*) () from /usr/lib/libkdepim.so.4
#22 0x002d53e5 in KPIM::ProgressManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
#23 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0x002d4145 in KPIM::ProgressItem::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib/libkdepim.so.4
#26 0x002d4aee in KPIM::ProgressItem::setComplete() () from /usr/lib/libkdepim.so.4
#27 0x002d6220 in ?? () from /usr/lib/libkdepim.so.4
#28 0x002d63ce in ?? () from /usr/lib/libkdepim.so.4
#29 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#30 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#31 0x02fffc85 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib/libakonadi-kde.so.4
#32 0x03004c82 in ?? () from /usr/lib/libakonadi-kde.so.4
#33 0x03007611 in Akonadi::AgentManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#34 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#35 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0x0313c575 in ?? () from /usr/lib/libakonadi-kde.so.4
#37 0x0313cbe6 in ?? () from /usr/lib/libakonadi-kde.so.4
#38 0x00893d87 in ?? () from /usr/lib/i386-linux-gnu/libQtDBus.so.4
#39 0x0089dc26 in ?? () from /usr/lib/i386-linux-gnu/libQtDBus.so.4
#40 0x010f5b52 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#41 0x015d4d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#42 0x015da103 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#43 0x00ade681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x010dd19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#45 0x010e0f93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#46 0x010e10ec in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#47 0x0110b6a4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#48 0x0228725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x02287990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x02287c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x0110bada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#52 0x0168ce3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#53 0x010dc1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#54 0x010dc421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#55 0x00465c9b in KJob::exec() () from /usr/lib/libkdecore.so.5
#56 0x037bcbd3 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync(KJob*) () from /usr/lib/libmailcommon.so.4
#57 0x03782595 in MailCommon::FolderCollectionMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libmailcommon.so.4
#58 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#59 0x010f2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#60 0x00465eb5 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#61 0x00465f08 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#62 0x030b125e in ?? () from /usr/lib/libakonadi-kde.so.4
#63 0x030b1f6f in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#64 0x0309db12 in Akonadi::ItemFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#65 0x010e3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#66 0x010ee685 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#67 0x010f5b52 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#68 0x015d4d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#69 0x015da103 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#70 0x00ade681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#71 0x010dd19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#72 0x010e0f93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#73 0x010e10ec in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#74 0x0110b6a4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#75 0x0228725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#76 0x02287990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#77 0x02287c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#78 0x0110bada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#79 0x0168ce3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#80 0x010dc1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#81 0x010dc421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#82 0x00465c9b in KJob::exec() () from /usr/lib/libkdecore.so.5
#83 0x037bc946 in MailCommon::FolderCollectionMonitor::expunge(Akonadi::Collection const&, bool) () from /usr/lib/libmailcommon.so.4
#84 0x04b923b7 in KMKernel::cleanup() () from /usr/lib/libkmailprivate.so.4
#85 0x092ec7d4 in ?? () from /usr/lib/kde4/kmailpart.so
#86 0x092ec902 in ?? () from /usr/lib/kde4/kmailpart.so
#87 0x00f6f888 in KontactInterface::Plugin::~Plugin() () from /usr/lib/libkontactinterface.so.4
#88 0x0367a0c5 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#89 0x0367a112 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#90 0x006e2187 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#91 0x006e2302 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#92 0x010f05f3 in qDeleteInEventHandler(QObject*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#93 0x010f5b80 in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#94 0x0162ec62 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#95 0x01a514cc in QMainWindow::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#96 0x00bba174 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#97 0x00c02352 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#98 0x015d4d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#99 0x015da1a8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#100 0x00ade681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#101 0x010dd19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#102 0x010e0f93 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#103 0x010e10ec in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#104 0x0110b6a4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#105 0x0228725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#106 0x02287990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#107 0x02287c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#108 0x0110bada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#109 0x0168ce3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#110 0x010dc1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#111 0x010dc421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#112 0x010e119d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#113 0x015d28f4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#114 0x0804ac91 in ?? ()
#115 0x00712113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#116 0x0804b1c1 in _start ()

Possible duplicates by query: bug 288269, bug 285500, bug 284839.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-12-12 20:50:11 UTC

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