Bug 261643

Summary: Akonadi control crashed when deleting an addressbook resource
Product: [Frameworks and Libraries] Akonadi Reporter: Chris <crglasoe>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: hamer.mk
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris 2010-12-30 17:35:41 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I was deleting an addressbook resource from eGroupware as nothing was showing up in Korganizer from this specific resource.  I had added another  link with a different name for the eGroupware resource that did display in Korganizer the contacts of that resource.  I did not have Kontact open on the desktop at the time of the crash.  I have been experiencing problems not having contacts sync between the resources also.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[KCrash Handler]
#5  QModelIndex (this=0xb25d50, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#6  QSortFilterProxyModel::parent (this=0xb25d50, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#7  0x00007f8c6f0d7b53 in parent (this=<value optimized out>) at kernel/qabstractitemmodel.h:389
#8  QPersistentModelIndex::parent (this=<value optimized out>) at kernel/qabstractitemmodel.cpp:347
#9  0x00007f8c6ea08cb7 in parent (this=0xac90a0, index=...) at itemviews/qitemselectionmodel.h:78
#10 contains (this=0xac90a0, index=...) at itemviews/qitemselectionmodel.h:83
#11 QItemSelection::contains (this=0xac90a0, index=...) at itemviews/qitemselectionmodel.cpp:423
#12 0x00007f8c6ea0920b in QItemSelectionModel::isSelected (this=<value optimized out>, index=...) at itemviews/qitemselectionmodel.cpp:1200
#13 0x00007f8c6e9d6122 in QListView::paintEvent (this=0xb1a8d0, e=<value optimized out>) at itemviews/qlistview.cpp:984
#14 0x00007f8c6e4f545a in QWidget::event (this=0xb1a8d0, event=0x7fffdc5bdb90) at kernel/qwidget.cpp:8346
#15 0x00007f8c6e8a2246 in QFrame::event (this=0xb1a8d0, e=0x7fffdc5bdb90) at widgets/qframe.cpp:557
#16 0x00007f8c6e9b4463 in QAbstractItemView::viewportEvent (this=0xb1a8d0, event=0x7fffdc5bdb90) at itemviews/qabstractitemview.cpp:1619
#17 0x00007f8c6f0e5fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xb29c80, event=0x7fffdc5bdb90) at kernel/qcoreapplication.cpp:847
#18 0x00007f8c6e4a3ca1 in QApplicationPrivate::notify_helper (this=0x623fb0, receiver=0xb29c80, e=0x7fffdc5bdb90) at kernel/qapplication.cpp:4441
#19 0x00007f8c6e4ac1ca in QApplication::notify (this=<value optimized out>, receiver=0xb29c80, e=0x7fffdc5bdb90) at kernel/qapplication.cpp:4324
#20 0x00007f8c6fc5ec06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f8c6f0e5e2c in QCoreApplication::notifyInternal (this=0x7fffdc5becf0, receiver=0xb29c80, event=0x7fffdc5bdb90) at kernel/qcoreapplication.cpp:732
#22 0x00007f8c6e4f2322 in sendSpontaneousEvent (this=0xa47d90, pdev=0x9ea608, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x9ea430)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0xa47d90, pdev=0x9ea608, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x9ea430) at kernel/qwidget.cpp:5433
#24 0x00007f8c6e6b7c18 in QWidgetBackingStore::sync (this=0x9ea430) at painting/qbackingstore.cpp:1325
#25 0x00007f8c6e4e7010 in QWidgetPrivate::syncBackingStore (this=0x9e8900) at kernel/qwidget.cpp:1816
#26 0x00007f8c6e4f5962 in QWidget::event (this=0x9e8260, event=0x6268f0) at kernel/qwidget.cpp:8493
#27 0x00007f8c6e4a3cd4 in QApplicationPrivate::notify_helper (this=0x623fb0, receiver=0x9e8260, e=0x6268f0) at kernel/qapplication.cpp:4445
#28 0x00007f8c6e4ac1ca in QApplication::notify (this=<value optimized out>, receiver=0x9e8260, e=0x6268f0) at kernel/qapplication.cpp:4324
#29 0x00007f8c6fc5ec06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007f8c6f0e5e2c in QCoreApplication::notifyInternal (this=0x7fffdc5becf0, receiver=0x9e8260, event=0x6268f0) at kernel/qcoreapplication.cpp:732
#31 0x00007f8c6f0e9625 in sendEvent (receiver=0x0, event_type=0, data=0x6082e0) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6082e0) at kernel/qcoreapplication.cpp:1373
#33 0x00007f8c6f1108f3 in sendPostedEvents (s=0x627b50) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x627b50) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f8c6a5d5a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f8c6a5d6270 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f8c6a5d6510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f8c6f110a8f in QEventDispatcherGlib::processEvents (this=0x60d970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f8c6e548eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f8c6f0e5262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f8c6f0e5475 in QEventLoop::exec (this=0x7fffdc5bebd0, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007f8c6e95ed3e in QDialog::exec (this=0x9e8260) at dialogs/qdialog.cpp:552
#43 0x00007f8c7069f9a6 in kdemain () from /usr/lib64/libkdeinit4_kcmshell4.so
#44 0x00007f8c70356b7d in __libc_start_main () from /lib64/libc.so.6
#45 0x0000000000400699 in _start ()

Possible duplicates by query: bug 238819.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-05-09 21:33:40 UTC
*** Bug 272884 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 20:39:54 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:20:40 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.