Bug 222602

Summary: crash when editing a new address
Product: [Applications] kaddressbook Reporter: Martin Koller <kollix>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: steveire, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2010-01-13 22:32:11 UTC
Application: kaddressbook (4.4 rc1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) "release 209"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.8-0.1-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
I added a new address from kmail (right-click on mail address/add to addressbook).
I then switched to the already running standalone kaddressbook and edited the new address, entered phone number and a new address and clicked OK -> crash

 -- Backtrace:
Application: KAddressBook (kaddressbook), signal: Segmentation fault
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x8263108, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1122
#7  0xb6f20e31 in QSortFilterProxyModel::qt_metacall (this=0x8228500, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf92d584) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#8  0xb57da7f2 in Akonadi::ContactsFilterModel::qt_metacall (this=0x8228500, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf92d584)
    at /usr/src/debug/kdepim-4.3.90/build/libkdepim/contactsfilterproxymodel.moc:68
#9  0xb63f9d4d in QMetaObject::metacall (object=0x8228500, cl=136521344, idx=30, argv=0xbf92d584) at kernel/qmetaobject.cpp:237
#10 0xb6408b76 in QMetaObject::activate (sender=0x820b400, m=0xb650b198, local_signal_index=0, argv=0xbf92d584) at kernel/qobject.cpp:3294
#11 0xb645b59d in QAbstractItemModel::dataChanged (this=0x820b400, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#12 0xb6f1fc1d in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x821fcc8, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1127
#13 0xb6f20e31 in QSortFilterProxyModel::qt_metacall (this=0x820b400, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf92d7b4) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:128
#14 0xb76ff3d3 in Akonadi::EntityMimeTypeFilterModel::qt_metacall (this=0x820b400, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf92d7b4)
    at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/entitymimetypefiltermodel.moc:64
#15 0xb63f9d4d in QMetaObject::metacall (object=0x820b400, cl=136521344, idx=30, argv=0xbf92d7b4) at kernel/qmetaobject.cpp:237
#16 0xb6408b76 in QMetaObject::activate (sender=0x8196d98, m=0xb650b198, local_signal_index=0, argv=0xbf92d7b4) at kernel/qobject.cpp:3294
#17 0xb645b59d in QAbstractItemModel::dataChanged (this=0x8196d98, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#18 0xb74189c3 in ?? () from /usr/lib/libkdeui.so.5
#19 0xb741b4a5 in KSelectionProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#20 0xb63f9d4d in QMetaObject::metacall (object=0x8196d98, cl=136521344, idx=37, argv=0xbf92d9f4) at kernel/qmetaobject.cpp:237
#21 0xb6408b76 in QMetaObject::activate (sender=0x827a0b0, m=0xb650b198, local_signal_index=0, argv=0xbf92d9f4) at kernel/qobject.cpp:3294
#22 0xb645b59d in QAbstractItemModel::dataChanged (this=0x827a0b0, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#23 0xb7716672 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x0, top=..., bottom=...) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/entitytreemodel_p.cpp:1110
#24 0xb77b9bef in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x8208f58, item=...) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/entitytreemodel_p.cpp:701
#25 0xb77baf26 in Akonadi::EntityTreeModel::qt_metacall (this=0x827a0b0, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbf92dc94)
    at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/entitytreemodel.moc:132
#26 0xb57dc4d3 in Akonadi::ContactsTreeModel::qt_metacall (this=0x827a0b0, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbf92dc94)
    at /usr/src/debug/kdepim-4.3.90/build/libkdepim/contactstreemodel.moc:64
#27 0xb63f9d4d in QMetaObject::metacall (object=0x827a0b0, cl=136521344, idx=41, argv=0xbf92dc94) at kernel/qmetaobject.cpp:237
#28 0xb6408b76 in QMetaObject::activate (sender=0x8285220, m=0xb784d904, local_signal_index=0, argv=0xbf92dc94) at kernel/qobject.cpp:3294
#29 0xb76fcc2d in Akonadi::Monitor::itemChanged (this=0x8285220, _t1=..., _t2=...) at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/monitor.moc:160
#30 0xb773174c in Akonadi::MonitorPrivate::emitItemNotification (this=0x8289ad8, msg=..., item=..., collection=..., collectionDest=...) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/monitor_p.cpp:327
#31 0xb7731bbc in Akonadi::MonitorPrivate::emitNotification (this=0x8289ad8, msg=...) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/monitor_p.cpp:196
#32 0xb77725bc in Akonadi::MonitorPrivate::dataAvailable (this=0x8289ad8) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/monitor_p.cpp:205
#33 0xb77a967c in Akonadi::Monitor::qt_metacall (this=0x8285220, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbf92deec) at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/monitor.moc:148
#34 0xb77a99ae in Akonadi::ChangeRecorder::qt_metacall (this=0x8285220, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbf92deec)
    at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/changerecorder.moc:72
#35 0xb63f9d4d in QMetaObject::metacall (object=0x8285220, cl=136521344, idx=25, argv=0xbf92deec) at kernel/qmetaobject.cpp:237
#36 0xb6408b76 in QMetaObject::activate (sender=0x8289b1c, m=0xb784d764, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#37 0xb76fd335 in Akonadi::EntityCacheBase::dataAvailable (this=0x8289b1c) at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/entitycache_p.moc:88
#38 0xb77f64eb in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x8289b1c, job=0x87beb28)
    at /usr/src/debug/kdepimlibs-4.3.90/akonadi/entitycache_p.h:191
#39 0xb76fde6a in Akonadi::EntityCacheBase::qt_metacall (this=0x8289b1c, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf92e0c8) at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/entitycache_p.moc:77
#40 0xb63f9d4d in QMetaObject::metacall (object=0x8289b1c, cl=136521344, idx=5, argv=0xbf92e0c8) at kernel/qmetaobject.cpp:237
#41 0xb6408b76 in QMetaObject::activate (sender=0x87beb28, m=0xb678f850, local_signal_index=3, argv=0xbf92e0c8) at kernel/qobject.cpp:3294
#42 0xb6594435 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#43 0xb659df28 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#44 0xb7709aaa in Akonadi::JobPrivate::handleResponse (this=0x8743880, tag=..., data=...) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/job.cpp:67
#45 0xb77a5653 in Akonadi::SessionPrivate::dataReceived (this=0x8289a10) at /usr/src/debug/kdepimlibs-4.3.90/akonadi/session.cpp:121
#46 0xb77a5daf in Akonadi::Session::qt_metacall (this=0x81e73f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf92e2ec) at /usr/src/debug/kdepimlibs-4.3.90/build/akonadi/session.moc:87
#47 0xb63f9d4d in QMetaObject::metacall (object=0x81e73f0, cl=136521344, idx=7, argv=0xbf92e2ec) at kernel/qmetaobject.cpp:237
#48 0xb6408b76 in QMetaObject::activate (sender=0x829f398, m=0xb650ac48, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#49 0xb6459ce5 in QIODevice::readyRead (this=0x829f398) at .moc/release-shared/moc_qiodevice.cpp:91
#50 0xb6459dd8 in QIODevice::qt_metacall (this=0x829f398, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf92e43c) at .moc/release-shared/moc_qiodevice.cpp:77
#51 0xb5a4b482 in QLocalSocket::qt_metacall (this=0x829f398, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf92e43c) at .moc/release-shared/moc_qlocalsocket.cpp:81
#52 0xb63f9d4d in QMetaObject::metacall (object=0x829f398, cl=136521344, idx=4, argv=0xbf92e43c) at kernel/qmetaobject.cpp:237
#53 0xb6408b76 in QMetaObject::activate (sender=0x8283300, m=0xb650ac48, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#54 0xb6459ce5 in QIODevice::readyRead (this=0x8283300) at .moc/release-shared/moc_qiodevice.cpp:91
#55 0xb5a42c63 in QAbstractSocketPrivate::canReadNotification (this=0x8219188) at socket/qabstractsocket.cpp:626
#56 0xb5a2fc39 in QAbstractSocketEngine::readNotification (this=0x8299648) at socket/qabstractsocketengine.cpp:154
#57 0xb5a30ffb in QReadNotifier::event (this=0x8228500, e=0xbf92e884) at socket/qnativesocketengine.cpp:1053
#58 0xb68ce1dc in QApplicationPrivate::notify_helper (this=0x8082dd8, receiver=0x827d640, e=0xbf92e884) at kernel/qapplication.cpp:4242
#59 0xb68d5000 in QApplication::notify (this=0xbf92eb64, receiver=0x827d640, e=0xbf92e884) at kernel/qapplication.cpp:3661
#60 0xb742ee91 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#61 0xb63f49de in QCoreApplication::notifyInternal (this=0xbf92eb64, receiver=0x827d640, event=0xbf92e884) at kernel/qcoreapplication.cpp:704
#62 0xb6421a58 in QCoreApplication::sendEvent (source=0x8091740) at kernel/qcoreapplication.h:215
#63 socketNotifierSourceDispatch (source=0x8091740) at kernel/qeventdispatcher_glib.cpp:110
#64 0xb546f4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0xb5472d98 in ?? () from /usr/lib/libglib-2.0.so.0
#66 0xb5472ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#67 0xb6421671 in QEventDispatcherGlib::processEvents (this=0x8075548, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#68 0xb698c8fa in QGuiEventDispatcherGlib::processEvents (this=0x8075548, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#69 0xb63f304d in QEventLoop::processEvents (this=0xbf92eae4, flags=) at kernel/qeventloop.cpp:149
#70 0xb63f3499 in QEventLoop::exec (this=0xbf92eae4, flags=...) at kernel/qeventloop.cpp:201
#71 0xb63f7610 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#72 0xb68ce284 in QApplication::exec () at kernel/qapplication.cpp:3570
#73 0x0804c6fd in _start ()

Reported using DrKonqi
Comment 1 Stephen Kelly 2010-01-17 07:50:10 UTC
I can't reproduce on trunk. I believe this was fixed by some commits that I implemented and backported recently. 

Can someone try the latest on the 4.4 branch? I can try in a few days, but it would be good if someone else would try sooner.
Comment 2 Stephen Kelly 2010-02-01 11:47:24 UTC
I couldn't reproduce this on the latest on the 4.4 branch.

It should be fixed in RC2 and later. 

Martin can you test and reopen if you can still reproduce?