Bug 137470

Summary: socket error 14 with ICQ plugin - Kopete freezes for 1 minute
Product: [Unmaintained] kopete Reporter: David Saro <tiggernews>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David Saro 2006-11-16 23:32:47 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc-Version 3.4.6 
OS:                Linux

Hello,

I have 6 accounts in kopete configured and two of these are for ICQ. Since I updated from kde-3.5.2 to kde-3.5.5 I got a problem with one account.
Everytime I started to connect with this account kopete freeze for a minute.
I compared two debug outputs and I realised that the freeze was not at the same position.

Here one debug output:

kopete (oscar - raw protocol): [Oscar::DWORD Oscar::parseCapabilities(Buffer&, QString&)] CAPS: CAP_SENDFILE CAP_IMIMAGE CAP_BUDDYICON CAP_UTF8
kopete (oscar - raw protocol): [void UserDetails::fill(Buffer*)] Unknown TLV, type=39, length=4 in userinfo
kopete (oscar/icq): [virtual void ICQContact::userInfoUpdated(const QString&, const UserDetails&)] extendedStatus is 268566529
kopete (oscar - raw protocol): [void Client::addICQAwayMessageRequest(const QString&, Client::ICQStatus)] adding away message request for 116786738 to queue
kopete (oscar - raw protocol): [void Client::removeICQAwayMessageRequest(const QString&)] removing away message request for 116786738 from queue

HERE IT FREEZE FOR A MINUTE

kopete (oscar - raw protocol): [void KNetworkByteStream::slotError(int)] Socket error 14
kopete (oscar - raw protocol): [void KNetworkConnector::slotError(int)] Error detected: 14
kopete (oscar - raw protocol): [void ClientStream::cr_error()]
kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()]
kopete (oscar - raw protocol): [void ConnectionHandler::remove(Connection*)] Removing connection 0x858e310
kopete (oscar - raw protocol): [virtual void KNetworkConnector::done()]
kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 87 bytes.
kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 21 subtype: 3 flags: 0 id: 15025
kopete (oscar - raw protocol): [virtual bool ICQUserInfoRequestTask::take(Transfer*)] Received short user info
kopete (oscar - raw protocol): [virtual void ICQShortInfo::fill(Buffer*)] Parsing ICQ short user info packet
kopete (oscar - raw protocol): [void Client::receivedIcqInfo(const QString&, unsigned int)] received icq info for 119792138 of type 1
kopete: [void KopeteWindow::slotAccountStatusIconChanged(Kopete::Contact*)] [variant:  toString=]
kopete (oscar - raw protocol): [void Client::nextICQAwayMessageRequest()] request queue count 2
kopete (oscar - raw protocol): [void Client::requestICQAwayMessage(const QString&, Client::ICQStatus)] requesting away message for 166226610
kopete (oscar - raw protocol): [void SendMessageTask::addChannel2Data(Buffer*)] Trying to send type 2 message!
kopete (oscar - raw protocol): [virtual void SendMessageTask::onGo()] SENDING:
Comment 1 David Saro 2006-12-23 18:18:13 UTC
I don't know why, but my problems seems to be solved.
I turned of this account for a while.

One month ago I tried to connect with this account again and the freezes are not there anymore.
I use Gentoo and I think some updates solved it.