[kopete-bugs] [Bug 263548] New: Jabber account spontaneously goes Offline

Paul Millar paul at astro.gla.ac.uk
Tue Jan 18 14:46:07 CET 2011


https://bugs.kde.org/show_bug.cgi?id=263548

           Summary: Jabber account spontaneously goes Offline
           Product: kopete
           Version: 1.0.0
          Platform: Debian unstable
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Jabber Plugin
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: paul at astro.gla.ac.uk


Version:           1.0.0 (using KDE 4.4.5) 
OS:                Linux

I have an account with jabber.org that I use with Kopete.

What I do and see (both in Kopete and tcpdump):

  1) right-click on my jabber.org account and choose "Online" status
  2) there's an initial flurry of messages (traffic observed in tcpdump,
messagtes observed in XML Console)
  3) the status of the Jabber.org account becomes "Online";
  4) kopete updates its internal state and shows various accounts (those
accessible via Jabber.org) as being on-line;
  5) there's a pause for a few seconds (10s--30s);
  6) everyone (accessible via jabber.org account) "disappears" from kopete
  7) the Jabber.org account status changes to "Offline"

The accounts "disappear" because I have Kopete configured so offline accounts
are not shown; if I change Kopete configuration so it also shows offline
accounts then I see still these accounts.

Sometimes going-Online-then-Offline process loops: after the Jabber.org account
spontaneously switches to Offline, kopete spontaneously switches back to online
again.  The "Online" is, again, short-lived and flips back of "Offline" after a
few seconds.  This looping behaviour is rare, I have only observed it once.

The XML Console shows many messages from jabber.org.  The last one before the
status becomes Offline is:

<presence from="paul at jabber.org/Kopete-work" type="unavailable"
to="paul at jabber.org/Kopete-work"/>

Note that this "<presence/>" message is coming *from* jabber.org server.

It seems that this message is received by kopete and kopete updates its status
to match by switching offline.

Some further information:

  the TCP connection is not broken: neither end sends a FIN or RST packet.

  jabber.org continue to send messages to kopete after kopete has marked the
account as offline.  These messages appear in the XML Console.

It could be that the jabber.org server is in error in sending the message:

<presence from="paul at jabber.org/Kopete-work" type="unavailable"
to="paul at jabber.org/Kopete-work"/>

I don't know XMPP well enough to say; however, even if it is, IMHO kopete
should be robust against this kind of bug.

Reproducible: Always

Steps to Reproduce:
Right-click on the Jabber.org account; select "Online" status; wait.

Actual Results:  
Observe kopete updating its knowledge of whether people are currently online
(people appear in kopete's main window)
After a few (10--30) seconds, these people disappear and the Jabber.org account
shows offline.

Expected Results:  
Jabber.org account stays online.

OS: Linux (i686) release 2.6.35.2
Compiler: cc

-- 
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