Bug 308352

Summary: kontact crash when moving folders
Product: [Applications] kontact Reporter: Sérgio Basto <sergio>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 4.9.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sérgio Basto 2012-10-14 00:17:25 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.6.1-1.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:
I moved two folders to other folder. I did move some folder to a sub folder , nothing else

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7809004880 (LWP 24894))]

Thread 3 (Thread 0x7f77fcdff700 (LWP 24895)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007f780c6a277d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f780d08c980) at wtf/FastMalloc.cpp:2495
#2  0x00007f780c6a2889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x000000380aa07d14 in start_thread (arg=0x7f77fcdff700) at pthread_create.c:309
#4  0x000000380a2f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f77fc4fe700 (LWP 24896)):
#0  0x000000380a2e8bcf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000380d647af4 in g_main_context_poll (n_fds=1, fds=0x7f77f40029c0, timeout=6033, context=0x7f77f40009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7f77f40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141
#3  0x000000380d647c14 in g_main_context_iteration (context=0x7f77f40009a0, may_block=1) at gmain.c:3207
#4  0x00007f780969b4e6 in QEventDispatcherGlib::processEvents (this=0x7f77f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f780966c10f in QEventLoop::processEvents (this=this@entry=0x7f77fc4fdd20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f780966c398 in QEventLoop::exec (this=0x7f77fc4fdd20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f780956f650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f78095725eb in QThreadPrivate::start (arg=0xf0b6b0) at thread/qthread_unix.cpp:307
#9  0x000000380aa07d14 in start_thread (arg=0x7f77fc4fe700) at pthread_create.c:309
#10 0x000000380a2f167d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f7809004880 (LWP 24894)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x1933e00, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:369
#7  0x00007f780a36c0bd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#8  0x00007f780a36ab91 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=43) at itemviews/qsortfilterproxymodel.cpp:1715
#9  0x000000343e99034d in data (arole=43, this=0x7fffa43f7b10) at /usr/include/QtCore/qabstractitemmodel.h:402
#10 Akonadi::StandardActionManager::Private::pasteTo (this=0x1a573a0, selectionModel=<optimized out>, action=0x35a5f90, dropAction=dropAction@entry=Qt::MoveAction) at /usr/src/debug/kdepimlibs-4.9.2/akonadi/standardactionmanager.cpp:1143
#11 0x000000343e98618d in slotMoveCollectionTo (action=<optimized out>, this=<optimized out>) at /usr/src/debug/kdepimlibs-4.9.2/akonadi/standardactionmanager.cpp:995
#12 qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdepimlibs-4.9.2/x86_64-redhat-linux-gnu/akonadi/standardactionmanager.moc:175
#13 Akonadi::StandardActionManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffa43f7d00) at /usr/src/debug/kdepimlibs-4.9.2/x86_64-redhat-linux-gnu/akonadi/standardactionmanager.moc:136
#14 0x00007f7809683b6f in QMetaObject::activate (sender=0x1a77130, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa43f7d00) at kernel/qobject.cpp:3547
#15 0x00007f780a217bf2 in QMenu::triggered (this=this@entry=0x1a77130, _t1=_t1@entry=0x35a5f90) at .moc/release-shared/moc_qmenu.cpp:177
#16 0x00007f780a217dc0 in QMenuPrivate::activateCausedStack (this=this@entry=0x3e5b2f0, causedStack=..., action=action@entry=0x35a5f90, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#17 0x00007f780a21e179 in QMenuPrivate::activateAction (this=0x3e5b2f0, action=0x35a5f90, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#18 0x00007f7809e34a90 in QWidget::event (this=0x3d77220, event=0x7fffa43f86c0) at kernel/qwidget.cpp:8371
#19 0x00007f780a21f42b in QMenu::event (this=0x3d77220, e=0x7fffa43f86c0) at widgets/qmenu.cpp:2469
#20 0x00007f7809de537c in QApplicationPrivate::notify_helper (this=this@entry=0xf019d0, receiver=receiver@entry=0x3d77220, e=e@entry=0x7fffa43f86c0) at kernel/qapplication.cpp:4551
#21 0x00007f7809dea05b in QApplication::notify (this=<optimized out>, receiver=0x3d77220, e=0x7fffa43f86c0) at kernel/qapplication.cpp:4094
#22 0x000000343bc468a6 in KApplication::notify (this=0x7fffa43faad0, receiver=0x3d77220, event=0x7fffa43f86c0) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#23 0x00007f780966d3be in QCoreApplication::notifyInternal (this=0x7fffa43faad0, receiver=0x3d77220, event=0x7fffa43f86c0) at kernel/qcoreapplication.cpp:915
#24 0x00007f7809de61bb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x3d77220, event=0x7fffa43f86c0, alienWidget=0x0, nativeWidget=0x3d77220, buttonDown=0x7f780a8b8d68, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#26 0x00007f7809e605ec in QETWidget::translateMouseEvent (this=this@entry=0x3d77220, event=event@entry=0x7fffa43f8e30) at kernel/qapplication_x11.cpp:4457
#27 0x00007f7809e5f4b1 in QApplication::x11ProcessEvent (this=0x7fffa43faad0, event=0x7fffa43f8e30) at kernel/qapplication_x11.cpp:3646
#28 0x00007f7809e854cc in x11EventSourceDispatch (s=s@entry=0xf04210, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x000000380d647825 in g_main_dispatch (context=0xf02f00) at gmain.c:2539
#30 g_main_context_dispatch (context=context@entry=0xf02f00) at gmain.c:3075
#31 0x000000380d647b58 in g_main_context_iterate (context=context@entry=0xf02f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#32 0x000000380d647c14 in g_main_context_iteration (context=0xf02f00, may_block=1) at gmain.c:3207
#33 0x00007f780969b4c6 in QEventDispatcherGlib::processEvents (this=0xef03c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f7809e851ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x00007f780966c10f in QEventLoop::processEvents (this=this@entry=0x7fffa43f9210, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f780966c398 in QEventLoop::exec (this=0x7fffa43f9210, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f780a21be55 in QMenu::exec (this=0x17bee90, p=..., action=0x0) at widgets/qmenu.cpp:2113
#38 0x000000343e908867 in Akonadi::EntityTreeView::contextMenuEvent (this=<optimized out>, event=0x7fffa43f9e30) at /usr/src/debug/kdepimlibs-4.9.2/akonadi/entitytreeview.cpp:280
#39 0x00007f7809e347da in QWidget::event (this=0x1917a60, event=0x7fffa43f9e30) at kernel/qwidget.cpp:8538
#40 0x00007f780a1de806 in QFrame::event (this=0x1917a60, e=0x7fffa43f9e30) at widgets/qframe.cpp:557
#41 0x00007f780a2ebde3 in QAbstractItemView::viewportEvent (this=0x1917a60, event=0x7fffa43f9e30) at itemviews/qabstractitemview.cpp:1644
#42 0x00007f780a32f561 in QTreeView::viewportEvent (this=0x1917a60, event=0x7fffa43f9e30) at itemviews/qtreeview.cpp:1257
#43 0x00007f780966d526 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1917340, event=0x7fffa43f9e30) at kernel/qcoreapplication.cpp:1025
#44 0x00007f7809de534c in QApplicationPrivate::notify_helper (this=this@entry=0xf019d0, receiver=receiver@entry=0x1917340, e=e@entry=0x7fffa43f9e30) at kernel/qapplication.cpp:4547
#45 0x00007f7809de9d65 in QApplication::notify (this=<optimized out>, receiver=0x1917340, e=0x7fffa43f9e30) at kernel/qapplication.cpp:4173
#46 0x000000343bc468a6 in KApplication::notify (this=0x7fffa43faad0, receiver=0x1917340, event=0x7fffa43f9e30) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#47 0x00007f780966d3be in QCoreApplication::notifyInternal (this=0x7fffa43faad0, receiver=0x1917340, event=0x7fffa43f9e30) at kernel/qcoreapplication.cpp:915
#48 0x00007f7809e60781 in sendSpontaneousEvent (event=0x7fffa43f9e30, receiver=0x1917340) at ../../src/corelib/kernel/qcoreapplication.h:234
#49 QETWidget::translateMouseEvent (this=this@entry=0x16f3790, event=event@entry=0x7fffa43fa570) at kernel/qapplication_x11.cpp:4528
#50 0x00007f7809e5f4b1 in QApplication::x11ProcessEvent (this=0x7fffa43faad0, event=0x7fffa43fa570) at kernel/qapplication_x11.cpp:3646
#51 0x00007f7809e854cc in x11EventSourceDispatch (s=s@entry=0xf04210, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#52 0x000000380d647825 in g_main_dispatch (context=0xf02f00) at gmain.c:2539
#53 g_main_context_dispatch (context=context@entry=0xf02f00) at gmain.c:3075
#54 0x000000380d647b58 in g_main_context_iterate (context=context@entry=0xf02f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#55 0x000000380d647c14 in g_main_context_iteration (context=0xf02f00, may_block=1) at gmain.c:3207
#56 0x00007f780969b4e6 in QEventDispatcherGlib::processEvents (this=0xef03c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#57 0x00007f7809e851ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#58 0x00007f780966c10f in QEventLoop::processEvents (this=this@entry=0x7fffa43fa940, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f780966c398 in QEventLoop::exec (this=0x7fffa43fa940, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007f7809671188 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#61 0x00000000004033f9 in ?? ()
#62 0x000000380a221735 in __libc_start_main (main=0x402c00, argc=1, ubp_av=0x7fffa43fac18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa43fac08) at libc-start.c:226
#63 0x0000000000403961 in _start ()

This bug may be a duplicate of or related to bug 290403.

Possible duplicates by query: bug 290403.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:28:10 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 21:52:55 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.
Comment 3 Sérgio Basto 2017-01-11 23:35:33 UTC
OK , sorry for nor reply sooner