Bug 21793

Summary: Assertion fail if the hashtable for presence status is NULL for provided contacts
Product: Telepathy Reporter: Naveen <ernaveenverma>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Naveen 2009-05-18 05:49:15 UTC
Well I have found this issue during analysis of existing cores, so I don't know the sequence how it can be reproduce. But the main thing is, in the presence mixin "tp_presence_mixin_simple_presence_register_with_contacts_mixin()" function we are registering the function "tp_presence_mixin_simple_presence_fill_contact_attributes()" and the implementation of this function calls mixin get contact statuses callback function "get_contact_statuses()" which return the GHashTable. The HashTable can be NULL as well in which case we need to check the error for reason. But in this function we have an assert if the hashtable is NULL. Which abort the process.
Comment 1 Will Thompson 2009-05-18 06:35:07 UTC
I have a patch awaiting review on #21792.
Comment 2 Will Thompson 2009-05-18 06:35:13 UTC
I have a patch awaiting review on #21792.

*** This bug has been marked as a duplicate of bug 21792 ***

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.