Bug 307841

Summary: Kopete [often] crashes when renaming contact
Product: [Unmaintained] kopete Reporter: Artemis Voulkidis <avoulk>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Artemis Voulkidis 2012-10-04 13:24:13 UTC
Application: kopete (1.3.2)
KDE Platform Version: 4.9.2 "release 511"
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 was editing the name of a contact when kopete crashed. I noticed multiple crashes of kopete too, while in the background.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7fa83b626700 (LWP 20369)):
#0  0x00007fa84f35af13 in select () from /lib64/libc.so.6
#1  0x00007fa8509b9602 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fa8508def9c in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fa84ee04e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa84f3612bd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa833db6700 (LWP 20373)):
#0  0x00007fa84f35913f in poll () from /lib64/libc.so.6
#1  0x00007fa849b02684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa849b027a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa850a08cd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fa8509d985f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fa8509d9ae8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa83b8c36ee in QCA::SyncThread::run() () from /usr/lib64/libqca.so.2
#7  0x00007fa8508def9c in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fa84ee04e0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa84f3612bd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa8335b5700 (LWP 20374)):
#0  0x00007fa84ee06dc5 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa849b3e471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa849b0263d in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa849b027a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa850a08cf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fa8509d985f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fa8509d9ae8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fa83bcec09f in XMPP::SyncThread::run (this=0x1093140) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#8  0x00007fa8508def9c in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fa84ee04e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa84f3612bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa839256700 (LWP 20583)):
#0  0x00007fa84f35913f in poll () from /lib64/libc.so.6
#1  0x00007fa8484f108f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007fa8484e25fc in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007fa8484e2c59 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007fa8484e2d10 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007fa8484f103f in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007fa845e2a2e3 in ?? () from /usr/lib64/libpulsecommon-1.1.so
#7  0x00007fa84ee04e0e in start_thread () from /lib64/libpthread.so.0
#8  0x00007fa84f3612bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa852f95780 (LWP 20368)):
[KCrash Handler]
#5  0x00007fa852644319 in QList (l=..., this=0x7fff1746dfd0) at /usr/include/QtCore/qlist.h:122
#6  QListIterator (container=..., this=0x7fff1746dfd0) at /usr/include/QtCore/qlist.h:902
#7  Kopete::MetaContact::isOnline (this=0xf958a0) at /usr/src/debug/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:516
#8  0x00007fa851f4befe in Kopete::UI::ContactListTreeModel::countConnected (this=this@entry=0xbd6680, gmi=gmi@entry=0xef2330) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#9  0x00007fa851f4c163 in Kopete::UI::ContactListTreeModel::data (this=0xbd6680, index=..., role=138) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#10 0x00007fa851f54faf in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0xbcdf80, sourceRow=<optimized out>, sourceParent=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#11 0x00007fa85009431c in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00007fa850a3a117 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtCore.so.4
#14 0x00007fa851f4fb33 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0xbd6680, mc=0xf8fba0, group=0xf521f0) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#15 0x00007fa851f4fe4b in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0xbd6680, mc=0xf8fba0) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#16 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007fa852643880 in Kopete::MetaContact::onlineStatusChanged (this=this@entry=0xf8fba0, _t1=_t1@entry=0xf8fba0, _t2=Kopete::OnlineStatus::Offline) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/libkopete/kopetemetacontact.moc:269
#18 0x00007fa8526441f1 in Kopete::MetaContact::updateOnlineStatus (this=this@entry=0xf8fba0) at /usr/src/debug/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:157
#19 0x00007fa8526474d1 in Kopete::MetaContact::slotContactStatusChanged (this=0xf8fba0, c=0xf6aa40, status=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:607
#20 0x00007fa852648c2c in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/libkopete/kopetemetacontact.moc:166
#21 Kopete::MetaContact::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/libkopete/kopetemetacontact.moc:128
#22 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007fa85262fb69 in Kopete::Contact::onlineStatusChanged (this=this@entry=0xf6aa40, _t1=_t1@entry=0xf6aa40, _t2=..., _t3=...) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/libkopete/kopetecontact.moc:221
#24 0x00007fa8526302aa in Kopete::Contact::setOnlineStatus (this=0xf6aa40, status=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/libkopete/kopetecontact.cpp:172
#25 0x00007fa83bc13164 in JabberBaseContact::reevaluateStatus (this=0xf6aa40) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/jabberbasecontact.cpp:313
#26 0x00007fa83bc0bd1a in JabberResourcePool::notifyRelevantContacts (this=this@entry=0xbb8060, jid=..., removed=removed@entry=true) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/jabberresourcepool.cpp:100
#27 0x00007fa83bc0c596 in JabberResourcePool::removeResource (this=0xbb8060, jid=..., resource=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/jabberresourcepool.cpp:158
#28 0x00007fa83bc03579 in JabberAccount::slotResourceUnavailable (this=0xed7bb0, jid=..., resource=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/jabberaccount.cpp:1625
#29 0x00007fa83bc09bd4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/protocols/jabber/jabberaccount.moc:153
#30 JabberAccount::qt_static_metacall (_o=0xed7bb0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/protocols/jabber/jabberaccount.moc:115
#31 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#32 0x00007fa83bc4015a in JabberClient::resourceUnavailable (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/protocols/jabber/jabberclient.moc:314
#33 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#34 0x00007fa83bc4bc1a in XMPP::Client::resourceUnavailable (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:226
#35 0x00007fa83bc60912 in XMPP::Client::updatePresence (this=this@entry=0x1090b60, i=i@entry=0x10de9d0, j=..., s=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:819
#36 0x00007fa83bc6165a in XMPP::Client::ppPresence (this=0x1090b60, j=..., s=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:772
#37 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#38 0x00007fa83bc4c357 in XMPP::JT_PushPresence::presence (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdenetwork-4.9.2/build/kopete/protocols/jabber/libiris/moc_xmpp_tasks.cpp:441
#39 0x00007fa83bc9b9d2 in XMPP::JT_PushPresence::take (this=0x10aca30, e=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:774
#40 0x00007fa83bc89895 in XMPP::Task::take (this=<optimized out>, x=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#41 0x00007fa83bc5c6c8 in XMPP::Client::distribute (this=this@entry=0x1090b60, x=...) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#42 0x00007fa83bc5cf9a in XMPP::Client::streamReadyRead (this=0x1090b60) at /usr/src/debug/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#43 0x00007fa8509f139f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#44 0x00007fa8509ef4ee in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#45 0x00007fa84fb0874c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007fa84fb0cbca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007fa851437616 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00007fa8509dab0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#49 0x00007fa8509de471 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#50 0x00007fa850a08b43 in ?? () from /usr/lib64/libQtCore.so.4
#51 0x00007fa849b023b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#52 0x00007fa849b026e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#53 0x00007fa849b027a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#54 0x00007fa850a08cd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#55 0x00007fa84fba8a5e in ?? () from /usr/lib64/libQtGui.so.4
#56 0x00007fa8509d985f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#57 0x00007fa8509d9ae8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#58 0x00007fa8509de788 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#59 0x00000000004148eb in main (argc=3, argv=0x7fff17470be8) at /usr/src/debug/kdenetwork-4.9.2/kopete/kopete/main.cpp:105

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

Possible duplicates by query: bug 307705, bug 307524, bug 307513, bug 307480, bug 307458.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-04 21:40:18 UTC

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