Hey all, I managed to make my KMail freeze reliably on every startup. Last time I closed it I had a composer window open with a new email which I did not send. Now, on startup, it restores this window and triggers a deadlock. (gdb) thread apply all bt Thread 6 (Thread 0x7f26ceed8700 (LWP 1699)): #0 0x00007f26ee22b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f26e406aaf5 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f26e406ab49 in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f26ee227e0f in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f26f03f7efd in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7f268dd46700 (LWP 1700)): #0 0x00007f26ee22b954 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f26e3db1059 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f26e409927e in ?? () from /usr/lib/libQtWebKit.so.4 #3 0x00007f26ee227e0f in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f26f03f7efd in clone () from /usr/lib/libc.so.6 Thread 4 (Thread 0x7f268cff6700 (LWP 1711)): #0 0x00007f26f03eefad in poll () from /usr/lib/libc.so.6 #1 0x00007f26e87f3b14 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f26e87f3c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f26f0d7ab86 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f26f0d4b3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f26f0d4b688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f26f0c4c8a0 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f26f0c4f87c in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f26ee227e0f in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f26f03f7efd in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f2686e1d700 (LWP 1712)): #0 0x00007f26ee22bd01 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f26f0c4fd37 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f26f0c4354f in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f26f0c4f87c in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f26ee227e0f in start_thread () from /usr/lib/libpthread.so.0 #5 0x00007f26f03f7efd in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f2685dbb700 (LWP 1716)): #0 0x00007f26f03f0d53 in select () from /usr/lib/libc.so.6 #1 0x00007f26e10a1640 in ?? () from /usr/lib/libsopranoclient.so.1 #2 0x00007f26e10a3f94 in ?? () from /usr/lib/libsopranoclient.so.1 ---Type <return> to continue, or q <return> to quit--- #3 0x00007f26e10a73d3 in ?? () from /usr/lib/libsopranoclient.so.1 #4 0x00007f26e8deffe5 in ?? () from /usr/lib/libnepomukcore.so.4 #5 0x00007f26e8de1645 in ?? () from /usr/lib/libnepomukcore.so.4 #6 0x00007f26e8df4e29 in Nepomuk2::Resource::determineFinalResourceData() const () from /usr/lib/libnepomukcore.so.4 #7 0x00007f26e8df5554 in Nepomuk2::Resource::property(QUrl const&) const () from /usr/lib/libnepomukcore.so.4 #8 0x00007f26ec68a10a in ?? () from /usr/lib/libmessagecore.so.4 #9 0x00007f26f0c4345d in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f26f0c4f87c in ?? () from /usr/lib/libQtCore.so.4 #11 0x00007f26ee227e0f in start_thread () from /usr/lib/libpthread.so.0 #12 0x00007f26f03f7efd in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f26f3081780 (LWP 1682)): #0 0x00007f26f03f3b69 in syscall () from /usr/lib/libc.so.6 #1 0x00007f26f0c4e324 in ?? () from /usr/lib/libQtCore.so.4 #2 0x00007f26f0c4a66d in QMutex::lock() () from /usr/lib/libQtCore.so.4 #3 0x00007f26e8df43d0 in Nepomuk2::Resource::Resource() () from /usr/lib/libnepomukcore.so.4 #4 0x00007f26e8e22b02 in Nepomuk2::Query::Result::Result() () from /usr/lib/libnepomukcore.so.4 #5 0x00007f26e8e28640 in ?? () from /usr/lib/libnepomukcore.so.4 #6 0x00007f26f0d58cfc in QMetaType::construct(int, void const*) () from /usr/lib/libQtCore.so.4 #7 0x00007f26f0d71f76 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f26f12ab6a8 in ?? () from /usr/lib/libQtGui.so.4 #9 0x00007f26f0d6d49f in QVariant::QVariant(int, void const*) () from /usr/lib/libQtCore.so.4 #10 0x00007f26ee48ba28 in ?? () from /usr/lib/libQtDBus.so.4 #11 0x00007f26ee492615 in QDBusMetaType::typeToSignature(int) () from /usr/lib/libQtDBus.so.4 #12 0x00007f26ee48c1f2 in QDBusArgument::beginArray(int) () from /usr/lib/libQtDBus.so.4 #13 0x00007f26e8e2883b in ?? () from /usr/lib/libnepomukcore.so.4 #14 0x00007f26ee492aa5 in QDBusMetaType::marshall(QDBusArgument&, int, void const*) () from /usr/lib/libQtDBus.so.4 #15 0x00007f26ee48ba5b in ?? () from /usr/lib/libQtDBus.so.4 #16 0x00007f26ee492615 in QDBusMetaType::typeToSignature(int) () from /usr/lib/libQtDBus.so.4 #17 0x00007f26ee48a657 in ?? () from /usr/lib/libQtDBus.so.4 #18 0x00007f26ee458223 in ?? () from /usr/lib/libQtDBus.so.4 #19 0x00007f26ee459b30 in ?? () from /usr/lib/libQtDBus.so.4 #20 0x00007f26ee4648fb in ?? () from /usr/lib/libQtDBus.so.4 #21 0x00007f26f0d65d9d in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4 #22 0x00007f26e8e25ae3 in Nepomuk2::Query::QueryServiceClient::Private::_k_handleQueryReply(QDBusPendingCallWatcher*) () from /usr/lib/libnepomukcore.so.4 #23 0x00007f26e8e26a80 in ?? () from /usr/lib/libnepomukcore.so.4 #24 0x00007f26f0d61b8f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #25 0x00007f26ee49846f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQtDBus.so.4 #26 0x00007f26f0d6106e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #27 0x00007f26f127518c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #28 0x00007f26f127960a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #29 0x00007f26f2aaa8c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #30 0x00007f26f0d4c6ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #31 0x00007f26f0d50011 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #32 0x00007f26f0d7a9d3 in ?? () from /usr/lib/libQtCore.so.4 #33 0x00007f26e87f3845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #34 0x00007f26e87f3b78 in ?? () from /usr/lib/libglib-2.0.so.0 #35 0x00007f26e87f3c34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #36 0x00007f26f0d7ab66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #37 0x00007f26f131569e in ?? () from /usr/lib/libQtGui.so.4 #38 0x00007f26f0d4b3ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #39 0x00007f26f0d4b688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #40 0x00007f26f0d50328 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #41 0x0000000000402ccd in ?? () #42 0x00007f26f0330a15 in __libc_start_main () from /usr/lib/libc.so.6 #43 0x0000000000403195 in _start () Reproducible: Always Steps to Reproduce: 1. open composer, write something 2. close kmail 3. restart Actual Results: deadlock on startup Expected Results: no deadlock
adding David and VHanda. They both know a lot about this stuff.
Milian think we can resolve this one?
Indeed, I cannot reproduce it anymore. Thanks