Summary: | Crash when calling RefreshContactInfo | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Xavier Claessens <xclaesse> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Xavier Claessens
2010-05-14 01:46:45 UTC
Oh, actually it's not calling RequestContactInfo, but RefreshContactInfo. Should be the same though. Note: I'm running gabble 0.9.11, the crash is 100% reproductible. (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 Proposed patch fix the issue and looks good, please merge :) (In reply to comment #4) > Proposed patch fix the issue and looks good, please merge :) Cool, I'll merge it as soon as I make a testcase for it. Fix and updated testcase merged to master. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.