Bug 325388

Summary: [KPeople] Contact list crashed when reconnectin
Product: [Unmaintained] telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 0.6.3   
Target Milestone: Future   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniele E. Domenichelli 2013-09-28 12:55:53 UTC
Application: ktp-contactlist (0.6.3)
KDE Platform Version: 4.10.5 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.10-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
Changed priority on xmpp account (I think any setting that will cause account reconnection will work). When I clicked ok, contact list crashed.

Can be reproduced every time

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Telepathy Contact List (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f40c66f5840 (LWP 11449))]

Thread 3 (Thread 0x7f40af126700 (LWP 11543)):
#0  __GI___pthread_mutex_lock (mutex=0x1098f20) at pthread_mutex_lock.c:54
#1  0x00007f40c0e1d291 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f40c0ddd707 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f40c0dde0b3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f40c0dde29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f40adc6da1d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f40c0e021d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f40bdaf5e0e in start_thread (arg=0x7f40af126700) at pthread_create.c:311
#8  0x00007f40c16a393d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f40adc66700 (LWP 11544)):
#0  0x00007f40c169819d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f40c0dde194 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f40c0dde5fa in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f40c08b1d26 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f40c0e021d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f40bdaf5e0e in start_thread (arg=0x7f40adc66700) at pthread_create.c:311
#6  0x00007f40c16a393d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f40c66f5840 (LWP 11449)):
[KCrash Handler]
#6  Tp::ContactManager::connection (this=0x0) at /opt/telepathy/telepathy-qt/TelepathyQt/contact-manager.cpp:232
#7  0x00007f40c6311e99 in KTp::GlobalContactManager::accountForContact (this=0x1286360, contact=...) at /opt/telepathy/ktp-common-internals/KTp/global-contact-manager.cpp:143
#8  0x00007f40c632bf0b in IMPersonsDataSource::Private::uniqueIdentifier (this=0xeea6a0, contact=...) at /opt/telepathy/ktp-common-internals/KTp/im-persons-data-source.cpp:83
#9  0x00007f40c632d43a in IMPersonsDataSource::onContactInvalidated (this=0xec3cf0) at /opt/telepathy/ktp-common-internals/KTp/im-persons-data-source.cpp:202
#10 0x00007f40c632d66e in IMPersonsDataSource::qt_static_metacall (_o=0xec3cf0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd528eb00) at /opt/telepathy/ktp-common-internals/build/KTp/im-persons-data-source.moc:57
#11 0x00007f40c3eee4c8 in QMetaObject::activate (sender=0x19e0a00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x00007f40c62fdbc5 in KTp::Contact::invalidated (this=0x19e0a00) at /opt/telepathy/ktp-common-internals/build/KTp/moc_contact.cpp:104
#13 0x00007f40c62fda90 in KTp::Contact::qt_static_metacall (_o=0x19e0a00, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffd528ecf0) at /opt/telepathy/ktp-common-internals/build/KTp/moc_contact.cpp:52
#14 0x00007f40c3eee4c8 in QMetaObject::activate (sender=sender@entry=0x161daf0, m=m@entry=0x7f40c423ac40 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffd528ecf0) at kernel/qobject.cpp:3547
#15 0x00007f40c3eeeecf in QObject::destroyed (this=this@entry=0x161daf0, _t1=_t1@entry=0x161daf0) at .moc/release-shared/moc_qobject.cpp:148
#16 0x00007f40c3ef2df3 in QObject::~QObject (this=0x161daf0, __in_chrg=<optimized out>) at kernel/qobject.cpp:843
#17 0x00007f40c4a39c79 in Tp::Connection::~Connection (this=0x161daf0, __in_chrg=<optimized out>) at /opt/telepathy/telepathy-qt/TelepathyQt/connection.cpp:1032
#18 0x00007f40c498b4a3 in Tp::SharedPtr<Tp::Connection>::reset (this=this@entry=0xeef6f8) at /opt/telepathy/telepathy-qt/TelepathyQt/shared-ptr.h:145
#19 0x00007f40c497db2a in Tp::Account::Private::processConnQueue (this=this@entry=0xeef670) at /opt/telepathy/telepathy-qt/TelepathyQt/account.cpp:4465
#20 0x00007f40c4984928 in Tp::Account::Private::updateProperties (this=0xeef670, props=...) at /opt/telepathy/telepathy-qt/TelepathyQt/account.cpp:4358
#21 0x00007f40c3eee4c8 in QMetaObject::activate (sender=sender@entry=0xeef790, m=m@entry=0x7f40c4ebf920 <Tp::Client::AccountInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffd528fe60) at kernel/qobject.cpp:3547
#22 0x00007f40c4972f35 in Tp::Client::AccountInterface::AccountPropertyChanged (this=this@entry=0xeef790, _t1=...) at /opt/telepathy/telepathy-qt/build/TelepathyQt/_gen/cli-account.moc.hpp:133
#23 0x00007f40c497b47c in Tp::Client::AccountInterface::qt_static_metacall (_o=_o@entry=0xeef790, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=1, _a=_a@entry=0x7fffd5290060) at /opt/telepathy/telepathy-qt/build/TelepathyQt/_gen/cli-account.moc.hpp:64
#24 0x00007f40c4988b00 in Tp::Client::AccountInterface::qt_metacall (this=0xeef790, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd5290060) at /opt/telepathy/telepathy-qt/build/TelepathyQt/_gen/cli-account.moc.hpp:117
#25 0x00007f40c3b05226 in QDBusConnectionPrivate::deliverCall (this=0xce2500, object=0xeef790, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:951
#26 0x00007f40c3ef287e in QObject::event (this=0xeef790, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007f40c234675c in QApplicationPrivate::notify_helper (this=this@entry=0xce7d80, receiver=receiver@entry=0xeef790, e=e@entry=0x1736900) at kernel/qapplication.cpp:4567
#28 0x00007f40c234cdd0 in QApplication::notify (this=this@entry=0x7fffd5290790, receiver=receiver@entry=0xeef790, e=e@entry=0x1736900) at kernel/qapplication.cpp:4353
#29 0x00007f40c580acfa in KApplication::notify (this=0x7fffd5290790, receiver=0xeef790, event=0x1736900) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f40c3eda33d in QCoreApplication::notifyInternal (this=0x7fffd5290790, receiver=receiver@entry=0xeef790, event=event@entry=0x1736900) at kernel/qcoreapplication.cpp:949
#31 0x00007f40c3edd89f in sendEvent (event=0x1736900, receiver=0xeef790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xc22580) at kernel/qcoreapplication.cpp:1573
#33 0x00007f40c3eddd43 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#34 0x00007f40c3f07bf3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0xce75e0) at kernel/qeventdispatcher_glib.cpp:280
#36 0x00007f40c0dddea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f40c0dde1f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f40c0dde29c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f40c3f074b5 in QEventDispatcherGlib::processEvents (this=0xc23ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#40 0x00007f40c23e4896 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f40c3ed8f9f in QEventLoop::processEvents (this=this@entry=0x7fffd5290710, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f40c3ed9295 in QEventLoop::exec (this=this@entry=0x7fffd5290710, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f40c3ede8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#44 0x000000000043c1a7 in main (argc=1, argv=0x7fffd5290a58) at /opt/telepathy/ktp-contact-list/main.cpp:63

Reported using DrKonqi
Comment 1 David Edmundson 2013-09-28 13:07:37 UTC
#8  0x00007f40c632bf0b in IMPersonsDataSource::Private::uniqueIdentifier (this=0xeea6a0, contact=...) at /opt/telepathy/ktp-common-internals/KTp/im-persons-data-source.cpp:83


This doesn't exist.

This is your own mods that are crashing.