Bug 21793 - Assertion fail if the hashtable for presence status is NULL for provided contacts
Summary: Assertion fail if the hashtable for presence status is NULL for provided cont...
Status: RESOLVED DUPLICATE of bug 21792
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 05:49 UTC by Naveen
Modified: 2009-05-18 06:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.