[Akonadi] [Bug 334206] While maildir resources synchronizes a folder KMail blocks on switching to a different folder

Martin Steigerwald Martin at Lichtvoll.de
Fri May 2 11:59:51 BST 2014


https://bugs.kde.org/show_bug.cgi?id=334206

--- Comment #6 from Martin Steigerwald <Martin at Lichtvoll.de> ---
Here another one during runtime of Akonadi. I found another way to reliably
reproduce this:

- download new mails via POP3 resource
- filter them

Also killing the akonadi maildir resource process will make KMail respond
immediately. I can do this some times, until KMail complains it is not working
probably and marks all folders in red. Then I have to restart the resource
manually. I bet thats a endless restart prevention thing.

(gdb) continue
Continuing.
[New Thread 0x7fce814de700 (LWP 26873)]
[New Thread 0x7fce8297e700 (LWP 26874)]
[New Thread 0x7fce33080700 (LWP 26888)]
[New Thread 0x7fce31514700 (LWP 26889)]
[Thread 0x7fce31514700 (LWP 26889) exited]
[New Thread 0x7fce31514700 (LWP 26892)]
[Thread 0x7fce31514700 (LWP 26892) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007fceab2a68ed in poll () at ../sysdeps/unix/syscall-template.S:81
81      in ../sysdeps/unix/syscall-template.S
(gdb) t a a bt

Thread 7 (Thread 0x7fce33080700 (LWP 26888)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fceabb12784 in wait (time=30000, this=0x2de9120) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x2b3bd80,
mutex=mutex at entry=0x2312e68, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fceabb0608a in QThreadPoolThread::run (this=0x2b3bd70) at
concurrent/qthreadpool.cpp:142
#4  0x00007fceabb122bf in QThreadPrivate::start (arg=0x2b3bd70) at
thread/qthread_unix.cpp:349
#5  0x00007fcea8b81062 in start_thread (arg=0x7fce33080700) at
pthread_create.c:312
#6  0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fce8297e700 (LWP 26874)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fceabb12784 in wait (time=30000, this=0x2c4a3d0) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x2734450,
mutex=mutex at entry=0x2c4a2b8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fceabb0608a in QThreadPoolThread::run (this=0x2734440) at
concurrent/qthreadpool.cpp:142
#4  0x00007fceabb122bf in QThreadPrivate::start (arg=0x2734440) at
thread/qthread_unix.cpp:349
#5  0x00007fcea8b81062 in start_thread (arg=0x7fce8297e700) at
pthread_create.c:312
#6  0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fce814de700 (LWP 26873)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fceabb12784 in wait (time=30000, this=0x22c8080) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this at entry=0x22c8b60,
mutex=mutex at entry=0x22b5fa8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fceabb0608a in QThreadPoolThread::run (this=0x22c8b50) at
concurrent/qthreadpool.cpp:142
#4  0x00007fceabb122bf in QThreadPrivate::start (arg=0x22c8b50) at
thread/qthread_unix.cpp:349
#5  0x00007fcea8b81062 in start_thread (arg=0x7fce814de700) at
pthread_create.c:312
#6  0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fce89417700 (LWP 9564)):
#0  0x00007fceab2aadf3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fceabbf10b1 in QProcessManager::run (this=0x7fceabf7b540
<processManager()::processManager>) at io/qprocess_unix.cpp:270
#2  0x00007fceabb122bf in QThreadPrivate::start (arg=0x7fceabf7b540
<processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007fcea8b81062 in start_thread (arg=0x7fce89417700) at
pthread_create.c:312
#4  0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fce83fff700 (LWP 9567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fce9ed927d2 in WTF::TCMalloc_PageHeap::scavengerThread
(this=<optimized out>) at wtf/FastMalloc.cpp:2499
#2  0x00007fce9ed92809 in WTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007fcea8b81062 in start_thread (arg=0x7fce83fff700) at
pthread_create.c:312
#4  0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fce837fe700 (LWP 9568)):
#0  0x00007fceab2a68ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcea29f0fe4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fce7c003080, timeout=9999, context=0x7fce7c0009a0)
---Type <return> to continue, or q <return> to quit---
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context at entry=0x7fce7c0009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fcea29f10ec in g_main_context_iteration (context=0x7fce7c0009a0,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fceabc41676 in QEventDispatcherGlib::processEvents
(this=0x7fce7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fceabc12fef in QEventLoop::processEvents
(this=this at entry=0x7fce837fdce0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fceabc132e5 in QEventLoop::exec (this=this at entry=0x7fce837fdce0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fceabb0fbef in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007fceabb122bf in QThreadPrivate::start (arg=0x21442a0) at
thread/qthread_unix.cpp:349
#9  0x00007fcea8b81062 in start_thread (arg=0x7fce837fe700) at
pthread_create.c:312
#10 0x00007fceab2b1bfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fceadf7c900 (LWP 9561)):
#0  0x00007fceab2a68ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcea162ea08 in poll (__timeout=<optimized out>, __nfds=<optimized
out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _dbus_poll (fds=<optimized out>, n_fds=<optimized out>,
timeout_milliseconds=<optimized out>) at ../../dbus/dbus-sysdeps-unix.c:2558
#3  0x00007fcea16285f8 in socket_do_iteration (transport=0x1a08c70, flags=6,
timeout_milliseconds=<optimized out>) at
../../dbus/dbus-transport-socket.c:1117
#4  0x00007fcea162759f in _dbus_transport_do_iteration (transport=0x1a08c70,
flags=1, flags at entry=6, timeout_milliseconds=timeout_milliseconds at entry=25000)
    at ../../dbus/dbus-transport.c:1001
#5  0x00007fcea1611c4c in _dbus_connection_do_iteration_unlocked
(connection=connection at entry=0x1a09c30, pending=pending at entry=0x49d5530,
flags=flags at entry=6, 
    timeout_milliseconds=timeout_milliseconds at entry=25000) at
../../dbus/dbus-connection.c:1227
#6  0x00007fcea16125f9 in _dbus_connection_block_pending_call
(pending=0x49d5530) at ../../dbus/dbus-connection.c:2432
#7  0x00007fcea96ffce7 in q_dbus_pending_call_block (pending=<optimized out>)
at qdbus_symbols_p.h:309
#8  QDBusConnectionPrivate::waitForFinished (this=0x1a08ef0,
pcall=pcall at entry=0xb816ea0) at qdbusintegrator.cpp:1780
#9  0x00007fcea973e97c in QDBusPendingCallPrivate::waitForFinished
(this=0xb816ea0) at qdbuspendingcall.cpp:245
#10 0x00007fcea973eaed in QDBusPendingCall::waitForFinished
(this=this at entry=0x7fffb2c10a60) at qdbuspendingcall.cpp:336
#11 0x00007fcea6960097 in operator= (pcall=..., this=0x7fffb2c10a80) at
/usr/include/qt4/QtDBus/qdbusreply.h:88
#12 QDBusReply (reply=..., this=0x7fffb2c10a80) at
/usr/include/qt4/QtDBus/qdbusreply.h:93
#13 MailCommon::FolderCollection::identity (this=0x26f5d80) at
../../mailcommon/folder/foldercollection.cpp:299
#14 0x00007fceaccc5792 in CollectionStorageModel::isOutBoundFolder
(this=<optimized out>, c=...) at ../../kmail/widgets/collectionpane.cpp:70
#15 0x00007fcea6f4877f in MessageList::StorageModel::containsOutboundMessages
(this=0x940dba0) at ../../messagelist/storagemodel.cpp:218
#16 0x00007fcea6f0076d in
MessageList::Core::ModelPrivate::slotStorageModelHeaderDataChanged
(this=0x20b2720) at ../../messagelist/core/model.cpp:4476
#17 0x00007fceabc286aa in QMetaObject::activate (sender=0x940dba0,
m=m at entry=0x7fceabf786a0 <QAbstractItemModel::staticMetaObject>, 
    local_signal_index=local_signal_index at entry=1,
argv=argv at entry=0x7fffb2c10e50) at kernel/qobject.cpp:3567
#18 0x00007fceabc7238d in QAbstractItemModel::headerDataChanged
(this=<optimized out>, _t1=_t1 at entry=Qt::Horizontal, _t2=_t2 at entry=0, _t3=0)
    at .moc/release-shared/moc_qabstractitemmodel.cpp:170
#19 0x00007fcea6f47c6a in
MessageList::StorageModel::Private::onSelectionChanged (this=0xfda0550) at
../../messagelist/storagemodel.cpp:453
#20 0x00007fceabc286aa in QMetaObject::activate (sender=sender at entry=0x20cfca0,
m=m at entry=0x7fceacc053a0 <QItemSelectionModel::staticMetaObject>, 
    local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fffb2c10fb0) at kernel/qobject.cpp:3567
#21 0x00007fceac689ff7 in QItemSelectionModel::selectionChanged
(this=this at entry=0x20cfca0, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:165
#22 0x00007fceac68f651 in QItemSelectionModel::emitSelectionChanged
(this=this at entry=0x20cfca0, newSelection=..., oldSelection=...)
    at itemviews/qitemselectionmodel.cpp:1544
#23 0x00007fceac68fe23 in QItemSelectionModel::select
(this=this at entry=0x20cfca0, selection=..., command=...) at
itemviews/qitemselectionmodel.cpp:1110
#24 0x00007fcea6f447e3 in MessageList::Pane::Private::onSelectionChanged
(this=0x205fc20, selected=..., deselected=...) at
../../messagelist/pane.cpp:457
#25 0x00007fceabc286aa in QMetaObject::activate (sender=sender at entry=0x2086130,
m=m at entry=0x7fceacc053a0 <QItemSelectionModel::staticMetaObject>, 
---Type <return> to continue, or q <return> to quit---
    local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fffb2c11480) at kernel/qobject.cpp:3567
#26 0x00007fceac689ff7 in QItemSelectionModel::selectionChanged
(this=this at entry=0x2086130, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:165
#27 0x00007fceac68f617 in QItemSelectionModel::emitSelectionChanged
(this=this at entry=0x2086130, newSelection=..., oldSelection=...)
    at itemviews/qitemselectionmodel.cpp:1600
#28 0x00007fceac68fe23 in QItemSelectionModel::select (this=0x2086130,
selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#29 0x00007fceac67be1a in QTreeViewPrivate::select (this=this at entry=0x1fb5d50,
topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#30 0x00007fceac67c71c in QTreeView::setSelection (this=<optimized out>,
rect=..., command=...) at itemviews/qtreeview.cpp:2293
#31 0x00007fceac63c4fa in QAbstractItemView::mousePressEvent (this=0x1da7a80,
event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#32 0x00007fceac193b3b in QWidget::event (this=this at entry=0x1da7a80,
event=event at entry=0x7fffb2c122b0) at kernel/qwidget.cpp:8385
#33 0x00007fceac53243e in QFrame::event (this=0x1da7a80, e=0x7fffb2c122b0) at
widgets/qframe.cpp:557
#34 0x00007fceac641d13 in QAbstractItemView::viewportEvent
(this=this at entry=0x1da7a80, event=event at entry=0x7fffb2c122b0) at
itemviews/qabstractitemview.cpp:1644
#35 0x00007fceac680930 in QTreeView::viewportEvent (this=0x1da7a80,
event=0x7fffb2c122b0) at itemviews/qtreeview.cpp:1252
#36 0x00007fceabc14586 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=this at entry=0x1a30d40, receiver=receiver at entry=0x1ce40e0, 
    event=event at entry=0x7fffb2c122b0) at kernel/qcoreapplication.cpp:1063
#37 0x00007fceac1446ac in QApplicationPrivate::notify_helper
(this=this at entry=0x1a30d40, receiver=receiver at entry=0x1ce40e0,
e=e at entry=0x7fffb2c122b0)
    at kernel/qapplication.cpp:4566
#38 0x00007fceac14ae3a in QApplication::notify (this=this at entry=0x7fffb2c12da0,
receiver=receiver at entry=0x1ce40e0, e=e at entry=0x7fffb2c122b0)
    at kernel/qapplication.cpp:4113
#39 0x00007fcead9b176a in KApplication::notify (this=0x7fffb2c12da0,
receiver=0x1ce40e0, event=0x7fffb2c122b0) at
../../kdeui/kernel/kapplication.cpp:311
#40 0x00007fceabc1441d in QCoreApplication::notifyInternal
(this=0x7fffb2c12da0, receiver=receiver at entry=0x1ce40e0,
event=event at entry=0x7fffb2c122b0)
    at kernel/qcoreapplication.cpp:953
#41 0x00007fceac14a633 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x1ce40e0,
event=event at entry=0x7fffb2c122b0, alienWidget=alienWidget at entry=0x0, 
    nativeWidget=nativeWidget at entry=0x1ce40e0,
buttonDown=buttonDown at entry=0x7fceacc232d8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true)
    at kernel/qapplication.cpp:3178
#43 0x00007fceac1bc33b in QETWidget::translateMouseEvent
(this=this at entry=0x1ce40e0, event=event at entry=0x7fffb2c12620) at
kernel/qapplication_x11.cpp:4540
#44 0x00007fceac1badac in QApplication::x11ProcessEvent (this=0x7fffb2c12da0,
event=event at entry=0x7fffb2c12620) at kernel/qapplication_x11.cpp:3663
#45 0x00007fceac1e2712 in x11EventSourceDispatch (s=0x1a32270, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007fcea29f0e04 in g_main_dispatch (context=0x1a31090) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#47 g_main_context_dispatch (context=context at entry=0x1a31090) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#48 0x00007fcea29f1048 in g_main_context_iterate
(context=context at entry=0x1a31090, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#49 0x00007fcea29f10ec in g_main_context_iteration (context=0x1a31090,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#50 0x00007fceabc41655 in QEventDispatcherGlib::processEvents (this=0x19b7ad0,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#51 0x00007fceac1e27c6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007fceabc12fef in QEventLoop::processEvents
(this=this at entry=0x7fffb2c129f0, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007fceabc132e5 in QEventLoop::exec (this=this at entry=0x7fffb2c129f0,
flags=...) at kernel/qeventloop.cpp:204
#54 0x00007fceabc18ab9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#55 0x00007fceac142e8c in QApplication::exec () at kernel/qapplication.cpp:3828
#56 0x0000000000402d1a in main (argc=<optimized out>, argv=<optimized out>) at
../../kmail/main.cpp:146
(gdb) 
(gdb) 
(gdb) continue
Continuing.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list