Bug 324871 - Contact list crashes on opening
Summary: Contact list crashes on opening
Status: RESOLVED DUPLICATE of bug 324899
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: 0.6.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-13 07:12 UTC by Siddhartha
Modified: 2013-09-14 08:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siddhartha 2013-09-13 07:12:06 UTC
Application: ktp-contactlist (0.6.3)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.9.9-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
Ktp installed from git master, with kpeople mode enabled
Disabling Nepomuk desktop from settings stops the crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Telepathy Contact List (ktp-contactlist), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6be7469780 (LWP 16998))]

Thread 4 (Thread 0x7f6bd0f91700 (LWP 17003)):
#0  0x00007f6be0c0d03f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f6be4adf266 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f6bdf7e6533 in Soprano::Util::AsyncQuery::Private::run() () from /usr/lib/libsoprano.so.4
#3  0x00007f6be4aded8f in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f6be0c090a2 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f6be30a4a2d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f6bcab04700 (LWP 17004)):
#0  0x00007f6be309bf5d in poll () from /usr/lib/libc.so.6
#1  0x00007f6bdf03e084 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6bdf03e18c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6bcab0ba1d in ?? () from /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007f6bdf062085 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f6be0c090a2 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f6be30a4a2d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f6bca303700 (LWP 17005)):
#0  0x00007f6be0c0b2b7 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#1  0x00007f6bdf07d121 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6bdf03d5f7 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6bdf03dfa3 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f6bdf03e4ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0x00007f6bcb921346 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x00007f6bdf062085 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0x00007f6be0c090a2 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f6be30a4a2d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f6be7469780 (LWP 16998)):
[KCrash Handler]
#5  0x00007f6be2ff53d9 in raise () from /usr/lib/libc.so.6
#6  0x00007f6be2ff67d8 in abort () from /usr/lib/libc.so.6
#7  0x00007f6be4ad490f in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f6be4ad4a99 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f6be4ad52a4 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007f6be6e14c08 in KTp::AbstractGroupingProxyModel::addProxyNode (this=this@entry=0x16acf50, sourceIndex=..., parent=parent@entry=0x1785090) at /home/lfiles/dev/build/telepathy-kde-common-internals-git/src/ktp-common-internals/KTp/Models/abstract-grouping-proxy-model.cpp:213
#11 0x00007f6be6e159b4 in KTp::AbstractGroupingProxyModel::onDataChanged (this=0x16acf50, sourceTopLeft=..., sourceBottomRight=...) at /home/lfiles/dev/build/telepathy-kde-common-internals-git/src/ktp-common-internals/KTp/Models/abstract-grouping-proxy-model.cpp:317
#12 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007f6be4c3c7f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4
#14 0x00007f6be3d43a75 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f6be4c3c7f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4
#17 0x00007f6be3d43a75 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007f6be4c3c7f7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4
#20 0x00007f6be5176283 in KPeople::PersonsModel::contactChanged (this=this@entry=0x1198280, uri=...) at /home/lfiles/dev/build/libkpeople-git/src/libkpeople/src/personsmodel.cpp:314
#21 0x00007f6be5178ea5 in KPeople::PersonsModel::qt_static_metacall (_o=0x1198280, _c=<optimized out>, _id=<optimized out>, _a=0x7fff3f790aa0) at /home/lfiles/dev/build/libkpeople-git/src/build/src/moc_personsmodel.cpp:78
#22 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#23 0x00007f6be5170082 in KPeople::DataSourceWatcher::contactChanged (this=this@entry=0x134ee00, _t1=...) at /home/lfiles/dev/build/libkpeople-git/src/build/src/moc_datasourcewatcher.cpp:103
#24 0x00007f6be51745aa in KPeople::DataSourceWatcher::onContactChanged (this=0x134ee00, contactId=...) at /home/lfiles/dev/build/libkpeople-git/src/libkpeople/src/datasourcewatcher.cpp:63
#25 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0x00007f6be5170142 in KPeople::BasePersonsDataSource::contactChanged (this=<optimized out>, _t1=...) at /home/lfiles/dev/build/libkpeople-git/src/build/src/moc_basepersonsdatasource.cpp:98
#27 0x00007f6be7085a59 in IMPersonsDataSource::Private::onAllKnownContactsChanged (this=0x13eaef0, contactsAdded=..., contactsRemoved=...) at /home/lfiles/dev/build/telepathy-kde-common-internals-git/src/ktp-common-internals/KTp/im-persons-data-source.cpp:65
#28 0x00007f6be7085dde in IMPersonsDataSource::onAccountManagerReady (this=0x13eda10, op=0x1433e00) at /home/lfiles/dev/build/telepathy-kde-common-internals-git/src/ktp-common-internals/KTp/im-persons-data-source.cpp:184
#29 0x00007f6be4bf2b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#30 0x00007f6be586401f in Tp::PendingOperation::finished(Tp::PendingOperation*) () from /usr/lib/libtelepathy-qt4.so.2
#31 0x00007f6be5864101 in ?? () from /usr/lib/libtelepathy-qt4.so.2
#32 0x00007f6be4bf6efe in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00007f6be383712c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007f6be383d6f0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007f6be658472a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007f6be4bdeebd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007f6be4be1f0f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#38 0x00007f6be4c0c263 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007f6bdf03dd96 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007f6bdf03e0e8 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f6bdf03e18c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007f6be4c0bb25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007f6be38d4266 in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007f6be4bddb1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007f6be4bdde15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007f6be4be2f4b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x000000000041ed3d in main (argc=1, argv=0x7fff3f791708) at /home/lfiles/dev/build/telepathy-kde-contact-list-git/src/ktp-contact-list/main.cpp:63

Reported using DrKonqi
Comment 1 David Edmundson 2013-09-13 13:03:03 UTC
Could you please confirm your libkpeople contains the commit

81fd2fb7070425c5aef0a001a5ba6e989ca8b1c4
    Guard against emitting dataCahnged on an invalid index

Thanks
Comment 2 Siddhartha 2013-09-13 13:22:27 UTC
Yes it does.
I had done an install from latest git before reporting this.
Compiled and reinstalled everything again now, crash still occurs in kpeople mode
Comment 3 Martin Klapetek 2013-09-14 08:46:15 UTC

*** This bug has been marked as a duplicate of bug 324899 ***