[kopete-bugs] [Bug 204243] Kopete crashes after the first status cycle online->offline->online (PropertyContainer::property, setProperty, JabberAccount::slotContactUpdated)
Damir Islamov
damir at trefle.ru
Wed Aug 26 09:29:12 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=204243
--- Comment #1 from Damir Islamov <damir trefle ru> 2009-08-26 09:29:08 ---
Additional info:
After the step
> 4. set the status online
"Fatal error in the Jabber contact pool..." exception occures from here
.../kopete/protocols/jabber/jabbercontactpool.cpp:
JabberContact *JabberContactPool::addContact ( const XMPP::RosterItem &contact,
Kopete::MetaContact *metaContact, bool dirty )
{
// see if the contact already exists
JabberContactPoolItem *mContactItem = findPoolItem ( contact );
if ( mContactItem)
{
kDebug(JABBER_DEBUG_GLOBAL) << "Updating existing contact " <<
contact.jid().full() << " - " << mContactItem->contact();
// It exists, update it.
mContactItem->contact()->updateContact ( contact );
mContactItem->setDirty ( dirty );
JabberContact *retval = dynamic_cast<JabberContact
*>(mContactItem->contact ());
if ( !retval )
{
KMessageBox::error ( Kopete::UI::Global::mainWidget (),
"Fatal error
in the Jabber contact pool. Please restart Kopete and submit a debug log "
"of your
session to http://bugs.kde.org.",
"Fatal Jabber
Error" );
}
return retval;
}
i.e. retval=NULL, which leads to
Thread 1 (Thread 0xb5795700 (LWP 4300)):
[KCrash Handler]
#6 Kopete::PropertyContainer::hasProperty (this=0x0, key=...) at
../../../kopete/libkopete/kopetepropertycontainer.cpp:108
#7 0xb7fd6e1f in Kopete::PropertyContainer::property (this=0x0, key=...) at
../../../kopete/libkopete/kopetepropertycontainer.cpp:113
#8 0xb7fd72a2 in Kopete::PropertyContainer::setProperty (this=0x0, tmpl=...,
value=...) at ../../../kopete/libkopete/kopetepropertycontainer.cpp:145
#9 0xb322b633 in JabberAccount::slotContactUpdated (this=0x87c8478, item=...)
at ../../../../kopete/protocols/jabber/jabberaccount.cpp:1339
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the kopete-bugs
mailing list