Bug 328713 - Crash after message move between local folders.
Summary: Crash after message move between local folders.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-12 10:37 UTC by Tamás Gere
Modified: 2017-01-07 22:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Gere 2013-12-12 10:37:17 UTC
Application: kontact (4.11.4)
KDE Platform Version: 4.11.4 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.1-pf x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I moved ~50 messages between two local folders. Then again (aroung ~50)... After (!) the second process, kmail (in kontact) crashed, so messages moved successfully.

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

Thread 6 (Thread 0x7f66f45df700 (LWP 15412)):
#0  0x00007f670633cfbc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f670949f4c7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6709e681c0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x00007f670949f549 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f670633901a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f670bc091cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f66f3cde700 (LWP 15413)):
#0  0x00007f67052d5010 in pthread_mutex_lock@plt () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f670533f091 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6705301d51 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6705301e1c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f670d15000e in QEventDispatcherGlib::processEvents (this=0x7f66ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f670d11c246 in QEventLoop::processEvents (this=this@entry=0x7f66f3cdde30, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f670d11c548 in QEventLoop::exec (this=0x7f66f3cdde30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f670d010755 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f670d012cbf in QThreadPrivate::start (arg=0x85f3a0) at thread/qthread_unix.cpp:338
#9  0x00007f670633901a in start_thread () from /lib64/libpthread.so.0
#10 0x00007f670bc091cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f669f75f700 (LWP 29894)):
#0  0x00007f670633d33e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f670d01316b in wait (time=30000, this=0x2091820) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1d0e328, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f670d0063d6 in QThreadPoolThread::run (this=0x20902f0) at concurrent/qthreadpool.cpp:141
#4  0x00007f670d012cbf in QThreadPrivate::start (arg=0x20902f0) at thread/qthread_unix.cpp:338
#5  0x00007f670633901a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f670bc091cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f66952cf700 (LWP 29916)):
#0  0x00007f670533ee2d in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f670533f0c9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6705301ade in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6705301d41 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6705301e1c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f670d15000e in QEventDispatcherGlib::processEvents (this=0x7f6604003cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f670d11c246 in QEventLoop::processEvents (this=this@entry=0x7f66952cedf0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f670d11c548 in QEventLoop::exec (this=0x7f66952cedf0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f670d010755 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007f670d0fc1f3 in QInotifyFileSystemWatcherEngine::run (this=0x34588d0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f670d012cbf in QThreadPrivate::start (arg=0x34588d0) at thread/qthread_unix.cpp:338
#11 0x00007f670633901a in start_thread () from /lib64/libpthread.so.0
#12 0x00007f670bc091cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f669d3e7700 (LWP 30016)):
#0  0x00007f670633d33e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f670d01316b in wait (time=30000, this=0x1300340) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x13005f8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f670d0063d6 in QThreadPoolThread::run (this=0x1944a30) at concurrent/qthreadpool.cpp:141
#4  0x00007f670d012cbf in QThreadPrivate::start (arg=0x1944a30) at thread/qthread_unix.cpp:338
#5  0x00007f670633901a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f670bc091cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f670e89b7c0 (LWP 15411)):
[KCrash Handler]
#6  0x00007f670bb58535 in raise () from /lib64/libc.so.6
#7  0x00007f670bb599c7 in abort () from /lib64/libc.so.6
#8  0x00007f670d008443 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007f670d008596 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f670d1895f8 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff0b0a7308) at global/qglobal.cpp:2369
#10 0x00007f670d0086dc in qFatal (msg=<optimized out>) at global/qglobal.cpp:2552
#11 0x00007f670ab63c69 in Akonadi::EntityTreeModelPrivate::purgeItems (this=0x823710, id=49) at /home/.tmp/portage/kde-base/kdepimlibs-4.11.4/work/kdepimlibs-4.11.4/akonadi/entitytreemodel_p.cpp:1655
#12 0x00007f670ab5c127 in Akonadi::EntityTreeModel::setData (this=0xd8d0e0, index=..., value=..., role=53) at /home/.tmp/portage/kde-base/kdepimlibs-4.11.4/work/kdepimlibs-4.11.4/akonadi/entitytreemodel.cpp:788
#13 0x00007f670abd0f8b in rootIndexAboutToBeRemoved (removedRootIndex=..., this=<optimized out>) at /home/.tmp/portage/kde-base/kdepimlibs-4.11.4/work/kdepimlibs-4.11.4/akonadi/selectionproxymodel.cpp:65
#14 Akonadi::SelectionProxyModel::qt_static_metacall (_o=0x2af74a0, _c=15411, _id=20081696, _a=0x7fff0b0a77e0) at /home/.tmp/portage/kde-base/kdepimlibs-4.11.4/work/kdepimlibs-4.11.4_build/akonadi/moc_selectionproxymodel.cpp:52
#15 0x00007f670d135205 in QMetaObject::activate (sender=0x2af74a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0b0a77e0) at kernel/qobject.cpp:3547
#16 0x00007f670dbe04c2 in KSelectionProxyModel::rootIndexAboutToBeRemoved (this=this@entry=0x2af74a0, _t1=...) at /home/.tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4_build/kdeui/moc_kselectionproxymodel.cpp:160
#17 0x00007f670dbeb0f9 in KSelectionProxyModelPrivate::removeRangeFromProxy (this=this@entry=0x1355100, range=...) at /home/.tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/itemviews/kselectionproxymodel.cpp:1718
#18 0x00007f670dbeb945 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=this@entry=0x1355100, selection=...) at /home/.tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/itemviews/kselectionproxymodel.cpp:1637
#19 0x00007f670dbec7eb in KSelectionProxyModelPrivate::selectionChanged (this=0x1355100, _selected=..., _deselected=...) at /home/.tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/itemviews/kselectionproxymodel.cpp:1887
#20 0x00007f670d135205 in QMetaObject::activate (sender=0x119c690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0b0a7e90) at kernel/qobject.cpp:3547
#21 0x00007f670c9a5ec7 in QItemSelectionModel::selectionChanged (this=this@entry=0x119c690, _t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:165
#22 0x00007f670c9a857a in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x119c690, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#23 0x00007f670c9ab282 in QItemSelectionModel::select (this=this@entry=0x119c690, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#24 0x00007f66aab6ec8b in MessageList::Pane::Private::onSelectionChanged (this=0x114f4a0, selected=..., deselected=...) at /home/.tmp/portage/kde-base/kdepim-common-libs-4.11.4/work/kdepim-common-libs-4.11.4/messagelist/pane.cpp:451
#25 0x00007f670d135205 in QMetaObject::activate (sender=0x11520a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0b0a83d0) at kernel/qobject.cpp:3547
#26 0x00007f670c9a5ec7 in QItemSelectionModel::selectionChanged (this=this@entry=0x11520a0, _t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:165
#27 0x00007f670c9a85db in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x11520a0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#28 0x00007f670c9ab282 in QItemSelectionModel::select (this=0x11520a0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#29 0x00007f670c9941c9 in QTreeViewPrivate::select (this=this@entry=0x113d6d0, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#30 0x00007f670c995b70 in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#31 0x00007f670c94e4a6 in QAbstractItemView::mousePressEvent (this=0xf44960, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#32 0x00007f670c417448 in QWidget::event (this=0xf44960, event=0x7fff0b0a97c0) at kernel/qwidget.cpp:8372
#33 0x00007f670c82246b in QFrame::event (this=0xf44960, e=0x7fff0b0a97c0) at widgets/qframe.cpp:557
#34 0x00007f670c95592b in QAbstractItemView::viewportEvent (this=0xf44960, event=0x7fff0b0a97c0) at itemviews/qabstractitemview.cpp:1644
#35 0x00007f670c99c06b in QTreeView::viewportEvent (this=0xf44960, event=0x7fff0b0a97c0) at itemviews/qtreeview.cpp:1252
#36 0x00007f670d11dffc in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xf44730, event=0x7fff0b0a97c0) at kernel/qcoreapplication.cpp:1059
#37 0x00007f670c3c052b in QApplicationPrivate::notify_helper (this=this@entry=0x64d390, receiver=receiver@entry=0xf44730, e=e@entry=0x7fff0b0a97c0) at kernel/qapplication.cpp:4558
#38 0x00007f670c3c3b07 in QApplication::notify (this=<optimized out>, receiver=0xf44730, e=0x7fff0b0a97c0) at kernel/qapplication.cpp:4105
#39 0x00007f670dbfff56 in KApplication::notify (this=0x7fff0b0aa460, receiver=0xf44730, event=0x7fff0b0a97c0) at /home/.tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/kernel/kapplication.cpp:311
#40 0x00007f670d11de05 in QCoreApplication::notifyInternal (this=0x7fff0b0aa460, receiver=0xf44730, event=0x7fff0b0a97c0) at kernel/qcoreapplication.cpp:949
#41 0x00007f670c3c78eb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=0xf44730, event=0x7fff0b0a97c0, alienWidget=0x0, nativeWidget=0xf44730, buttonDown=0x7f670cf8a5a8 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#43 0x00007f670c447715 in QETWidget::translateMouseEvent (this=this@entry=0xf44730, event=event@entry=0x7fff0b0a9f10) at kernel/qapplication_x11.cpp:4517
#44 0x00007f670c446b03 in QApplication::x11ProcessEvent (this=0x7fff0b0aa460, event=0x7fff0b0a9f10) at kernel/qapplication_x11.cpp:3640
#45 0x00007f670c471b02 in x11EventSourceDispatch (s=0x64d0f0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f6705301a02 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f6705301d41 in ?? () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f6705301e1c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f670d14ffeb in QEventDispatcherGlib::processEvents (this=0x646d50, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#50 0x00007f670c471be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f670d11c246 in QEventLoop::processEvents (this=this@entry=0x7fff0b0aa2d0, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f670d11c548 in QEventLoop::exec (this=0x7fff0b0aa2d0, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f670d1226c2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#54 0x00000000004042fb in main (argc=1, argv=0x7fff0b0aa5a8) at /home/.tmp/portage/kde-base/kontact-4.11.4/work/kontact-4.11.4/kontact/src/main.cpp:219

The reporter indicates this bug may be a duplicate of or related to bug 280630, bug 313188.

Possible duplicates by query: bug 313586, bug 313509, bug 313188.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:23:37 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:46:32 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.