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

Martin Steigerwald Martin at Lichtvoll.de
Fri May 2 10:47:56 BST 2014


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

--- Comment #5 from Martin Steigerwald <Martin at Lichtvoll.de> ---
Created attachment 86400
  --> https://bugs.kde.org/attachment.cgi?id=86400&action=edit
gdb backtrace with all threads and with relevant debug packages installed.

Okay, here is a backtrace according to your description. Is this useful?

(gdb) continue
Continuing.
[New Thread 0x7ffd70c34700 (LWP 8992)]
[Thread 0x7ffd70c34700 (LWP 8992) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007ffd9bde48ed in poll () at ../sysdeps/unix/syscall-template.S:81
81      in ../sysdeps/unix/syscall-template.S
(gdb) t a a bt

Thread 4 (Thread 0x7ffd79f55700 (LWP 4372)):
#0  0x00007ffd9bde8df3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffd9c72f0b1 in QProcessManager::run (this=0x7ffd9cab9540
<processManager()::processManager>) at io/qprocess_unix.cpp:270
#2  0x00007ffd9c6502bf in QThreadPrivate::start (arg=0x7ffd9cab9540
<processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007ffd996bf062 in start_thread (arg=0x7ffd79f55700) at
pthread_create.c:312
#4  0x00007ffd9bdefbfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

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

Thread 2 (Thread 0x7ffd73fff700 (LWP 4376)):
#0  0x00007ffd9bde48ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffd9352efe4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7ffd6c003080, timeout=9999, context=0x7ffd6c0009a0)
    at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context at entry=0x7ffd6c0009a0,
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  0x00007ffd9352f0ec in g_main_context_iteration (context=0x7ffd6c0009a0,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007ffd9c77f676 in QEventDispatcherGlib::processEvents
(this=0x7ffd6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007ffd9c750fef in QEventLoop::processEvents
(this=this at entry=0x7ffd73ffece0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffd9c7512e5 in QEventLoop::exec (this=this at entry=0x7ffd73ffece0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ffd9c64dbef in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007ffd9c6502bf in QThreadPrivate::start (arg=0xdf8f80) at
thread/qthread_unix.cpp:349
#9  0x00007ffd996bf062 in start_thread (arg=0x7ffd73fff700) at
pthread_create.c:312
#10 0x00007ffd9bdefbfd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffd9eaba900 (LWP 4369)):
#0  0x00007ffd9bde48ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffd9216ca08 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  0x00007ffd921665f8 in socket_do_iteration (transport=0x6bec70, flags=6,
timeout_milliseconds=<optimized out>) at
../../dbus/dbus-transport-socket.c:1117
#4  0x00007ffd9216559f in _dbus_transport_do_iteration (transport=0x6bec70,
flags=1, flags at entry=6, timeout_milliseconds=timeout_milliseconds at entry=25000)
    at ../../dbus/dbus-transport.c:1001
#5  0x00007ffd9214fc4c in _dbus_connection_do_iteration_unlocked
(connection=connection at entry=0x6bfc30, pending=pending at entry=0x3c8d97e0,
flags=flags at entry=6, 
    timeout_milliseconds=timeout_milliseconds at entry=25000) at
../../dbus/dbus-connection.c:1227
#6  0x00007ffd921505f9 in _dbus_connection_block_pending_call
(pending=0x3c8d97e0) at ../../dbus/dbus-connection.c:2432
#7  0x00007ffd9a23dce7 in q_dbus_pending_call_block (pending=<optimized out>)
at qdbus_symbols_p.h:309
#8  QDBusConnectionPrivate::waitForFinished (this=0x6beef0,
pcall=pcall at entry=0x3a759f30) at qdbusintegrator.cpp:1780
#9  0x00007ffd9a27c97c in QDBusPendingCallPrivate::waitForFinished
(this=0x3a759f30) at qdbuspendingcall.cpp:245
#10 0x00007ffd9a27caed in QDBusPendingCall::waitForFinished
(this=this at entry=0x7fff8dc0dab0) at qdbuspendingcall.cpp:336
#11 0x00007ffd9749e097 in operator= (pcall=..., this=0x7fff8dc0dad0) at
/usr/include/qt4/QtDBus/qdbusreply.h:88
---Type <return> to continue, or q <return> to quit---
#12 QDBusReply (reply=..., this=0x7fff8dc0dad0) at
/usr/include/qt4/QtDBus/qdbusreply.h:93
#13 MailCommon::FolderCollection::identity (this=0x1313db0) at
../../mailcommon/folder/foldercollection.cpp:299
#14 0x00007ffd9d803792 in CollectionStorageModel::isOutBoundFolder
(this=<optimized out>, c=...) at ../../kmail/widgets/collectionpane.cpp:70
#15 0x00007ffd97a8677f in MessageList::StorageModel::containsOutboundMessages
(this=0x134b760) at ../../messagelist/storagemodel.cpp:218
#16 0x00007ffd97a3e76d in
MessageList::Core::ModelPrivate::slotStorageModelHeaderDataChanged
(this=0xd66660) at ../../messagelist/core/model.cpp:4476
#17 0x00007ffd9c7666aa in QMetaObject::activate (sender=0x134b760,
m=m at entry=0x7ffd9cab66a0 <QAbstractItemModel::staticMetaObject>, 
    local_signal_index=local_signal_index at entry=1,
argv=argv at entry=0x7fff8dc0dea0) at kernel/qobject.cpp:3567
#18 0x00007ffd9c7b038d 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 0x00007ffd97a85c6a in
MessageList::StorageModel::Private::onSelectionChanged (this=0x14a294b0) at
../../messagelist/storagemodel.cpp:453
#20 0x00007ffd9c7666aa in QMetaObject::activate (sender=sender at entry=0xafb020,
m=m at entry=0x7ffd9d7433a0 <QItemSelectionModel::staticMetaObject>, 
    local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fff8dc0e000) at kernel/qobject.cpp:3567
#21 0x00007ffd9d1c7ff7 in QItemSelectionModel::selectionChanged
(this=this at entry=0xafb020, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:165
#22 0x00007ffd9d1cd651 in QItemSelectionModel::emitSelectionChanged
(this=this at entry=0xafb020, newSelection=..., oldSelection=...)
    at itemviews/qitemselectionmodel.cpp:1544
#23 0x00007ffd9d1cde23 in QItemSelectionModel::select
(this=this at entry=0xafb020, selection=..., command=...) at
itemviews/qitemselectionmodel.cpp:1110
#24 0x00007ffd97a827e3 in MessageList::Pane::Private::onSelectionChanged
(this=0xd0f1a0, selected=..., deselected=...) at ../../messagelist/pane.cpp:457
#25 0x00007ffd9c7666aa in QMetaObject::activate (sender=sender at entry=0xaa6ea0,
m=m at entry=0x7ffd9d7433a0 <QItemSelectionModel::staticMetaObject>, 
    local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fff8dc0e4d0) at kernel/qobject.cpp:3567
#26 0x00007ffd9d1c7ff7 in QItemSelectionModel::selectionChanged
(this=this at entry=0xaa6ea0, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:165
#27 0x00007ffd9d1cd651 in QItemSelectionModel::emitSelectionChanged
(this=this at entry=0xaa6ea0, newSelection=..., oldSelection=...)
    at itemviews/qitemselectionmodel.cpp:1544
#28 0x00007ffd9d1cde23 in QItemSelectionModel::select (this=0xaa6ea0,
selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#29 0x00007ffd9d1b9e1a in QTreeViewPrivate::select (this=this at entry=0xc79b60,
topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#30 0x00007ffd9d1ba71c in QTreeView::setSelection (this=<optimized out>,
rect=..., command=...) at itemviews/qtreeview.cpp:2293
#31 0x00007ffd9d17a4fa in QAbstractItemView::mousePressEvent (this=0xa5af50,
event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#32 0x00007ffd9ccd1b3b in QWidget::event (this=this at entry=0xa5af50,
event=event at entry=0x7fff8dc0f300) at kernel/qwidget.cpp:8385
#33 0x00007ffd9d07043e in QFrame::event (this=0xa5af50, e=0x7fff8dc0f300) at
widgets/qframe.cpp:557
#34 0x00007ffd9d17fd13 in QAbstractItemView::viewportEvent
(this=this at entry=0xa5af50, event=event at entry=0x7fff8dc0f300) at
itemviews/qabstractitemview.cpp:1644
#35 0x00007ffd9d1be930 in QTreeView::viewportEvent (this=0xa5af50,
event=0x7fff8dc0f300) at itemviews/qtreeview.cpp:1252
#36 0x00007ffd9c752586 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=this at entry=0x6e6cc0, receiver=receiver at entry=0xa5a4b0, 
    event=event at entry=0x7fff8dc0f300) at kernel/qcoreapplication.cpp:1063
#37 0x00007ffd9cc826ac in QApplicationPrivate::notify_helper
(this=this at entry=0x6e6cc0, receiver=receiver at entry=0xa5a4b0,
e=e at entry=0x7fff8dc0f300)
    at kernel/qapplication.cpp:4566
#38 0x00007ffd9cc88e3a in QApplication::notify (this=this at entry=0x7fff8dc0fdf0,
receiver=receiver at entry=0xa5a4b0, e=e at entry=0x7fff8dc0f300)
    at kernel/qapplication.cpp:4113
#39 0x00007ffd9e4ef76a in KApplication::notify (this=0x7fff8dc0fdf0,
receiver=0xa5a4b0, event=0x7fff8dc0f300) at
../../kdeui/kernel/kapplication.cpp:311
#40 0x00007ffd9c75241d in QCoreApplication::notifyInternal
(this=0x7fff8dc0fdf0, receiver=receiver at entry=0xa5a4b0,
event=event at entry=0x7fff8dc0f300)
    at kernel/qcoreapplication.cpp:953
#41 0x00007ffd9cc88633 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0xa5a4b0,
event=event at entry=0x7fff8dc0f300, alienWidget=alienWidget at entry=0x0, 
    nativeWidget=nativeWidget at entry=0xa5a4b0,
buttonDown=buttonDown at entry=0x7ffd9d7612d8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true)
    at kernel/qapplication.cpp:3178
#43 0x00007ffd9ccfa33b in QETWidget::translateMouseEvent
(this=this at entry=0xa5a4b0, event=event at entry=0x7fff8dc0f670) at
kernel/qapplication_x11.cpp:4540
#44 0x00007ffd9ccf8dac in QApplication::x11ProcessEvent (this=0x7fff8dc0fdf0,
event=event at entry=0x7fff8dc0f670) at kernel/qapplication_x11.cpp:3663
---Type <return> to continue, or q <return> to quit---
#45 0x00007ffd9cd20712 in x11EventSourceDispatch (s=0x6e8200, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007ffd9352ee04 in g_main_dispatch (context=0x6e7060) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#47 g_main_context_dispatch (context=context at entry=0x6e7060) at
/tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#48 0x00007ffd9352f048 in g_main_context_iterate
(context=context at entry=0x6e7060, 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 0x00007ffd9352f0ec in g_main_context_iteration (context=0x6e7060,
may_block=1) at /tmp/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#50 0x00007ffd9c77f655 in QEventDispatcherGlib::processEvents (this=0x66dad0,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#51 0x00007ffd9cd207c6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007ffd9c750fef in QEventLoop::processEvents
(this=this at entry=0x7fff8dc0fa40, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007ffd9c7512e5 in QEventLoop::exec (this=this at entry=0x7fff8dc0fa40,
flags=...) at kernel/qeventloop.cpp:204
#54 0x00007ffd9c756ab9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#55 0x00007ffd9cc80e8c in QApplication::exec () at kernel/qapplication.cpp:3828
#56 0x0000000000402d1a in main (argc=<optimized out>, argv=<optimized out>) at
../../kmail/main.cpp:146
(gdb)

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



More information about the Kdepim-bugs mailing list