Bug 305344

Summary: Kopete crashes on contact online/offline changes when the bonjour protocol is online
Product: [Unmaintained] kopete Reporter: Jozef Šiška <yoyo>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sslim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jozef Šiška 2012-08-17 17:28:17 UTC
Application: kopete (1.3.70)
KDE Platform Version: 4.9.00 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.2.9-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
Kopete crashes if the bonjour protocol is online and a contact (even from other accounts) changes its  online/offline status.

- What I was doing when the application crashed:

Start kopete, add a bonjour accout, put it online, wait for a contact online/offline change. I can reproduce it either by just putting another account online/offline or by having some of my contacts change ther online state...

It doesn't however crash if a contact from that bonjour account comes online, but crashes when that contact goes offline.

The crash can be reproduced every time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3f123c8780 (LWP 23424))]

Thread 3 (Thread 0x7f3ef59bf700 (LWP 23450)):
#0  0x00007f3f0e6f360d in read () from /lib64/libc.so.6
#1  0x00007f3f092785e0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3f0923b2a4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3f0923b6ec in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3f0923b864 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f3f0fdbfa16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f3f0fd8f3d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f3f0fd8f68d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f3ef8791bf3 in QCA::SyncThread::run() () from /usr/lib64/qca2/libqca.so.2
#9  0x00007f3f0fc8e78b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f3f0e177da6 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3f0e70110d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3ef51be700 (LWP 23451)):
#0  0x00007f3f0e17b90e in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f3f09279371 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3f0923b666 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3f0923b864 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3f0fdbfa16 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f3f0fd8f3d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f3f0fd8f68d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f3ef8bf0355 in XMPP::SyncThread::run() () from /usr/lib64/kde4/kopete_jabber.so
#8  0x00007f3f0fc8e78b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f3f0e177da6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3f0e70110d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3f123c8780 (LWP 23424)):
[KCrash Handler]
#6  0x00007f3f11aa178a in Kopete::MetaContact::isOnline() const () from /usr/lib64/libkopete.so.4
#7  0x00007f3f113992c6 in Kopete::UI::ContactListTreeModel::countConnected(Kopete::UI::GroupModelItem*) const () from /usr/lib64/libkopetecontactlist.so.1
#8  0x00007f3f11399525 in Kopete::UI::ContactListTreeModel::data(QModelIndex const&, int) const () from /usr/lib64/libkopetecontactlist.so.1
#9  0x00007f3f113a2b79 in Kopete::UI::ContactListProxyModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib64/libkopetecontactlist.so.1
#10 0x00007f3f0f43b0e5 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f3f0fdf15d7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f3f1139ba79 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup(Kopete::MetaContact*, Kopete::Group*) () from /usr/lib64/libkopetecontactlist.so.1
#14 0x00007f3f1139d24b in Kopete::UI::ContactListTreeModel::handleContactDataChange(Kopete::MetaContact*) () from /usr/lib64/libkopetecontactlist.so.1
#15 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f3f11a9f7a0 in Kopete::MetaContact::onlineStatusChanged(Kopete::MetaContact*, Kopete::OnlineStatus::StatusType) () from /usr/lib64/libkopete.so.4
#17 0x00007f3f11aa1210 in Kopete::MetaContact::updateOnlineStatus() () from /usr/lib64/libkopete.so.4
#18 0x00007f3f11aa2881 in Kopete::MetaContact::slotContactStatusChanged(Kopete::Contact*, Kopete::OnlineStatus const&, Kopete::OnlineStatus const&) () from /usr/lib64/libkopete.so.4
#19 0x00007f3f11aa4d7c in Kopete::MetaContact::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkopete.so.4
#20 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f3f11a8a849 in Kopete::Contact::onlineStatusChanged(Kopete::Contact*, Kopete::OnlineStatus const&, Kopete::OnlineStatus const&) () from /usr/lib64/libkopete.so.4
#22 0x00007f3f11a8a906 in Kopete::Contact::slotAccountIsConnectedChanged() () from /usr/lib64/libkopete.so.4
#23 0x00007f3f11a8dec5 in Kopete::Contact::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkopete.so.4
#24 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f3f11a74725 in Kopete::Account::slotOnlineStatusChanged(Kopete::Contact*, Kopete::OnlineStatus const&, Kopete::OnlineStatus const&) () from /usr/lib64/libkopete.so.4
#26 0x00007f3f11a74b5f in Kopete::Account::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkopete.so.4
#27 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f3f11a8a849 in Kopete::Contact::onlineStatusChanged(Kopete::Contact*, Kopete::OnlineStatus const&, Kopete::OnlineStatus const&) () from /usr/lib64/libkopete.so.4
#29 0x00007f3f11a8b06a in Kopete::Contact::setOnlineStatus(Kopete::OnlineStatus const&) () from /usr/lib64/libkopete.so.4
#30 0x00007f3ef65b6ece in SkypeAccount::wentOnline() () from /usr/lib64/kde4/kopete_skype.so
#31 0x00007f3ef65bb970 in SkypeAccount::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kopete_skype.so
#32 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f3ef65a5b30 in Skype::resetStatus() () from /usr/lib64/kde4/kopete_skype.so
#34 0x00007f3ef65a8463 in Skype::skypeMessage(QString const&) () from /usr/lib64/kde4/kopete_skype.so
#35 0x00007f3ef65aec9e in Skype::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kopete_skype.so
#36 0x00007f3f0fda5f62 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007f3ef659d4b5 in SkypeConnection::received(QString const&) () from /usr/lib64/kde4/kopete_skype.so
#38 0x00007f3ef659d4fb in SkypeConnection::Notify(QString const&) () from /usr/lib64/kde4/kopete_skype.so
#39 0x00007f3ef65a153b in SkypeAdaptor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kopete_skype.so
#40 0x00007f3f0f9b4a3a in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#41 0x00007f3f0f9b5be5 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () from /usr/lib64/qt4/libQtDBus.so.4
#42 0x00007f3f0f9b6441 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#43 0x00007f3f0f9b665b in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#44 0x00007f3f0fda5386 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007f3f0ee9c0f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f3f0eea0bfd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007f3f10837e86 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00007f3f0fd9067c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f3f0fd93c70 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f3f0fdbf823 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#51 0x00007f3f0923b463 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f3f0923b7a8 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f3f0923b864 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f3f0fdbf9bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#55 0x00007f3f0ef4226e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#56 0x00007f3f0fd8f3d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#57 0x00007f3f0fd8f68d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#58 0x00007f3f0fd9410b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#59 0x0000000000416302 in main ()

Possible duplicates by query: bug 305064, bug 304926, bug 304661, bug 304316, bug 303034.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-04 21:34:19 UTC

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