https://bugs.kde.org/show_bug.cgi?id=275789
Summary: KMail2 deadlocks on mail check when coflict dialog is shown Product: kmail2 Version: Git (master) Platform: Compiled Sources OS/Version: Linux Status: NEW Severity: major Priority: NOR Component: general AssignedTo: kdepim-bugs@kde.org ReportedBy: aman...@kde.org >From time to time KMail2 freezes when a conflict dialog is shown. After attaching gdb it looks like there is a deadlock when at the same time a mail check is going on: #0 0x00007fdc3e0ba503 in poll () from /lib64/libc.so.6 #1 0x00007fdc3816a114 in ?? () from /lib64/libglib-2.0.so.0 #2 0x00007fdc3816a650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007fdc406ededb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #4 0x00007fdc3f38b52e in QGuiEventDispatcherGlib::processEvents (this=0x6124d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #5 0x00007fdc406b271e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #6 0x00007fdc406b2872 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #7 0x00007fdc40baaa24 in KJob::exec (this=0x915d010) at /home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:204 #8 0x00007fdc2b12a34d in KMMainWidget::slotEndCheckMail (this=0x1515640) at /home/andris/development/sources/kde-trunk/kdepim/kmail/kmmainwidget.cpp:390 #9 0x00007fdc2b12bb5d in KMMainWidget::qt_metacall (this=0x1515640, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff8d0b0380) at /home/andris/development/build/kde-trunk/kdepim/kmail/kmmainwidget.moc:369 #10 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #11 0x00007fdc406d1e0b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #12 0x00007fdc2b0da7ec in KMKernel::slotProgressItemCompletedOrCanceled (this=0x1005470, item=<value optimized out>) at /home/andris/development/sources/kde-trunk/kdepim/kmail/kmkernel.cpp:1660 #13 0x00007fdc2b0e64bc in KMKernel::qt_metacall (this=0x1005470, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff8d0b0670) at /home/andris/development/build/kde-trunk/kdepim/kmail/kmkernel.moc:205 #14 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #15 0x00007fdc406d1e0b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #16 0x00007fdc44bf80b2 in KPIM::ProgressManager::progressItemCompleted (this=<value optimized out>, _t1=0x1596af0) at /home/andris/development/build/kde-trunk/kdepim/libkdepim/progressmanager.moc:272 #17 0x00007fdc44bf8b23 in KPIM::ProgressManager::qt_metacall (this=0x98a050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d0b07e0) at /home/andris/development/build/kde-trunk/kdepim/libkdepim/progressmanager.moc:246 #18 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #19 0x00007fdc406d1e0b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #20 0x00007fdc44bf7c82 in KPIM::ProgressItem::progressItemCompleted (this=<value optimized out>, _t1=0x1596af0) at /home/andris/development/build/kde-trunk/kdepim/libkdepim/progressmanager.moc:121 #21 0x00007fdc44bf8360 in KPIM::ProgressItem::setComplete (this=0x1596af0) at /home/andris/development/sources/kde-trunk/kdepim/libkdepim/progressmanager.cpp:56 #22 0x00007fdc44bf989d in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0xbf724b0, instance=...) at /home/andris/development/sources/kde-trunk/kdepim/libkdepim/agentprogressmonitor.cpp:86 #23 0x00007fdc44bf997a in KPIM::AgentProgressMonitor::qt_metacall (this=0x23f8e00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d0b0990) at /home/andris/development/build/kde-trunk/kdepim/libkdepim/agentprogressmonitor.moc:78 #24 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #25 0x00007fdc406d1e0b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #26 0x00007fdc4326bea3 in Akonadi::AgentManager::instanceStatusChanged (this=0x136e360, _t1=...) ---Type <return> to continue, or q <return> to quit--- at /home/andris/development/build/kde-trunk/kdepimlibs/akonadi/agentmanager.moc:177 #27 0x00007fdc43269629 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x136e990, identifier="akonadi_imap_resource_6", status=0, msg="Ready") at /home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/agentmanager.cpp:129 #28 0x00007fdc4326bbb0 in Akonadi::AgentManager::qt_metacall (this=0x136e360, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff8d0b0b70) at /home/andris/development/build/kde-trunk/kdepimlibs/akonadi/agentmanager.moc:131 #29 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #30 0x00007fdc406d1e0b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #31 0x00007fdc43386306 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=0xdc20e0, _t1="akonadi_imap_resource_6", _t2=0, _t3="Ready") at /home/andris/development/build/kde-trunk/kdepimlibs/akonadi/agentmanagerinterface.moc:285 #32 0x00007fdc43385130 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0xdc20e0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff8d0b0dd0) at /home/andris/development/build/kde-trunk/kdepimlibs/akonadi/agentmanagerinterface.moc:167 #33 0x00007fdc40061749 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /opt/qt4/lib/libQtDBus.so.4 #34 0x00007fdc4006d4bf in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /opt/qt4/lib/libQtDBus.so.4 #35 0x00007fdc406cd729 in QObject::event(QEvent*) () from /opt/qt4/lib/libQtCore.so.4 #36 0x00007fdc3f2b269a in QApplicationPrivate::notify_helper (this=0x646170, receiver=0xdc20e0, e=0x8ce9a30) at kernel/qapplication.cpp:4462 #37 0x00007fdc3f2afcbe in QApplication::notify (this=0x7fff8d0b2c80, receiver=0xdc20e0, e=0x8ce9a30) at kernel/qapplication.cpp:3862 #38 0x00007fdc412387d1 in KApplication::notify (this=0x7fff8d0b2c80, receiver=0xdc20e0, event=0x8ce9a30) at /home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311 #39 0x00007fdc406b4bbb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/qt4/lib/libQtCore.so.4 #40 0x00007fdc46030ad7 in QCoreApplication::sendEvent(QObject*, QEvent*) () from /opt/qt4/lib/libQtWebKit.so.4 #41 0x00007fdc406b5df4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt4/lib/libQtCore.so.4 #42 0x00007fdc406b5a15 in QCoreApplication::sendPostedEvents(QObject*, int) () from /opt/qt4/lib/libQtCore.so.4 #43 0x00007fdc406ee633 in QCoreApplication::sendPostedEvents() () from /opt/qt4/lib/libQtCore.so.4 #44 0x00007fdc406ed5ec in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /opt/qt4/lib/libQtCore.so.4 #45 0x00007fdc38169bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #46 0x00007fdc3816a3b0 in ?? () from /lib64/libglib-2.0.so.0 #47 0x00007fdc3816a650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #48 0x00007fdc406ededb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #49 0x00007fdc3f38b52e in QGuiEventDispatcherGlib::processEvents (this=0x6124d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #50 0x00007fdc406b271e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #51 0x00007fdc406b2872 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #52 0x00007fdc3f8ce38c in QDialog::exec (this=0x7fff8d0b1dc0) at dialogs/qdialog.cpp:552 #53 0x00007fdc432afdf9 in Akonadi::ConflictHandler::resolve (this=0xb8a7ac0) at /home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/conflicthandling/conflicthandler.cpp:80 #54 0x00007fdc432b02f0 in Akonadi::ConflictHandler::qt_metacall (this=0xb8a7ac0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x956f1a0) ---Type <return> to continue, or q <return> to quit--- at /home/andris/development/build/kde-trunk/kdepimlibs/akonadi/conflicthandler_p.moc:91 #55 0x00007fdc406bcd2f in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4/lib/libQtCore.so.4 #56 0x00007fdc406cc44e in QMetaCallEvent::placeMetaCall(QObject*) () from /opt/qt4/lib/libQtCore.so.4 #57 0x00007fdc406cd729 in QObject::event(QEvent*) () from /opt/qt4/lib/libQtCore.so.4 #58 0x00007fdc3f2b269a in QApplicationPrivate::notify_helper (this=0x646170, receiver=0xb8a7ac0, e=0xbf286b0) at kernel/qapplication.cpp:4462 #59 0x00007fdc3f2afcbe in QApplication::notify (this=0x7fff8d0b2c80, receiver=0xb8a7ac0, e=0xbf286b0) at kernel/qapplication.cpp:3862 #60 0x00007fdc412387d1 in KApplication::notify (this=0x7fff8d0b2c80, receiver=0xb8a7ac0, event=0xbf286b0) at /home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311 #61 0x00007fdc406b4bbb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/qt4/lib/libQtCore.so.4 #62 0x00007fdc46030ad7 in QCoreApplication::sendEvent(QObject*, QEvent*) () from /opt/qt4/lib/libQtWebKit.so.4 #63 0x00007fdc406b5df4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt4/lib/libQtCore.so.4 #64 0x00007fdc406b5a15 in QCoreApplication::sendPostedEvents(QObject*, int) () from /opt/qt4/lib/libQtCore.so.4 #65 0x00007fdc406ee633 in QCoreApplication::sendPostedEvents() () from /opt/qt4/lib/libQtCore.so.4 #66 0x00007fdc406ed5ec in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /opt/qt4/lib/libQtCore.so.4 #67 0x00007fdc38169bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #68 0x00007fdc3816a3b0 in ?? () from /lib64/libglib-2.0.so.0 #69 0x00007fdc3816a650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #70 0x00007fdc406ededb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #71 0x00007fdc3f38b52e in QGuiEventDispatcherGlib::processEvents (this=0x6124d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #72 0x00007fdc406b271e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #73 0x00007fdc406b2872 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt4/lib/libQtCore.so.4 #74 0x00007fdc406b52ae in QCoreApplication::exec() () from /opt/qt4/lib/libQtCore.so.4 #75 0x00007fdc3f2af836 in QApplication::exec () at kernel/qapplication.cpp:3736 #76 0x000000000040436f in main (argc=1, argv=0x7fff8d0b32a8) at /home/andris/development/sources/kde-trunk/kdepim/kontact/src/main.cpp:218 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs