Bug 256057

Summary: kontact is crashing while editing a contact
Product: [Applications] kontact Reporter: Jan Malte Gerth <games.jan>
Component: contactsAssignee: Tobias Koenig <tokoe>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde.uat
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jan Malte Gerth 2010-11-04 16:40:50 UTC
Application: kontact (4.4.7)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I opened an existing contact from the adress book component to add the name. After doing this I said "ok" - an kontact crashed.
I'm using the default akonadi directory for contacts (.local/share/contacts/)

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7851730 (LWP 9434))]

Thread 2 (Thread 0xb1afbb70 (LWP 9527)):
#0  0x06e8ee36 in clock_gettime (clock_id=115945460, tp=0xb1afaf70) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0195850b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x01a2f6e5 in QTimerInfoList::updateCurrentTime (this=0xafa00fcc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x01a2f72a in QTimerInfoList::timerWait (this=0xafa00fcc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01a2d7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1afb09c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01a2d83d in timerSourcePrepare (source=0x0, timeout=0x6e92ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02144e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02145279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02145848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x01a2d59f in QEventDispatcherGlib::processEvents (this=0xaa7ce88, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x019fd609 in QEventLoop::processEvents (this=0xb1afb270, flags=) at kernel/qeventloop.cpp:149
#12 0x019fda8a in QEventLoop::exec (this=0xb1afb270, flags=...) at kernel/qeventloop.cpp:201
#13 0x018f9b7e in QThread::exec (this=0xaaa2f78) at thread/qthread.cpp:490
#14 0x019dc35b in QInotifyFileSystemWatcherEngine::run (this=0xaaa2f78) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x018fcdf9 in QThreadPrivate::start (arg=0xaaa2f78) at thread/qthread_unix.cpp:266
#16 0x04f22cc9 in start_thread (arg=0xb1afbb70) at pthread_create.c:304
#17 0x01c036ae in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7851730 (LWP 9434)):
[KCrash Handler]
#7  QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xb6f1a30, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1186
#8  0x014f5554 in QSortFilterProxyModel::qt_metacall (this=0xb1b6e70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb01344) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#9  0x0023c95a in Akonadi::ContactsFilterModel::qt_metacall (this=0xb1b6e70, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfb01344) at ./contactsfilterproxymodel.moc:68
#10 0x01a048ca in QMetaObject::metacall (object=0xb1b6e70, cl=211625160, idx=30, argv=0xbfb01344) at kernel/qmetaobject.cpp:237
#11 0x01a176ad in QMetaObject::activate (sender=0xb406858, m=0x1b31198, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#12 0x01a68559 in QAbstractItemModel::dataChanged (this=0xb406858, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#13 0x014f36b7 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xb14efc0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1191
#14 0x014f5554 in QSortFilterProxyModel::qt_metacall (this=0xb406858, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb015a4) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#15 0x00447ab2 in Akonadi::EntityMimeTypeFilterModel::qt_metacall (this=0xb406858, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfb015a4) at ./entitymimetypefiltermodel.moc:64
#16 0x01a048ca in QMetaObject::metacall (object=0xb406858, cl=211625160, idx=30, argv=0xbfb015a4) at kernel/qmetaobject.cpp:237
#17 0x01a176ad in QMetaObject::activate (sender=0xaac0b98, m=0x1b31198, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#18 0x01a68559 in QAbstractItemModel::dataChanged (this=0xaac0b98, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#19 0x00725e5b in KSelectionProxyModelPrivate::emitContinuousRanges (this=0xc80eac0, sourceFirst=..., sourceLast=..., proxyFirst=..., proxyLast=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:610
#20 0x00728aa3 in KSelectionProxyModelPrivate::sourceDataChanged (this=0x0, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kselectionproxymodel.cpp:632
#21 0x00732c37 in KSelectionProxyModel::qt_metacall (this=0xaac0b98, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfb01864) at ./moc_kselectionproxymodel.cpp:133
#22 0x01a048ca in QMetaObject::metacall (object=0xaac0b98, cl=211625160, idx=39, argv=0xbfb01864) at kernel/qmetaobject.cpp:237
#23 0x01a176ad in QMetaObject::activate (sender=0xc723458, m=0x1b31198, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#24 0x01a68559 in QAbstractItemModel::dataChanged (this=0xc723458, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#25 0x004520f0 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0xc738bd0, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1279
#26 0x004585f2 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0xc738bd0, item=...) at ../../akonadi/entitytreemodel_p.cpp:834
#27 0x0044a61d in Akonadi::EntityTreeModel::qt_metacall (this=0xc723458, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfb01b24) at ./entitytreemodel.moc:141
#28 0x0023e082 in Akonadi::ContactsTreeModel::qt_metacall (this=0xc723458, _c=QMetaObject::InvokeMetaMethod, _id=44, _a=0xbfb01b24) at ./contactstreemodel.moc:64
#29 0x01a048ca in QMetaObject::metacall (object=0xc723458, cl=211625160, idx=44, argv=0xbfb01b24) at kernel/qmetaobject.cpp:237
#30 0x01a176ad in QMetaObject::activate (sender=0xb53f278, m=0x567088, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#31 0x0049e739 in Akonadi::Monitor::itemChanged (this=0xb53f278, _t1=..., _t2=...) at ./monitor.moc:160
#32 0x004a1326 in Akonadi::MonitorPrivate::emitItemNotification (this=0xb2a86e0, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:392
#33 0x004a2577 in Akonadi::MonitorPrivate::emitNotification (this=0xb2a86e0, msg=...) at ../../akonadi/monitor_p.cpp:239
#34 0x004a3317 in Akonadi::MonitorPrivate::dataAvailable (this=0xb2a86e0) at ../../akonadi/monitor_p.cpp:251
#35 0x0049e7a3 in Akonadi::Monitor::qt_metacall (this=0xb53f278, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfb01ddc) at ./monitor.moc:148
#36 0x0040660a in Akonadi::ChangeRecorder::qt_metacall (this=0xb53f278, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfb01ddc) at ./changerecorder.moc:72
#37 0x01a048ca in QMetaObject::metacall (object=0xb53f278, cl=211625160, idx=25, argv=0xbfb01ddc) at kernel/qmetaobject.cpp:237
#38 0x01a176ad in QMetaObject::activate (sender=0xb2a8724, m=0x5658a8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#39 0x00444777 in Akonadi::EntityCacheBase::dataAvailable (this=0xb2a8724) at ./entitycache_p.moc:88
#40 0x00406d08 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult(KJob*) () from /usr/lib/libakonadi-kde.so.4
#41 0x00444804 in Akonadi::EntityCacheBase::qt_metacall (this=0xb2a8724, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb01fb8) at ./entitycache_p.moc:77
#42 0x01a048ca in QMetaObject::metacall (object=0xb2a8724, cl=211625160, idx=5, argv=0xbfb01fb8) at kernel/qmetaobject.cpp:237
#43 0x01a176ad in QMetaObject::activate (sender=0xb2e6718, m=0xba2b48, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3280
#44 0x00a2f803 in KJob::result (this=0xb2e6718, _t1=0xb2e6718) at ./kjob.moc:194
#45 0x00a2fb68 in KJob::emitResult (this=0xb2e6718) at ../../kdecore/jobs/kjob.cpp:312
#46 0x004931e9 in delayedEmitResult (this=0xb2e6718, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xabe9658) at ../../akonadi/job.cpp:143
#47 Akonadi::Job::qt_metacall (this=0xb2e6718, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xabe9658) at ./job.moc:91
#48 0x004806ba in Akonadi::ItemFetchJob::qt_metacall (this=0xb2e6718, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xabe9658) at ./itemfetchjob.moc:73
#49 0x01a048ca in QMetaObject::metacall (object=0xb2e6718, cl=211625160, idx=34, argv=0xabe9658) at kernel/qmetaobject.cpp:237
#50 0x01a0fdf6 in QMetaCallEvent::placeMetaCall (this=0xb09b748, object=0xb2e6718) at kernel/qobject.cpp:534
#51 0x01a116a2 in QObject::event (this=0xb2e6718, e=0xc9d24c8) at kernel/qobject.cpp:1219
#52 0x00e88fdc in QApplicationPrivate::notify_helper (this=0x9b0da68, receiver=0xb2e6718, e=0xb09b748) at kernel/qapplication.cpp:4396
#53 0x00e8f04e in QApplication::notify (this=0xbfb02904, receiver=0xb2e6718, e=0xb09b748) at kernel/qapplication.cpp:3798
#54 0x00744cfa in KApplication::notify (this=0xbfb02904, receiver=0xb2e6718, event=0xb09b748) at ../../kdeui/kernel/kapplication.cpp:310
#55 0x019feb3b in QCoreApplication::notifyInternal (this=0xbfb02904, receiver=0xb2e6718, event=0xb09b748) at kernel/qcoreapplication.cpp:732
#56 0x01a01d8b in sendEvent (receiver=0x0, event_type=0, data=0x9aeaeb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9aeaeb8) at kernel/qcoreapplication.cpp:1373
#58 0x01a01f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#59 0x01a2da74 in sendPostedEvents (s=0x9b18d80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#60 postEventSourceDispatch (s=0x9b18d80) at kernel/qeventdispatcher_glib.cpp:277
#61 0x02141855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#62 0x02145668 in ?? () from /lib/libglib-2.0.so.0
#63 0x02145848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#64 0x01a2d565 in QEventDispatcherGlib::processEvents (this=0x9aeab78, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#65 0x00f4abe5 in QGuiEventDispatcherGlib::processEvents (this=0x9aeab78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x019fd609 in QEventLoop::processEvents (this=0xbfb02864, flags=) at kernel/qeventloop.cpp:149
#67 0x019fda8a in QEventLoop::exec (this=0xbfb02864, flags=...) at kernel/qeventloop.cpp:201
#68 0x01a0200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#69 0x00e87e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#70 0x0804b132 in main (argc=1, argv=0xbfb02b24) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Tomas 2010-12-05 14:32:22 UTC
Created attachment 54161 [details]
New crash information added by DrKonqi

kontact (4.4.7) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.0

- What I was doing when the application crashed:
Trying to edit contact (stored as vcard on selected folder) using Kontact.
NOTE: reason why i was doing it is that all contacts are displayed as their actual names on hdd (e.g. "5u9UyKcgg") with no preview of details.

-- Backtrace (Reduced):
#15 0x004ef183 in KJob::result (this=0x9d04588, _t1=0x9d04588) at ./kjob.moc:194
#16 0x004ef4e8 in KJob::emitResult (this=0x9d04588) at ../../kdecore/jobs/kjob.cpp:312
#17 0x0021dec9 in delayedEmitResult (this=0x9d04588, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9e862f0) at ../../akonadi/job.cpp:144
#18 Akonadi::Job::qt_metacall (this=0x9d04588, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9e862f0) at ./job.moc:91
#19 0x0019b80a in Akonadi::CollectionFetchJob::qt_metacall (this=0x9d04588, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9e862f0) at ./collectionfetchjob.moc:73
Comment 2 Tobias Koenig 2010-12-12 11:41:32 UTC
Hej,

please use use KDE-PIM 4.6 together with KDE 4.6. Mixing the versions is not supported.

Ciao,
Tobias