Bug 247592 - Contact Crashs when deleting List generated from KMail
Summary: Contact Crashs when deleting List generated from KMail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-13 01:22 UTC by Russ Fineman
Modified: 2017-01-07 22:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.04 KB, text/plain)
2010-09-06 15:07 UTC, Julian Bäume
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russ Fineman 2010-08-13 01:22:46 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
  Selected delete Group for list created in kmail.
   used message --> Select Contacts for To: then did save list. Appears contacts tittles are somes dropped when list is created. Went into Contact, slected edit group, modified name (added tittle) click ok. This di not update lest in Kmail. when into Contact and selected group delete and Contact crashed.

KDE 4.5.0 , kmail-4.4.5-235.2.x86_64,
kaddressbook-4.4.5-235.2.x86_64

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QModelIndex (this=<value optimized out>, proxyIndex=...) at /usr/include/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at /usr/src/debug/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:2127
#8  0x00007f4d5dbdf5a3 in KSelectionProxyModel::data (this=0xf232c0, index=..., role=35) at /usr/src/debug/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:2384
#9  0x00007f4d5e113533 in Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib64/libakonadi-kde.so.4
#10 0x00007f4d5cc54522 in QSortFilterProxyModelPrivate::source_items_inserted (this=0xf6c850, source_parent=..., start=<value optimized out>, end=29, orient=Qt::Vertical)
    at itemviews/qsortfilterproxymodel.cpp:730
#11 0x00007f4d5cc5488f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xf6c850, source_parent=<value optimized out>, start=<value optimized out>, end=<value optimized out>)
    at itemviews/qsortfilterproxymodel.cpp:1242
#12 0x00007f4d5cc566ec in QSortFilterProxyModel::qt_metacall (this=0xf6c500, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffff8578af0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:135
#13 0x00007f4d5d2fda1f in QMetaObject::activate (sender=0xf232c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff8578af0) at kernel/qobject.cpp:3295
#14 0x00007f4d5d3433c4 in QAbstractItemModel::rowsInserted (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=29) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#15 0x00007f4d5d2e4c0a in QAbstractItemModel::endInsertRows (this=0xf232c0) at kernel/qabstractitemmodel.cpp:2413
#16 0x00007f4d5dd8f318 in KSelectionProxyModelPrivate::insertSelectionIntoProxy (this=0xf6c190, selection=<value optimized out>)
    at /usr/src/debug/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:1709
#17 0x00007f4d5dd8f914 in KSelectionProxyModelPrivate::selectionChanged (this=<value optimized out>, _selected=<value optimized out>, _deselected=<value optimized out>)
    at /usr/src/debug/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:1643
#18 0x00007f4d5dd91686 in KSelectionProxyModel::qt_metacall (this=0xf232c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff85791d0)
    at /usr/src/debug/kdelibs-4.5.0/build/kdeui/moc_kselectionproxymodel.cpp:138
#19 0x00007f4d5d2fda1f in QMetaObject::activate (sender=0xf65fa0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff85791d0) at kernel/qobject.cpp:3295
#20 0x00007f4d5cc209e7 in QItemSelectionModel::selectionChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>)
    at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#21 0x00007f4d5cc263e9 in QItemSelectionModel::emitSelectionChanged (this=0xf65fa0, newSelection=<value optimized out>, oldSelection=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1592
#22 0x00007f4d5cc27718 in QItemSelectionModel::select (this=0xf65fa0, selection=<value optimized out>, command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1099
#23 0x00007f4d5cc16ce4 in QTreeViewPrivate::select (this=0xf0c060, topIndex=<value optimized out>, bottomIndex=<value optimized out>, command=...) at itemviews/qtreeview.cpp:3683
#24 0x00007f4d5cc17950 in QTreeView::setSelection (this=<value optimized out>, rect=<value optimized out>, command=...) at itemviews/qtreeview.cpp:2246
#25 0x00007f4d5cbcd8d1 in QAbstractItemView::mousePressEvent (this=0xf1dde0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1661
#26 0x00007f4d5c72c0a9 in QWidget::event (this=0xf1dde0, event=0x7ffff857a8b0) at kernel/qwidget.cpp:8040
#27 0x00007f4d5cabe7d6 in QFrame::event (this=0xf1dde0, e=0x7ffff857a8b0) at widgets/qframe.cpp:557
#28 0x00007f4d5cbcb1c3 in QAbstractItemView::viewportEvent (this=0xf1dde0, event=0x7ffff857a8b0) at itemviews/qabstractitemview.cpp:1615
#29 0x00007f4d5cc0d392 in QTreeView::viewportEvent (this=0xf1dde0, event=0x7ffff857a8b0) at itemviews/qtreeview.cpp:1248
#30 0x00007f4d5d2e9fd7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xf0df60, event=0x7ffff857a8b0) at kernel/qcoreapplication.cpp:841
#31 0x00007f4d5c6db4a1 in QApplicationPrivate::notify_helper (this=0x645f50, receiver=0xf0df60, e=0x7ffff857a8b0) at kernel/qapplication.cpp:4298
#32 0x00007f4d5c6e434a in QApplication::notify (this=<value optimized out>, receiver=0xf0df60, e=0x7ffff857a8b0) at kernel/qapplication.cpp:3867
#33 0x00007f4d5dc0f0b6 in KApplication::notify (this=0x7ffff857b5e0, receiver=0xf0df60, event=0x7ffff857a8b0) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#34 0x00007f4d5d2e9e4c in QCoreApplication::notifyInternal (this=0x7ffff857b5e0, receiver=0xf0df60, event=0x7ffff857a8b0) at kernel/qcoreapplication.cpp:726
#35 0x00007f4d5c6dd1e5 in sendEvent (receiver=0xf0df60, event=0x7ffff857a8b0, alienWidget=0xf0df60, nativeWidget=0xef6150, buttonDown=0x7f4d5d187b28, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0xf0df60, event=0x7ffff857a8b0, alienWidget=0xf0df60, nativeWidget=0xef6150, buttonDown=0x7f4d5d187b28, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#37 0x00007f4d5c7576c8 in QETWidget::translateMouseEvent (this=0xef6150, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#38 0x00007f4d5c755e19 in QApplication::x11ProcessEvent (this=0x7ffff857b5e0, event=0x7ffff857b210) at kernel/qapplication_x11.cpp:3513
#39 0x00007f4d5c77c492 in x11EventSourceDispatch (s=0x64c230, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f4d54939a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f4d5493a270 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f4d5493a510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f4d5d31267f in QEventDispatcherGlib::processEvents (this=0x613b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f4d5c77c14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f4d5d2e9292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f4d5d2e9495 in QEventLoop::exec (this=0x7ffff857b530, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f4d5d2ed88b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#48 0x000000000040417e in _start ()

Reported using DrKonqi
Comment 1 Julian Bäume 2010-09-06 15:07:16 UTC
Created attachment 51359 [details]
New crash information added by DrKonqi

kontact (4.5 beta1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3

First of all, I’m using a more recent version of Kontact/KAddressbook. (4.5 beta3 from openSUSE) My addressbook is stored on an IMAP folder on a kolab server.

- What I was doing when the application crashed:
I changed some values in a contact in the addressbook when saving the changes, the addressbook-folder got "un-ticked", resulting in the contact not being shown in the list. After activating the folder again, this crash happened.

- Unusual behavior I noticed:
I tried to reproduce this several times, but it didn’t happen everytime. This automatic deactivation of the folder seems to trigger this crash. I also have a feeling, that this happens more often, when reloading (with F5 or via the context-menu) the folder before or after playing around with a contact.

-- Backtrace (Reduced):
#6  QModelIndex (this=<value optimized out>, proxyIndex=...) at /usr/include/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModel::mapToSource (this=<value optimized out>, proxyIndex=...) at /usr/src/debug/kdelibs-4.5.1/kdeui/itemviews/kselectionproxymodel.cpp:2123
#8  0x00007fa8601bc6a5 in KSelectionProxyModel::data (this=0x10e6ec0, index=..., role=35) at /usr/src/debug/kdelibs-4.5.1/kdeui/itemviews/kselectionproxymodel.cpp:2380
#9  0x00007fa85bacae37 in data (this=<value optimized out>, sourceRow=0, sourceParent=...) at /usr/include/QtCore/qabstractitemmodel.h:398
#10 Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow (this=<value optimized out>, sourceRow=0, sourceParent=...) at /usr/src/debug/kdepimlibs-4.5.1/akonadi/entitymimetypefiltermodel.cpp:106
Comment 2 Denis Kurz 2016-09-24 19:32:21 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 3 Denis Kurz 2017-01-07 22:38:48 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.