Bug#640855: gir1.2-pango-1.0: Double free after calling Pango.Context.get_font_description() from python
joss at debian.org
Thu Sep 8 09:43:20 UTC 2011
Le jeudi 08 septembre 2011 à 00:09 +0100, Tony Houghton a écrit :
> If I call Pango.Context.get_font_description() from python I get a crash
> on exit from my function. There's a sort of backtrace which says it's
> caused by a double free or corruption in pango_font_description_free.
> I guess the problem is that python thinks it "owns" the
> PangoFontDescription object, but the description of
> pango_context_get_font_description() (C version) says it returns "a
> pointer to the context's default font description. This value must not
> be modified or freed." However, the result is not const, which might
> have led to an oversight in gir that this object needs special treatment
> eg pango_font_description_copy_static().
Please send bugs that are unrelated to Debian packaging (like your
previous complaints about PyGobject) upstream at bugzilla.gnome.org.
.''`. Josselin Mouette
: :' :
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part
More information about the pkg-gnome-maintainers