Bug 308861

Summary: Kopete crash when removing XMPP transport
Product: [Unmaintained] kopete Reporter: Vadim Zhukov <persgray>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: persgray
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: OpenBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Vadim Zhukov 2012-10-23 10:14:52 UTC
Application: kopete (1.3.2)
KDE Platform Version: 4.9.2 (Compiled from sources)
Qt Version: 4.8.2
Operating System: OpenBSD 5.2 i386
Distribution (Platform): OpenBSD Packages

-- Information about the crash:
- What I was doing when the application crashed:
I had two XMPP transports to the same server. The second was added when the first stopped working. Now I wanted to remove the second transported, and right after trying to do this Kopete crashed.

- Custom settings of the application:

This unofficial package of KDE 4.9.2. OpenBSD still lacks working official KDE 4 packages, and I'm working on getting there. So feel free to ask for testing patches, searching through Git, etc.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[KCrash Handler]
#7  0x035a9eed in QList (this=0xcfbd0d44, l=@0x0) at qlist.h:122
#8  0x035a9f39 in QListIterator (this=0xcfbd0d44, container=@0x0) at qlist.h:902
#9  0x035fdbe9 in Kopete::MetaContact::isOnline (this=0x898ce680) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:516
#10 0x0e75ef81 in Kopete::UI::ContactListTreeModel::countConnected (this=0x856e4d80, gmi=0x83c88030)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#11 0x0e75f57c in Kopete::UI::ContactListTreeModel::data (this=0x856e4d80, index=@0xcfbd0ee0, role=138)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
#12 0x0e768d74 in Kopete::UI::ContactListProxyModel::filterAcceptsRow (this=0x856e45c0, sourceRow=4, sourceParent=@0xcfbd1068)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlistproxymodel.cpp:139
#13 0x1057535f in QSortFilterProxyModelPrivate::_q_sourceDataChanged () from /usr/local/lib/qt4/libQtGui.so.10.0
#14 0x105771a4 in QSortFilterProxyModelPrivate::_q_sourceReset () from /usr/local/lib/qt4/libQtGui.so.10.0
#15 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#16 0x074a0c49 in QAbstractItemModel::dataChanged () from /usr/local/lib/qt4/libQtCore.so.9.0
#17 0x0e75fb33 in Kopete::UI::ContactListTreeModel::addMetaContactToGroup (this=0x856e4d80, mc=0x804bd720, group=0x8a93e380)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:172
#18 0x0e75dd04 in Kopete::UI::ContactListTreeModel::handleContactDataChange (this=0x856e4d80, mc=0x804bd720)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:602
#19 0x0e75b864 in Kopete::UI::ContactListTreeModel::qt_static_metacall (_o=0x856e4d80, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xcfbd1408) at contactlisttreemodel.moc:71
#20 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#21 0x035fc0e9 in Kopete::MetaContact::onlineStatusChanged (this=0x804bd720, _t1=0x804bd720, _t2=Kopete::OnlineStatus::Unknown) at kopetemetacontact.moc:269
#22 0x035fc5ea in Kopete::MetaContact::updateOnlineStatus (this=0x804bd720) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:157
#23 0x035ff71f in Kopete::MetaContact::addContact (this=0x804bd720, c=0x7e51ad00) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:115
#24 0x035e4b72 in Contact (this=0x7e51ad00, account=0x8bfa6b00, contactId=@0x7d5f6104, parent=0x804bd720, icon=@0xcfbd1558)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/libkopete/kopetecontact.cpp:121
#25 0x06412bca in JabberBaseContact (this=0x7e51ad00, rosterItem=@0x7d5f6100, account=0x8bfa6b00, mc=0x804bd720, legacyId=@0x7d5f6104)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/jabberbasecontact.cpp:53
#26 0x0641f10b in JabberContact (this=0x7e51ad00, rosterItem=@0x7d5f6100, _account=0x8bfa6b00, mc=0x804bd720, legacyId=@0xcfbd166c)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/jabbercontact.cpp:73
#27 0x0642a4c7 in JabberContactPool::addContact (this=0x7d579790, contact=@0x7d5f6100, metaContact=0x804bd720, dirty=false)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/jabbercontactpool.cpp:104
#28 0x0640091d in JabberAccount::slotContactUpdated (this=0x8bfa6b00, item=@0x7d5f6100) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/jabberaccount.cpp:1339
#29 0x06403c3a in JabberAccount::qt_static_metacall (_o=0x8bfa6b00, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xcfbd18ac) at jabberaccount.moc:150
#30 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#31 0x06449153 in JabberClient::contactUpdated (this=0x7d579750, _t1=@0x7d5f6100) at jabberclient.moc:300
#32 0x06449184 in JabberClient::slotContactUpdated (this=0x7d579750, item=@0x7d5f6100) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/jabberclient.cpp:1142
#33 0x0644ca65 in JabberClient::qt_static_metacall (_o=0x7d579750, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xcfbd19fc) at jabberclient.moc:173
#34 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#35 0x0644f883 in XMPP::Client::rosterItemUpdated (this=0x84089d90, _t1=@0x7d5f6100) at moc_xmpp_client.cpp:205
#36 0x0646e605 in XMPP::Client::importRosterItem (this=0x84089d90, item=@0x877cc440)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:962
#37 0x0646e7a9 in XMPP::Client::importRoster (this=0x84089d90, r=@0xcfbd1d74) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:919
#38 0x06459a0b in XMPP::Client::qt_static_metacall (_o=0x84089d90, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xcfbd1cfc) at moc_xmpp_client.cpp:128
#39 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#40 0x06450783 in XMPP::JT_PushRoster::roster (this=0x84cdfd10, _t1=@0xcfbd1d74) at moc_xmpp_tasks.cpp:297
#41 0x064cc75e in XMPP::JT_PushRoster::take (this=0x84cdfd10, e=@0xcfbd1f74) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_tasks.cpp:528
#42 0x064a7453 in XMPP::Task::take (this=0x7eab5710, x=@0xcfbd1f74) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#43 0x0647089b in XMPP::Client::distribute (this=0x84089d90, x=@0xcfbd1f74) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#44 0x06471a29 in XMPP::Client::streamReadyRead (this=0x84089d90) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#45 0x06459968 in XMPP::Client::qt_static_metacall (_o=0x84089d90, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xcfbd2090) at moc_xmpp_client.cpp:121
#46 0x0744311a in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#47 0x0644e947 in XMPP::Stream::readyRead (this=0x7e55efb0) at moc_xmpp_stream.cpp:119
#48 0x064e0b4d in XMPP::ClientStream::doReadyRead (this=0x7e55efb0) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/stream.cpp:892
#49 0x064579ea in XMPP::ClientStream::qt_static_metacall (_o=0x7e55efb0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7c2caf40) at moc_xmpp_clientstream.cpp:116
#50 0x0743aaeb in QMetaCallEvent::placeMetaCall () from /usr/local/lib/qt4/libQtCore.so.9.0
#51 0x0743c793 in QObject::event () from /usr/local/lib/qt4/libQtCore.so.9.0
#52 0x0feba6bc in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.10.0
#53 0x0fec0c05 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.10.0
#54 0x010f7f33 in KApplication::notify (this=0xcfbd28d8, receiver=0x7e55efb0, event=0x7f8a5180) at /usr/ports/pobj/kdelibs-4.9.2/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#55 0x07426ffb in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.9.0
#56 0x0742b47e in QCoreApplicationPrivate::sendPostedEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#57 0x0742b92d in QCoreApplication::sendPostedEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#58 0x0745f334 in QEventDispatcherGlib::registeredTimers () from /usr/local/lib/qt4/libQtCore.so.9.0
#59 0x0a0f2664 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.3400.0
#60 0x0a0f4379 in g_main_context_acquire () from /usr/local/lib/libglib-2.0.so.3400.0
#61 0x0a0f4460 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.3400.0
#62 0x0745f68b in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#63 0x0ff802c5 in QGuiEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtGui.so.10.0
#64 0x07425da3 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#65 0x074261ba in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#66 0x0742b9f6 in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#67 0x0feba007 in QApplication::exec () from /usr/local/lib/qt4/libQtGui.so.10.0
#68 0x1c012288 in main (argc=3, argv=0xcfbd2cac) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/main.cpp:105

Thread 1 (thread 1017356):
#1  0x0cb7a1f2 in read (fd=21, buf=0x7fbf5dd4, nbytes=16) at /usr/src/lib/librthread/rthread_cancel.c:397
#2  0x0a13609b in g_wakeup_acknowledge () from /usr/local/lib/libglib-2.0.so.3400.0
#3  0x0a0f2ef2 in g_main_context_check () from /usr/local/lib/libglib-2.0.so.3400.0
#4  0x0a0f431d in g_main_context_acquire () from /usr/local/lib/libglib-2.0.so.3400.0
#5  0x0a0f4460 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.3400.0
#6  0x0745f6a7 in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#7  0x07425da3 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#8  0x074261ba in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#9  0x06530c2d in XMPP::SyncThread::run (this=0x863012a0) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#10 0x072fd309 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.9.0
#11 0x0cb7710e in _rthread_start (v=0x887f6300) at /usr/src/lib/librthread/rthread.c:122
#12 0x0b27e229 in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92

Possible duplicates by query: bug 308660, bug 308609, bug 308429, bug 308409, bug 308156.

Reported using DrKonqi
Comment 1 Vadim Zhukov 2012-10-23 10:29:10 UTC
Created attachment 74747 [details]
New crash information added by DrKonqi

kopete (1.3.2) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:
Now Kopete crashes each time I'm trying to go online... You can compare call stacks.

- Custom settings of the application:

See the initial message.

-- Backtrace (Reduced):
#8  0x07f05ef9 in QList (this=0xcfbcaa74, l=@0xc6741) at qlist.h:122
#9  0x07f05f39 in QListIterator (this=0xcfbcaa74, container=@0xc6741) at qlist.h:902
#10 0x07f59be9 in Kopete::MetaContact::isOnline (this=0x85022ae0) at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/libkopete/kopetemetacontact.cpp:516
#11 0x0f866f81 in Kopete::UI::ContactListTreeModel::countConnected (this=0x88639cc0, gmi=0x89753300)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:233
#12 0x0f86757c in Kopete::UI::ContactListTreeModel::data (this=0x88639cc0, index=@0xcfbcac10, role=138)
    at /usr/ports/pobj/kdenetwork-4.9.2/kdenetwork-4.9.2/kopete/kopete/contactlist/contactlisttreemodel.cpp:318
Comment 2 Jekyll Wu 2012-10-23 14:00:54 UTC

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