[Bug 42186] Gabble assumes that the server only replies to its roster query once (!)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 28 19:38:59 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=42186
Will Thompson <will.thompson at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|telepathy-bugs at lists.freede |will.thompson at collabora.co.
|sktop.org |uk
--- Comment #3 from Will Thompson <will.thompson at collabora.co.uk> 2011-10-28 10:38:59 PDT ---
Created attachment 52863
--> https://bugs.freedesktop.org/attachment.cgi?id=52863
roster: ignore multiple replies to roster query.
The XMPP server running on vk.com is buggy, and replies to our roster
query twice. Gabble just blindly assumed that any <iq type='result'>
with a roster in it was the singular reply to our singular query. This
is a pretty reasonable assumption but this buggy server violates it, and
Gabble calls tp_base_contact_list_set_list_received() more than once,
which triggers a critical in that function.
A more invasive fix would use wocky_porter_send_iq_async() rather than
scraping all the roster IQs out of everything using the LM API, but I
wanted to quickly fix a bug on a Friday afternoon.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list