[Bug 42186] tp_base_contact_list_set_list_received: assertion `self->priv->state != TP_CONTACT_LIST_STATE_SUCCESS' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 28 19:26:42 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42186

--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2011-10-28 10:26:42 PDT ---
>From the log, Gabble sends the initial roster query:

wocky-DEBUG: 24.10.2011 20:28:05.884869: _write_node_tree: Serializing tree:
* iq xmlns='jabber:client' type='get' id='360457884838'
    * query xmlns='jabber:iq:roster'

It gets a reply 2 seconds later:

wocky-DEBUG: 24.10.2011 20:28:07.247874: _end_element_ns: Received stanza
* iq xmlns='jabber:client' to='grandmaster at vk.com/37346436' type='result'
id='360457884838'
    * query xmlns='jabber:iq:roster'

…and then gets the same reply *again*:

wocky-DEBUG: 24.10.2011 20:28:09.73115: _end_element_ns: Received stanza
* iq xmlns='jabber:client' to='grandmaster at vk.com/37346436' type='result'
id='360457884838'
    * query xmlns='jabber:iq:roster'

The issue is that Gabble doesn't use send_iq_async() or something to send the
initial request: it just fires off the IQ, and then has a handler which looks
for IQs of type 'set' or 'result' which contain <query
xmlns='jabber:iq:roster'/>. It never checks that it doesn't get the result
twice…

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