[Bug 45554] New: various modules' GAsyncResults cannot safely be reffed and kept around
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 2 18:12:04 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45554
Bug #: 45554
Summary: various modules' GAsyncResults cannot safely be reffed
and kept around
Classification: Unclassified
Product: Telepathy
Version: git master
Platform: Other
OS/Version: All
Status: ASSIGNED
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: simon.mcvittie at collabora.co.uk
ReportedBy: simon.mcvittie at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
[Proposed to be fixed for 0.16.]
When you get a GAsyncResult, it's meant to be valid to ref it and keep it
around. From the GIO reference manual:
Applications may also take a reference to the GAsyncResult and call
"_finish()" later; however, the "_finish()" function may be called
at most once.
Some of our GAsyncResults had a borrowed pointer as their payload, which means
that if you did this, by the time you tried to "_finish()" them, the pointer
could have become invalid.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list