Bug 247820 - Kaddressbook crash after clicking ok on a just edited new contact
Summary: Kaddressbook crash after clicking ok on a just edited new contact
Status: RESOLVED WORKSFORME
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: investigated, triaged
: 263976 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-14 09:06 UTC by m.wege
Modified: 2018-10-27 02:24 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.36 KB, text/plain)
2010-09-17 16:26 UTC, Alvise
Details
New crash information added by DrKonqi (10.10 KB, text/plain)
2010-12-29 06:46 UTC, jamundso
Details
akonadi error (25.95 KB, image/png)
2010-12-29 07:27 UTC, jamundso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2010-08-14 09:06:19 UTC
Application: kaddressbook (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-14-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: Kaddressbook crash after clicking ok on a just edited new contact

-- Backtrace:
Application: Adressbuch (kaddressbook), signal: Segmentation fault
[Current thread is 1 (Thread 0xb362e730 (LWP 9950))]

Thread 2 (Thread 0xafcd9b70 (LWP 9953)):
#0  0xb7724424 in __kernel_vsyscall ()
#1  0xb5eeeb86 in *__GI___poll (fds=0xb5f84ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb52574eb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb524a0ac in ?? () from /lib/libglib-2.0.so.0
#4  0xb524a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb62361cf in QEventDispatcherGlib::processEvents (this=0x877cc70, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb6206419 in QEventLoop::processEvents (this=0xafcd9270, flags=) at kernel/qeventloop.cpp:149
#7  0xb620689a in QEventLoop::exec (this=0xafcd9270, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6103b5e in QThread::exec (this=0x8780690) at thread/qthread.cpp:490
#9  0xb61e555b in QInotifyFileSystemWatcherEngine::run (this=0x8780690) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6106e39 in QThreadPrivate::start (arg=0x8780690) at thread/qthread_unix.cpp:266
#11 0xb58fe96e in start_thread (arg=0xafcd9b70) at pthread_create.c:300
#12 0xb5efca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb362e730 (LWP 9950)):
[KCrash Handler]
#7  QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x869a848, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1186
#8  0xb6d6e364 in QSortFilterProxyModel::qt_metacall (this=0x86a8ed0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd8ef94) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#9  0xb56432da in Akonadi::ContactsFilterModel::qt_metacall (this=0x86a8ed0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd8ef94) at ./contactsfilterproxymodel.moc:68
#10 0xb620d6ca in QMetaObject::metacall (object=0x86a8ed0, cl=141250272, idx=30, argv=0xbfd8ef94) at kernel/qmetaobject.cpp:237
#11 0xb6220455 in QMetaObject::activate (sender=0x86abf20, m=0xb6339198, local_signal_index=0, argv=0xbfd8ef94) at kernel/qobject.cpp:3280
#12 0xb6270f29 in QAbstractItemModel::dataChanged (this=0x86abf20, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#13 0xb6d6c4c9 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x86c5e40, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1191
#14 0xb6d6e364 in QSortFilterProxyModel::qt_metacall (this=0x86abf20, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd8f1f4) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#15 0xb75e0ec2 in Akonadi::EntityMimeTypeFilterModel::qt_metacall (this=0x86abf20, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd8f1f4) at ./entitymimetypefiltermodel.moc:64
#16 0xb620d6ca in QMetaObject::metacall (object=0x86abf20, cl=141250272, idx=30, argv=0xbfd8f1f4) at kernel/qmetaobject.cpp:237
#17 0xb6220455 in QMetaObject::activate (sender=0x8695be8, m=0xb6339198, local_signal_index=0, argv=0xbfd8f1f4) at kernel/qobject.cpp:3280
#18 0xb6270f29 in QAbstractItemModel::dataChanged (this=0x8695be8, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#19 0xb732fbab in KSelectionProxyModelPrivate::emitContinuousRanges (this=0x86ac018, sourceFirst=..., sourceLast=..., proxyFirst=..., proxyLast=...)
    at ../../kdeui/itemviews/kselectionproxymodel.cpp:608
#20 0xb7332823 in KSelectionProxyModelPrivate::sourceDataChanged (this=0x0, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:630
#21 0xb733c817 in KSelectionProxyModel::qt_metacall (this=0x8695be8, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfd8f4b4) at ./moc_kselectionproxymodel.cpp:137
#22 0xb620d6ca in QMetaObject::metacall (object=0x8695be8, cl=141250272, idx=39, argv=0xbfd8f4b4) at kernel/qmetaobject.cpp:237
#23 0xb6220455 in QMetaObject::activate (sender=0x86b8f28, m=0xb6339198, local_signal_index=0, argv=0xbfd8f4b4) at kernel/qobject.cpp:3280
#24 0xb6270f29 in QAbstractItemModel::dataChanged (this=0x86b8f28, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#25 0xb75eb7f0 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x86b8fb0, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1279
#26 0xb75f1c92 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x86b8fb0, item=...) at ../../akonadi/entitytreemodel_p.cpp:834
#27 0xb75e3d7d in Akonadi::EntityTreeModel::qt_metacall (this=0x86b8f28, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfd8f774) at ./entitytreemodel.moc:141
#28 0xb56449a2 in Akonadi::ContactsTreeModel::qt_metacall (this=0x86b8f28, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfd8f774) at ./contactstreemodel.moc:64
#29 0xb620d6ca in QMetaObject::metacall (object=0x86b8f28, cl=141250272, idx=44, argv=0xbfd8f774) at kernel/qmetaobject.cpp:237
#30 0xb6220455 in QMetaObject::activate (sender=0x8682088, m=0xb76fd088, local_signal_index=0, argv=0xbfd8f774) at kernel/qobject.cpp:3280
#31 0xb7637689 in Akonadi::Monitor::itemChanged (this=0x8682088, _t1=..., _t2=...) at ./monitor.moc:160
#32 0xb763a276 in Akonadi::MonitorPrivate::emitItemNotification (this=0x8690e98, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:367
#33 0xb763b487 in Akonadi::MonitorPrivate::emitNotification (this=0x8690e98, msg=...) at ../../akonadi/monitor_p.cpp:214
#34 0xb763ba37 in Akonadi::MonitorPrivate::dataAvailable (this=0x8690e98) at ../../akonadi/monitor_p.cpp:226
#35 0xb76376f3 in Akonadi::Monitor::qt_metacall (this=0x8682088, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfd8fa2c) at ./monitor.moc:148
#36 0xb75a048a in Akonadi::ChangeRecorder::qt_metacall (this=0x8682088, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfd8fa2c) at ./changerecorder.moc:72
#37 0xb620d6ca in QMetaObject::metacall (object=0x8682088, cl=141250272, idx=25, argv=0xbfd8fa2c) at kernel/qmetaobject.cpp:237
#38 0xb6220455 in QMetaObject::activate (sender=0x8690edc, m=0xb76fb8a8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#39 0xb75ddbd7 in Akonadi::EntityCacheBase::dataAvailable (this=0x8690edc) at ./entitycache_p.moc:88
#40 0xb75a0b88 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x8690edc, job=0xaaf9b88) at ../../akonadi/entitycache_p.h:189
#41 0xb75ddc64 in Akonadi::EntityCacheBase::qt_metacall (this=0x8690edc, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd8fc08) at ./entitycache_p.moc:77
#42 0xb620d6ca in QMetaObject::metacall (object=0x8690edc, cl=141250272, idx=5, argv=0xbfd8fc08) at kernel/qmetaobject.cpp:237
#43 0xb6220455 in QMetaObject::activate (sender=0xaaf9b88, m=0xb65c2b48, local_signal_index=3, argv=0xbfd8fc08) at kernel/qobject.cpp:3280
#44 0xb644f9e3 in KJob::result (this=0xaaf9b88, _t1=0xaaf9b88) at ./kjob.moc:194
#45 0xb644fd48 in KJob::emitResult (this=0xaaf9b88) at ../../kdecore/jobs/kjob.cpp:312
#46 0xb762c3c9 in Akonadi::JobPrivate::delayedEmitResult (this=0xaaf9b88, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9c78840) at ../../akonadi/job.cpp:143
#47 Akonadi::Job::qt_metacall (this=0xaaf9b88, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9c78840) at ./job.moc:91
#48 0xb7619a4a in Akonadi::ItemFetchJob::qt_metacall (this=0xaaf9b88, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9c78840) at ./itemfetchjob.moc:73
#49 0xb620d6ca in QMetaObject::metacall (object=0xaaf9b88, cl=141250272, idx=34, argv=0x9c78840) at kernel/qmetaobject.cpp:237
#50 0xb6218bc6 in QMetaCallEvent::placeMetaCall (this=0xab15330, object=0xaaf9b88) at kernel/qobject.cpp:534
#51 0xb621a462 in QObject::event (this=0xaaf9b88, e=0x86b4ee0) at kernel/qobject.cpp:1219
#52 0xb67070cc in QApplicationPrivate::notify_helper (this=0x851b1a8, receiver=0xaaf9b88, e=0xab15330) at kernel/qapplication.cpp:4389
#53 0xb670d11e in QApplication::notify (this=0xbfd90538, receiver=0xaaf9b88, e=0xab15330) at kernel/qapplication.cpp:3791
#54 0xb734e82a in KApplication::notify (this=0xbfd90538, receiver=0xaaf9b88, event=0xab15330) at ../../kdeui/kernel/kapplication.cpp:310
#55 0xb620796b in QCoreApplication::notifyInternal (this=0xbfd90538, receiver=0xaaf9b88, event=0xab15330) at kernel/qcoreapplication.cpp:732
#56 0xb620abcb in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x84ecaf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x84ecaf0) at kernel/qcoreapplication.cpp:1373
#58 0xb620ad8d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#59 0xb623669f in QCoreApplication::sendPostedEvents (s=0x851d520) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#60 postEventSourceDispatch (s=0x851d520) at kernel/qeventdispatcher_glib.cpp:276
#61 0xb52465e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#62 0xb524a2d8 in ?? () from /lib/libglib-2.0.so.0
#63 0xb524a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#64 0xb6236195 in QEventDispatcherGlib::processEvents (this=0x85089d0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#65 0xb67c83b5 in QGuiEventDispatcherGlib::processEvents (this=0x85089d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb6206419 in QEventLoop::processEvents (this=0xbfd904b4, flags=) at kernel/qeventloop.cpp:149
#67 0xb620689a in QEventLoop::exec (this=0xbfd904b4, flags=...) at kernel/qeventloop.cpp:201
#68 0xb620ae4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#69 0xb6705ef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#70 0x0804c64d in main (argc=1, argv=0xbfd90654) at ../../kaddressbook/main.cpp:58

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

Possible duplicates by query: bug 241826, bug 222602.

Reported using DrKonqi
Comment 1 Jan-Willem van de Meent 2010-08-16 10:42:36 UTC
I have this exact bug as well. It appeared when upgrading from KDE SC 4.5 RC2 to 4.5.0. Editing any information in any contact results in a crash the moment OK is pressed in the dialogue.  I use a regular .vcf for storing my contacts. Changes to the contacts are retained despite the crash.

I unfortunately have no time to compile trunk right now, but will report back if I have a chance in the future. It would be really nice if this could be somehow fixed for 4.5.1. Restarting kaddressbook *every* time you modify a contact is obviously a bit of a pain.
Comment 2 Alvise 2010-09-17 16:26:45 UTC
Created attachment 51760 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3

Here is another BT from DrKonqi, after a crash in the same exact situation

-- Backtrace (Reduced):
#7  0xb67eda42 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xc38dc80, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1149
#8  0xb67eedd1 in QSortFilterProxyModel::qt_metacall (this=0xc38dc70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf97ec54) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#9  0xb7708f02 in Akonadi::ContactsFilterModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
[...]
[...]
#12 0xb6cdf71d in QAbstractItemModel::dataChanged (this=0xa3acf38, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#13 0xb67ed318 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xc2fd1f8, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1154
Comment 3 Tobias Koenig 2010-10-24 13:26:18 UTC
Hej,

this seems to be a bug caused by the usage of kdelibs 4.5 with kaddressbook from 4.4.5. Can some brave user update to KDE-PIM 4.5 beta and check whether this fixes the issue for him?

Ciao,
Tobias
Comment 4 jamundso 2010-12-29 06:46:22 UTC
Created attachment 55336 [details]
New crash information added by DrKonqi

kontact (4.4.8) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.6.3

- What I was doing when the application crashed:

Edited a contact. Edited a contact.Edited a contact.

-- Backtrace (Reduced):
#7  QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x9f13878, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1149
#8  0x07bbfa74 in QSortFilterProxyModel::qt_metacall (this=0x9f3e9a8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfdc21f4) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#9  0x03cbd4ab in Akonadi::ContactsFilterModel::qt_metacall (this=0x9f3e9a8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfdc21f4)
    at /usr/src/debug/kdepim-4.4.8/i686-redhat-linux-gnu/libkdepim/contactsfilterproxymodel.moc:68
[...]
[...]
#12 0x06f86c2a in QAbstractItemModel::dataChanged (this=0x9f2a260, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#13 0x07bbe96c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xa218a88, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1154
Comment 5 jamundso 2010-12-29 07:27:00 UTC
Created attachment 55340 [details]
akonadi error

I always see this error, but strangely now, I see no crash.
Comment 6 Christophe Marin 2011-01-22 15:35:41 UTC
*** Bug 263976 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Crouthamel 2018-09-22 02:02:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-27 02:24:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!