Bug 307380

Summary: kopete crashed adding an XMPP contact
Product: [Unmaintained] kopete Reporter: Nico Kruber <nico.kruber>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nico Kruber 2012-09-25 12:58:36 UTC
Application: kopete (1.3.1)
KDE Platform Version: 4.9.1 "release 561"
Qt Version: 4.8.3
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

I got two authorisation requests from the same jabber user to my google account. I clicked "add" on the first, assigned a name, group and addressbook link and proceeded. Then kopete crashed.

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

Thread 3 (Thread 0x7f118a8d0700 (LWP 2808)):
#0  0x00007f11a6184d9f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f11a0ebb4a1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11a0e7f679 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11a0e7f7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11a7d85cf6 in QEventDispatcherGlib::processEvents (this=0x7f11840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f11a7d5685f in QEventLoop::processEvents (this=this@entry=0x7f11840013c0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f11a7d56ae8 in QEventLoop::exec (this=0x7f11840013c0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f118d10f6ee in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#8  0x00007f11a7c5bf9c in QThreadPrivate::start (arg=0x1eeb570) at thread/qthread_unix.cpp:338
#9  0x00007f11a6181e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f11a66de2bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f118a0cf700 (LWP 2810)):
#0  0x00007f11a0ebb226 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f11a0ebb499 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f11a0e7eeb5 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f11a0e7f5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f11a0e7f7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f11a7d85cf6 in QEventDispatcherGlib::processEvents (this=0x7f117c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f11a7d5685f in QEventLoop::processEvents (this=this@entry=0x7f117c002800, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f11a7d56ae8 in QEventLoop::exec (this=0x7f117c002800, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f118d53809f in XMPP::SyncThread::run (this=0x1e2b910) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#9  0x00007f11a7c5bf9c in QThreadPrivate::start (arg=0x1e2b910) at thread/qthread_unix.cpp:338
#10 0x00007f11a6181e0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f11a66de2bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f119ae3c780 (LWP 2313)):
[KCrash Handler]
#6  Kopete::MetaContact::isOnline (this=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:519
#7  0x00007f11a92c7efe in Kopete::UI::ContactListTreeModel::countConnected (this=this@entry=0x1bf59f0, gmi=gmi@entry=0x1f29750) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#8  0x00007f11a92c8163 in Kopete::UI::ContactListTreeModel::data (this=0x1bf59f0, index=..., role=138) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#9  0x00007f11a92d0faf in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x1c51d00, sourceRow=<optimized out>, sourceParent=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#10 0x00007f11a741131c in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x1c07870, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1132
#11 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x1bf59f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0c290) at kernel/qobject.cpp:3556
#12 0x00007f11a7db7117 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#13 0x00007f11a92cbd59 in Kopete::UI::ContactListTreeModel::removeMetaContactFromGroup (this=0x1bf59f0, mc=<optimized out>, group=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:194
#14 0x00007f11a92cbe4b in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x1bf59f0, mc=0x2259c20) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#15 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x2259c20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0c500) at kernel/qobject.cpp:3556
#16 0x00007f11a99bf880 in Kopete::MetaContact::onlineStatusChanged (this=this@entry=0x2259c20, _t1=_t1@entry=0x2259c20, _t2=Kopete::OnlineStatus::Online) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/libkopete/kopetemetacontact.moc:269
#17 0x00007f11a99c01f1 in Kopete::MetaContact::updateOnlineStatus (this=this@entry=0x2259c20) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:157
#18 0x00007f11a99c34d1 in Kopete::MetaContact::slotContactStatusChanged (this=0x2259c20, c=0x31ebf30, status=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetemetacontact.cpp:607
#19 0x00007f11a99c4c2c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/libkopete/kopetemetacontact.moc:166
#20 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/libkopete/kopetemetacontact.moc:128
#21 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x31ebf30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0c700) at kernel/qobject.cpp:3556
#22 0x00007f11a99abb69 in Kopete::Contact::onlineStatusChanged (this=this@entry=0x31ebf30, _t1=_t1@entry=0x31ebf30, _t2=..., _t3=...) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/libkopete/kopetecontact.moc:221
#23 0x00007f11a99ac2aa in Kopete::Contact::setOnlineStatus (this=0x31ebf30, status=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/libkopete/kopetecontact.cpp:172
#24 0x00007f118d45f164 in JabberBaseContact::reevaluateStatus (this=0x31ebf30) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabberbasecontact.cpp:313
#25 0x00007f118d457d1a in JabberResourcePool::notifyRelevantContacts (this=this@entry=0x1f113a0, jid=..., removed=removed@entry=false) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabberresourcepool.cpp:100
#26 0x00007f118d45888b in JabberResourcePool::addResource (this=0x1f113a0, jid=..., resource=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabberresourcepool.cpp:144
#27 0x00007f118d44f4b9 in JabberAccount::slotResourceAvailable (this=0x1f366e0, jid=..., resource=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/jabberaccount.cpp:1616
#28 0x00007f118d455bc2 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/protocols/jabber/jabberaccount.moc:152
#29 JabberAccount::qt_static_metacall (_o=0x1f366e0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/protocols/jabber/jabberaccount.moc:115
#30 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x209da40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0ccd0) at kernel/qobject.cpp:3556
#31 0x00007f118d48c11a in JabberClient::resourceAvailable (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/protocols/jabber/jabberclient.moc:307
#32 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x1f2b5c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0ce20) at kernel/qobject.cpp:3556
#33 0x00007f118d49331a in XMPP::Client::resourceAvailable (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:219
#34 0x00007f118d4acc28 in XMPP::Client::updatePresence (this=this@entry=0x1f2b5c0, i=i@entry=0x3002a90, j=..., s=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:847
#35 0x00007f118d4ad65a in XMPP::Client::ppPresence (this=0x1f2b5c0, j=..., s=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:772
#36 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x21ef310, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffaae0d670) at kernel/qobject.cpp:3556
#37 0x00007f118d494947 in XMPP::JT_PushPresence::presence (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.1/build/kopete/protocols/jabber/libiris/moc_xmpp_tasks.cpp:441
#38 0x00007f118d4e79d2 in XMPP::JT_PushPresence::take (this=0x21ef310, e=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:774
#39 0x00007f118d4d5895 in XMPP::Task::take (this=<optimized out>, x=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#40 0x00007f118d4a86c8 in XMPP::Client::distribute (this=this@entry=0x1f2b5c0, x=...) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#41 0x00007f118d4a8f9a in XMPP::Client::streamReadyRead (this=0x1f2b5c0) at /usr/src/debug/kdenetwork-4.9.1/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#42 0x00007f11a7d6e39f in QMetaObject::activate (sender=0x1e97d20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#43 0x00007f11a7d6c4ee in QObject::event (this=0x1e97d20, e=<optimized out>) at kernel/qobject.cpp:1204
#44 0x00007f11a6e8574c in QApplicationPrivate::notify_helper (this=this@entry=0x1a08190, receiver=receiver@entry=0x1e97d20, e=e@entry=0x3152050) at kernel/qapplication.cpp:4557
#45 0x00007f11a6e89bca in QApplication::notify (this=0x7fffaae0e760, receiver=0x1e97d20, e=0x3152050) at kernel/qapplication.cpp:4418
#46 0x00007f11a87b40d6 in KApplication::notify (this=0x7fffaae0e760, receiver=0x1e97d20, event=0x3152050) at /usr/src/debug/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#47 0x00007f11a7d57b0e in QCoreApplication::notifyInternal (this=0x7fffaae0e760, receiver=receiver@entry=0x1e97d20, event=event@entry=0x3152050) at kernel/qcoreapplication.cpp:915
#48 0x00007f11a7d5b471 in sendEvent (event=0x3152050, receiver=0x1e97d20) at kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x199d1f0) at kernel/qcoreapplication.cpp:1539
#50 0x00007f11a7d85b43 in sendPostedEvents () at kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x1a07800) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007f11a0e7f3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f11a0e7f6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f11a0e7f7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f11a7d85cd6 in QEventDispatcherGlib::processEvents (this=0x19a2a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007f11a6f25a5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f11a7d5685f in QEventLoop::processEvents (this=this@entry=0x7fffaae0e630, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f11a7d56ae8 in QEventLoop::exec (this=0x7fffaae0e630, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f11a7d5b788 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0x00000000004148eb in main (argc=3, argv=0x7fffaae0e8b8) at /usr/src/debug/kdenetwork-4.9.1/kopete/kopete/main.cpp:105

Possible duplicates by query: bug 306967, bug 306921, bug 306887, bug 306846, bug 306758.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-04 21:37:50 UTC

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