Bug 311779 - Kontact crashes when trying to delete contact
Summary: Kontact crashes when trying to delete contact
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 318760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-16 14:31 UTC by Titus Stahl
Modified: 2017-01-07 21:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.65 KB, text/plain)
2013-01-03 15:48 UTC, Claus Koch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Titus Stahl 2012-12-16 14:31:31 UTC
Application: kontact (4.9.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
I was trying to delete a contact from a google addressbook resource. I right-clicked on the contact name in the list, chose, delete upon which Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fac3f6217c0 (LWP 5433))]

Thread 4 (Thread 0x7fac37a49700 (LWP 5434)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac50b97b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fac50b97c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fac4c0e2e9a in start_thread (arg=0x7fac37a49700) at pthread_create.c:308
#4  0x00007fac518c2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fac37148700 (LWP 5435)):
#0  0x00007fac518d0904 in pthread_mutex_unlock (mutex=0x7fac30000a60) at forward.c:184
#1  0x00007fac4bc50c61 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fac4bc13884 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac4bc13d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fac4bc13ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fac52037c16 in QEventDispatcherGlib::processEvents (this=0x7fac300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fac520082bf in QEventLoop::processEvents (this=this@entry=0x7fac37147dc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fac52008548 in QEventLoop::exec (this=0x7fac37147dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fac51f09b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fac51f0caec in QThreadPrivate::start (arg=0x21d9360) at thread/qthread_unix.cpp:338
#10 0x00007fac4c0e2e9a in start_thread (arg=0x7fac37148700) at pthread_create.c:308
#11 0x00007fac518c2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fabe8fc5700 (LWP 5467)):
#0  0x00007fac4bc136d2 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fac4bc13cf9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fac4bc13ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fac52037c16 in QEventDispatcherGlib::processEvents (this=0x7fabdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fac520082bf in QEventLoop::processEvents (this=this@entry=0x7fabe8fc4d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fac52008548 in QEventLoop::exec (this=0x7fabe8fc4d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fac51f09b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fac51fe89af in QInotifyFileSystemWatcherEngine::run (this=0x27d7d00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fac51f0caec in QThreadPrivate::start (arg=0x27d7d00) at thread/qthread_unix.cpp:338
#9  0x00007fac4c0e2e9a in start_thread (arg=0x7fabe8fc5700) at pthread_create.c:308
#10 0x00007fac518c2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac3f6217c0 (LWP 5433)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x423fdf0, source_parent=..., parent_mapping=parent_mapping@entry=0x6712660, orient=orient@entry=Qt::Vertical, start=start@entry=1135, end=end@entry=1135, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00007fac52f785c0 in source_items_removed (orient=Qt::Vertical, end=1135, start=1135, source_parent=..., this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:890
#8  QSortFilterProxyModelPrivate::source_items_removed (this=0x423fdf0, source_parent=..., start=1135, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
#9  0x00007fac5201ef5f in QMetaObject::activate (sender=0xb202e10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff44502830) at kernel/qobject.cpp:3547
#10 0x00007fac52068c84 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=..., _t2=1135, _t3=1135) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#11 0x00007fac52002f0d in QAbstractItemModel::endRemoveRows (this=0xb202e10) at kernel/qabstractitemmodel.cpp:2487
#12 0x00007fac4e6af55e in ?? () from /usr/lib/libakonadi-kde.so.4
#13 0x00007fac5201ef5f in QMetaObject::activate (sender=0xa2a20f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff44502aa0) at kernel/qobject.cpp:3547
#14 0x00007fac4e6eb0b5 in Akonadi::Monitor::itemRemoved(Akonadi::Item const&) () from /usr/lib/libakonadi-kde.so.4
#15 0x00007fac4e6ee81b in ?? () from /usr/lib/libakonadi-kde.so.4
#16 0x00007fac4e6f0cb2 in ?? () from /usr/lib/libakonadi-kde.so.4
#17 0x00007fac4e657da9 in ?? () from /usr/lib/libakonadi-kde.so.4
#18 0x00007fac4e6ef57f in ?? () from /usr/lib/libakonadi-kde.so.4
#19 0x00007fac4e6ef619 in ?? () from /usr/lib/libakonadi-kde.so.4
#20 0x00007fac5201ef5f in QMetaObject::activate (sender=0x7e42a10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#21 0x00007fac4e65dcb7 in ?? () from /usr/lib/libakonadi-kde.so.4
#22 0x00007fac5201ef5f in QMetaObject::activate (sender=0xa3a9930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff445031a0) at kernel/qobject.cpp:3547
#23 0x00007fac52485ef2 in KJob::result (this=this@entry=0xa3a9930, _t1=_t1@entry=0xa3a9930) at ./kjob.moc:208
#24 0x00007fac52485f30 in KJob::emitResult (this=0xa3a9930) at ../../kdecore/jobs/kjob.cpp:318
#25 0x00007fac5201e43e in QObject::event (this=0xa3a9930, e=<optimized out>) at kernel/qobject.cpp:1195
#26 0x00007fac529eae9c in QApplicationPrivate::notify_helper (this=this@entry=0x20a06a0, receiver=receiver@entry=0xa3a9930, e=e@entry=0x3a43cc0) at kernel/qapplication.cpp:4562
#27 0x00007fac529ef30a in QApplication::notify (this=0x7fff44503c40, receiver=0xa3a9930, e=0x3a43cc0) at kernel/qapplication.cpp:4423
#28 0x00007fac536f31d6 in KApplication::notify (this=0x7fff44503c40, receiver=0xa3a9930, event=0x3a43cc0) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fac5200956e in QCoreApplication::notifyInternal (this=0x7fff44503c40, receiver=receiver@entry=0xa3a9930, event=event@entry=0x3a43cc0) at kernel/qcoreapplication.cpp:915
#30 0x00007fac5200d3f1 in sendEvent (event=0x3a43cc0, receiver=0xa3a9930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2064380) at kernel/qcoreapplication.cpp:1539
#32 0x00007fac52037a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x20a28c0) at kernel/qeventdispatcher_glib.cpp:279
#34 0x00007fac4bc13ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fac4bc13de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fac4bc13ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fac52037bf6 in QEventDispatcherGlib::processEvents (this=0x2065c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00007fac52a8fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fac520082bf in QEventLoop::processEvents (this=this@entry=0x7fff44503ab0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fac52008548 in QEventLoop::exec (this=0x7fff44503ab0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fac5200d708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#42 0x0000000000403339 in ?? ()
#43 0x00007fac517f076d in __libc_start_main (main=0x402b40, argc=1, ubp_av=0x7fff44503d88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff44503d78) at libc-start.c:226
#44 0x00000000004038a1 in _start ()

Possible duplicates by query: bug 309147, bug 306051, bug 304219, bug 304109.

Reported using DrKonqi
Comment 1 Claus Koch 2013-01-03 15:48:34 UTC
Created attachment 76160 [details]
New crash information added by DrKonqi

kontact (4.9.3) on KDE Platform 4.9.3 using Qt 4.8.3

- What I was doing when the application crashed:

deleted a contac from al local addressbook directory (shared via ubuntuone)

-- Backtrace (Reduced):
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x5bb8d60, source_parent=..., parent_mapping=parent_mapping@entry=0x5ff9aa0, orient=orient@entry=Qt::Vertical, start=start@entry=1, end=end@entry=1, delta_item_count=delta_item_count@entry=1, remove=remove@entry=true) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00007fc2541675c0 in source_items_removed (orient=Qt::Vertical, end=1, start=1, source_parent=..., this=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:890
#8  QSortFilterProxyModelPrivate::source_items_removed (this=0x5bb8d60, source_parent=..., start=1, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:848
[...]
#10 0x00007fc253257c84 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=..., _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#11 0x00007fc2531f1f0d in QAbstractItemModel::endRemoveRows (this=0x45aa0d0) at kernel/qabstractitemmodel.cpp:2487
Comment 2 Jekyll Wu 2013-04-23 12:29:58 UTC
*** Bug 318760 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 19:25:46 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 4 Denis Kurz 2017-01-07 21:36:58 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.