[Bug 28101] Crash when calling RefreshContactInfo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 14 11:20:05 CEST 2010


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

--- Comment #3 from Senko Rasic <senko at senko.net> 2010-05-14 02:20:04 PDT ---
(In reply to comment #0)
> gabble:ERROR:vcard-manager.c:1553:gabble_vcard_manager_request: assertion
> failed: (entry->vcard_node == NULL)
> 
> #4  0x000000000046b20a in gabble_vcard_manager_request (self=0xa77c10,
> handle=2, timeout=0, callback=<value optimized out>, 
>     user_data=<value optimized out>, object=0x0) at vcard-manager.c:1553
> #5  0x00000000004a7bbf in gabble_connection_refresh_contact_info (iface=<value
> optimized out>, contacts=0xa4eca0, context=0x7691d0)
>     at conn-contact-info.c:591

Looks to me like gabble_connection_refresh_contact_info() doesn't clear the
cache entry for the handle before refreshing it. The method
gabble_vcard_manager_request() expect the cache entry to be empty (hence the
assert).

Proposed fix (untested):
http://git.collabora.co.uk/?p=user/ptlo/telepathy-gabble/.git;a=shortlog;h=refs/heads/conn-info-fix

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