Bug 319525

Summary: KTP Contact list application crashes when changeing presence plugin to now playing
Product: [Unmaintained] telepathy Reporter: Avihay <kde>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: mklapetek
Priority: NOR    
Version: unspecified   
Target Milestone: Future   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Avihay 2013-05-08 13:13:52 UTC
Application: ktp-contactlist (0.4)
KDE Platform Version: 4.10.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-41-generic i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
KTP Contact list application crashes when changing presence plug-in to now playing.
It might only happen when some accounts are online.
- Custom settings of the application:
The presence plug-in is not installed. The install pop-up still shows.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb560ab40 (LWP 14493)):
#0  0x005cfdcd in __GI_clock_gettime (clock_id=1, tp=0xb5609fb8) at ../sysdeps/unix/clock_gettime.c:116
#1  0x059393e5 in do_gettime (frac=0xb5609fb0, sec=0xb5609fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x05a23726 in QTimerInfoList::updateCurrentTime (this=0xb4d02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x05a23a7a in QTimerInfoList::timerWait (this=0xb4d02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x05a22323 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb560a0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x05a223bd in timerSourcePrepare (source=0xb4d02040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x03d8c872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x03d8cfaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x03d8d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x05a22de7 in QEventDispatcherGlib::processEvents (this=0xb4d00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x059ee6ad in QEventLoop::processEvents (this=0xb560a240, flags=...) at kernel/qeventloop.cpp:149
#12 0x059ee949 in QEventLoop::exec (this=0xb560a240, flags=...) at kernel/qeventloop.cpp:204
#13 0x058d7a1c in QThread::exec (this=0x9e2c330) at thread/qthread.cpp:501
#14 0x059cbcfd in QInotifyFileSystemWatcherEngine::run (this=0x9e2c330) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x058daeb0 in QThreadPrivate::start (arg=0x9e2c330) at thread/qthread_unix.cpp:307
#16 0x005b7d4c in start_thread (arg=0xb560ab40) at pthread_create.c:308
#17 0x01dd6dde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76f8740 (LWP 3271)):
[KCrash Handler]
#7  0x0807ceb5 in parent (this=0x9bb05c8) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#8  PresenceModelExtended::data (this=0x98ca570, index=..., role=0) at /build/buildd/ktp-contact-list-0.4.0/global-presence-chooser.cpp:90
#9  0x08a72183 in QComboBoxPrivate::itemText (this=0x98cdbb8, index=...) at widgets/qcombobox.cpp:1287
#10 0x08a77023 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x98cdbb8, index=...) at widgets/qcombobox.cpp:1279
#11 0x08a772fb in QComboBoxPrivate::setCurrentIndex (this=0x98cdbb8, mi=...) at widgets/qcombobox.cpp:2046
#12 0x08a77416 in QComboBox::setCurrentIndex (this=0x98cdb78, index=6) at widgets/qcombobox.cpp:2022
#13 0x08a78b11 in QComboBoxPrivate::_q_rowsRemoved (this=0x98cdbb8, parent=...) at widgets/qcombobox.cpp:1071
#14 0x05a06bb1 in QMetaObject::activate (sender=0x98ca570, m=0x5b4e2b8, local_signal_index=7, argv=0xbfae5210) at kernel/qobject.cpp:3547
#15 0x05a589b5 in QAbstractItemModel::rowsRemoved (this=0x98ca570, _t1=..., _t2=6, _t3=6) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#16 0x059e950e in QAbstractItemModel::endRemoveRows (this=0x98ca570) at kernel/qabstractitemmodel.cpp:2487
#17 0x0807d78c in PresenceModelExtended::removeTemporaryPresence (this=0x98ca570) at /build/buildd/ktp-contact-list-0.4.0/global-presence-chooser.cpp:159
#18 0x0807d929 in GlobalPresenceChooser::onPresenceChanged (this=0x98cdb78, presence=...) at /build/buildd/ktp-contact-list-0.4.0/global-presence-chooser.cpp:325
#19 0x05a06bb1 in QMetaObject::activate (sender=0x98ce148, m=0x54fd38, local_signal_index=1, argv=0xbfae5428) at kernel/qobject.cpp:3547
#20 0x0053e4d5 in KTp::GlobalPresence::currentPresenceChanged(KTp::Presence const&) () from /usr/lib/libktpcommoninternalsprivate.so.1
#21 0x0053f00b in KTp::GlobalPresence::onCurrentPresenceChanged() () from /usr/lib/libktpcommoninternalsprivate.so.1
#22 0x0053f348 in ?? () from /usr/lib/libktpcommoninternalsprivate.so.1
#23 0x05a06bb1 in QMetaObject::activate (sender=0x9928d38, m=0x80a2490, local_signal_index=15, argv=0xbfae55c8) at kernel/qobject.cpp:3547
#24 0x009567d5 in Tp::Account::currentPresenceChanged(Tp::Presence const&) () from /usr/lib/i386-linux-gnu/libtelepathy-qt4.so.2
#25 0x00968141 in ?? () from /usr/lib/i386-linux-gnu/libtelepathy-qt4.so.2
#26 0x05a06bb1 in QMetaObject::activate (sender=0x990b730, m=0xda3204, local_signal_index=1, argv=0xbfae5c78) at kernel/qobject.cpp:3547
#27 0x00956a05 in Tp::Client::AccountInterface::AccountPropertyChanged(QMap<QString, QVariant> const&) () from /usr/lib/i386-linux-gnu/libtelepathy-qt4.so.2
#28 0x00956bcf in ?? () from /usr/lib/i386-linux-gnu/libtelepathy-qt4.so.2
#29 0x00956e2c in Tp::Client::AccountInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libtelepathy-qt4.so.2
#30 0x0080ca38 in QDBusConnectionPrivate::deliverCall (this=0x97a1e98, object=0x990b730, msg=..., metaTypes=..., slotIdx=1) at qdbusintegrator.cpp:947
#31 0x00816c8d in QDBusCallDeliveryEvent::placeMetaCall (this=0x9bc7670, object=0x990b730) at qdbusintegrator_p.h:103
#32 0x05a0b17b in QObject::event (this=0x990b730, e=0x9bc7670) at kernel/qobject.cpp:1195
#33 0x0862cdf4 in notify_helper (e=0x9bc7670, receiver=0x990b730, this=0x97a5f98) at kernel/qapplication.cpp:4556
#34 QApplicationPrivate::notify_helper (this=0x97a5f98, receiver=0x990b730, e=0x9bc7670) at kernel/qapplication.cpp:4528
#35 0x0863215d in QApplication::notify (this=0x9bc7670, receiver=0x990b730, e=0x9bc7670) at kernel/qapplication.cpp:4285
#36 0x00f99e61 in KApplication::notify (this=0xbfae6638, receiver=0x990b730, event=0x9bc7670) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x059efe0e in QCoreApplication::notifyInternal (this=0xbfae6638, receiver=0x990b730, event=0x9bc7670) at kernel/qcoreapplication.cpp:915
#38 0x059f3f68 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9778c10) at kernel/qcoreapplication.cpp:1539
#40 0x059f429c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#41 0x05a22994 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#42 postEventSourceDispatch (s=0x97a5f28) at kernel/qeventdispatcher_glib.cpp:279
#43 0x03d8cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x03d8d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x03d8d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x05a22d87 in QEventDispatcherGlib::processEvents (this=0x97797b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x086e5a1a in QGuiEventDispatcherGlib::processEvents (this=0x97797b0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x059ee6ad in QEventLoop::processEvents (this=0xbfae6594, flags=...) at kernel/qeventloop.cpp:149
#49 0x059ee949 in QEventLoop::exec (this=0xbfae6594, flags=...) at kernel/qeventloop.cpp:204
#50 0x059f434a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#51 0x0862a9c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#52 0x0805e847 in main (argc=160227496, argv=0x1e8d470) at /build/buildd/ktp-contact-list-0.4.0/main.cpp:62

This bug may be a duplicate of or related to bug 304085.

Possible duplicates by query: bug 304085.

Reported using DrKonqi
Comment 1 Martin Klapetek 2013-05-08 13:45:28 UTC
Thanks for the report.

Our latest release is 0.6.1 and your report is against very old (and unsupported) 0.4 version, please update your installation where this crash has been fixed.

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