Bug 351215

Summary: Kontact Crashes on Close
Product: [Applications] kontact Reporter: Eric Mesa <ericsbinaryworld>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eric Mesa 2015-08-12 09:56:54 UTC
Application: kontact (4.14.9)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.1.3-201.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
To crash it, I just closed Kontact.

The only sign that it's likely to crash is that emails stop updating correctly

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff3461fe900 (LWP 7889))]

Thread 3 (Thread 0x7ff2f61e3700 (LWP 7890)):
#0  0x00000036a220c540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff34b12ef61 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQtWebKit.so.4
#2  0x00007ff34b42d6d6 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQtWebKit.so.4
#3  0x00000036a2207555 in start_thread () at /lib64/libpthread.so.0
#4  0x00000036a1b02b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff2ea2b3700 (LWP 7900)):
#0  0x00000036a328eee4 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00000036a324978a in g_main_context_check () at /lib64/libglib-2.0.so.0
#2  0x00000036a3249d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00000036a3249ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00000036acfba4ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x00000036acf88791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x00000036acf88b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#7  0x00000036ace78289 in QThread::exec() () at /lib64/libQtCore.so.4
#8  0x00000036ace7aaac in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x00000036a2207555 in start_thread () at /lib64/libpthread.so.0
#10 0x00000036a1b02b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff3461fe900 (LWP 7889)):
[KCrash Handler]
#6  0x000000313e3509eb in QItemSelectionModel::selectedIndexes() const () at /lib64/libQtGui.so.4
#7  0x00007ff2ef4ac047 in MailCommon::FolderTreeWidget::selectedCollections() const () at /lib64/libmailcommon.so.4
#8  0x00007ff2ec5e8333 in KMMainWidget::updateFolderMenu() () at /lib64/libkmailprivate.so.4
#9  0x00007ff2ec6ef48b in KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkmailprivate.so.4
#10 0x00000036acf9e0c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#11 0x00000036acfa3d33 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#12 0x000000313ddc43ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#13 0x000000313ddcb206 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#14 0x0000003aeac5505a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#15 0x00000036acf89f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#16 0x00000036acfbc9a0 in QTimerInfoList::activateTimers() () at /lib64/libQtCore.so.4
#17 0x00000036acfb9b11 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#18 0x00000036a3249a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#19 0x00000036a3249e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#20 0x00000036a3249ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#21 0x00000036acfba4ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#22 0x000000313de6a626 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#23 0x00000036acf88791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#24 0x00000036acf88b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#25 0x0000003aea140ca3 in KJob::exec() () at /lib64/libkdecore.so.5
#26 0x00007ff2ec5b0bce in KMKernel::cleanup() () at /lib64/libkmailprivate.so.4
#27 0x00007ff2ec9a1b98 in KMailPart::~KMailPart() () at /usr/lib64/kde4/kmailpart.so
#28 0x00007ff2ec9a1e19 in KMailPart::~KMailPart() () at /usr/lib64/kde4/kmailpart.so
#29 0x0000003afb80f8fe in KontactInterface::Plugin::~Plugin() () at /lib64/libkontactinterface.so.4
#30 0x00007ff2ed1f6a36 in KMailPlugin::~KMailPlugin() () at /usr/lib64/kde4/kontact_kmailplugin.so
#31 0x00007ff2ed1f6a59 in KMailPlugin::~KMailPlugin() () at /usr/lib64/kde4/kontact_kmailplugin.so
#32 0x00007ff34978a55e in Kontact::MainWindow::~MainWindow() () at /lib64/libkontactprivate.so.4
#33 0x00007ff34978a769 in Kontact::MainWindow::~MainWindow() () at /lib64/libkontactprivate.so.4
#34 0x00000036acfa3e88 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#35 0x000000313de187ac in QWidget::event(QEvent*) () at /lib64/libQtGui.so.4
#36 0x000000313e1f8363 in QMainWindow::event(QEvent*) () at /lib64/libQtGui.so.4
#37 0x0000003aead5ac79 in KXmlGuiWindow::event(QEvent*) () at /lib64/libkdeui.so.5
#38 0x000000313ddc43ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#39 0x000000313ddcb206 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#40 0x0000003aeac5505a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#41 0x00000036acf89f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#42 0x00000036acf8d536 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQtCore.so.4
#43 0x00000036acfba35e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#44 0x00000036a3249a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#45 0x00000036a3249e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#46 0x00000036a3249ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#47 0x00000036acfba4ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#48 0x000000313de6a626 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#49 0x00000036acf88791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#50 0x00000036acf88b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#51 0x00000036acf8e6a9 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#52 0x0000000000403787 in main ()

The reporter indicates this bug may be a duplicate of or related to bug 288269.

Possible duplicates by query: bug 299283, bug 293260, bug 288832, bug 288269, bug 285500.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:37:13 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:44:43 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.