Bug 250400 - KAddressBook crashed when deleting two addressbooks
Summary: KAddressBook crashed when deleting two addressbooks
Status: RESOLVED WORKSFORME
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-06 23:27 UTC by Alex Merry
Modified: 2011-01-06 20:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2010-09-06 23:27:09 UTC
Application: kaddressbook (4.6 pre)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I deleted two address books (actually two copies of the same address book - they had the same name and pointed to the same folder), one immediately after the other.

When I deleted a single address book (after restarting KAddressBook), it didn't crash.

-- Backtrace:
Application: KAddressBook (kaddressbook), signal: Aborted
[KCrash Handler]
#6  0x00007f8e0e953565 in raise () from /lib/libc.so.6
#7  0x00007f8e0e9549e6 in abort () from /lib/libc.so.6
#8  0x00007f8e0f48e3af in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2266
#9  0x00007f8e0f48e53d in qt_message (msgType=QtFatalMsg, msg=0x7f8e0f5d8f68 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff7480b210) at global/qglobal.cpp:2312
#10 0x00007f8e0f48e6d5 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2495
#11 0x00007f8e15295c82 in KDescendantsProxyModel::mapFromSource (this=0x19d9f60, sourceIndex=...) at /home/kde-devel/src/KDE/kdepim/libkdepim/kdescendantsproxymodel.cpp:461
#12 0x00007f8e15296fd5 in KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x1c4dab0, parent=..., start=0, end=0)
    at /home/kde-devel/src/KDE/kdepim/libkdepim/kdescendantsproxymodel.cpp:673
#13 0x00007f8e152983c0 in KDescendantsProxyModel::qt_metacall (this=0x19d9f60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff7480b6a0)
    at /home/kde-devel/build/KDE/kdepim/libkdepim/moc_kdescendantsproxymodel_p.cpp:97
#14 0x00007f8e0f590def in QMetaObject::activate (sender=0x1c4ca70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7480b6a0) at kernel/qobject.cpp:3287
#15 0x00007f8e0f5d5ed4 in QAbstractItemModel::rowsAboutToBeRemoved (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#16 0x00007f8e0f574a73 in QAbstractItemModel::beginRemoveRows (this=<value optimized out>, parent=<value optimized out>, first=0, last=0) at kernel/qabstractitemmodel.cpp:2450
#17 0x00007f8e14504282 in Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x1c4cca0, item=...) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:878
#18 0x00007f8e144fcc52 in Akonadi::EntityTreeModel::qt_metacall (this=0x1c4ca70, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff7480b990)
    at /home/kde-devel/build/KDE/kdepimlibs/akonadi/entitytreemodel.moc:148
#19 0x00007f8e123d9a33 in Akonadi::ContactsTreeModel::qt_metacall (this=0x1c4ca70, _c=QMetaObject::InvokeMetaMethod, _id=45, _a=0x7fff7480b990)
    at /home/kde-devel/build/KDE/kdepimlibs/akonadi/contact/contactstreemodel.moc:64
#20 0x00007f8e0f590def in QMetaObject::activate (sender=0x1c4b530, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7480b990) at kernel/qobject.cpp:3287
#21 0x00007f8e14548097 in Akonadi::Monitor::itemRemoved (this=0x1c4b530, _t1=...) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/monitor.moc:190
#22 0x00007f8e1454b5cb in Akonadi::MonitorPrivate::emitItemNotification (this=0x1c4b560, msg=..., item=..., collection=..., collectionDest=...)
    at /home/kde-devel/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:421
#23 0x00007f8e1454a301 in Akonadi::MonitorPrivate::emitNotification (this=0x1c4b560, msg=...) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:256
#24 0x00007f8e14549d14 in Akonadi::MonitorPrivate::dispatchNotifications (this=0x1c4b560) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:201
#25 0x00007f8e1454ad81 in Akonadi::MonitorPrivate::slotNotify (this=0x1c4b560, msgs=...) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:359
#26 0x00007f8e144c13c8 in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x1c4b560, msgs=...) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/changerecorder_p.h:51
#27 0x00007f8e14547ec4 in Akonadi::Monitor::qt_metacall (this=0x1c4b530, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff7480be90) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/monitor.moc:155
#28 0x00007f8e144c0b0f in Akonadi::ChangeRecorder::qt_metacall (this=0x1c4b530, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fff7480be90)
    at /home/kde-devel/build/KDE/kdepimlibs/akonadi/changerecorder.moc:72
#29 0x00007f8e0f590def in QMetaObject::activate (sender=0x1c4aba0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7480be90) at kernel/qobject.cpp:3287
#30 0x00007f8e145bf703 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=0x1c4aba0, _t1=...) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/notificationsourceinterface.moc:91
#31 0x00007f8e145bf650 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x1c4aba0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff7480bf70)
    at /home/kde-devel/build/KDE/kdepimlibs/akonadi/notificationsourceinterface.moc:77
#32 0x00007f8e0f8b2f9b in QDBusConnectionPrivate::deliverCall (this=0x18dec10, object=0x1c4aba0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:904
#33 0x00007f8e0f8c022f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:101
#34 0x00007f8e0f58e689 in QObject::event (this=0x1c4aba0, e=0x1f8d0d0) at kernel/qobject.cpp:1240
#35 0x00007f8e10755ae4 in QApplicationPrivate::notify_helper (this=0x18f1b50, receiver=0x1c4aba0, e=0x1f8d0d0) at kernel/qapplication.cpp:4302
#36 0x00007f8e10759bca in QApplication::notify (this=<value optimized out>, receiver=0x1c4aba0, e=0x1f8d0d0) at kernel/qapplication.cpp:4185
#37 0x00007f8e13f42c8d in KApplication::notify (this=0x7fff7480cbe0, receiver=0x1c4aba0, event=0x1f8d0d0) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#38 0x00007f8e0f57cd8c in QCoreApplication::notifyInternal (this=0x7fff7480cbe0, receiver=0x1c4aba0, event=0x1f8d0d0) at kernel/qcoreapplication.cpp:726
#39 0x00007f8e0f5804ea in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x189dcb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x189dcb0) at kernel/qcoreapplication.cpp:1367
#41 0x00007f8e0f5a5373 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007f8e09a90b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0x00007f8e09a91310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0x00007f8e09a915ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0x00007f8e0f5a587f in QEventDispatcherGlib::processEvents (this=0x189d780, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#47 0x00007f8e107f560e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f8e0f57c172 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f8e0f57c3ac in QEventLoop::exec (this=0x7fff7480cb80, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007f8e0f5807bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#51 0x0000000000405438 in main (argc=1, argv=0x7fff7480cda8) at /home/kde-devel/src/KDE/kdepim/kaddressbook/main.cpp:51

Reported using DrKonqi
Comment 1 Tobias Koenig 2011-01-06 20:25:57 UTC
Hej Alex,

still reproducible with a current version? Stephen has fixed many bugs in KDescendantsProxyModel during the last months.

Ciao,
Tobias
Comment 2 Alex Merry 2011-01-06 20:51:19 UTC
I can't reproduce it, no.