[Aptitude-devel] Bug#513851: aptitude-gtk: Invalid memory reference

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Mar 19 21:43:47 UTC 2012


Hello,

Thank you for your interest in improving Debian, and sorry to keep the
bug unattended for so long.  There's now an effort to review the open
bugs related with aptitude and resume development.

I think that the following items are related, a bug report and a way
to fix it in Pidgin:
https://bugzilla.redhat.com/show_bug.cgi?id=743481
http://developer.pidgin.im/viewmtn/revision/diff/be5e66abad2af29604bc794cc4c6600ab12751f3/with/7eb1f6d56cc58bbb5b56b7df53955d36b9b419b8

The problem seems to be that the glib function expects utf8 strings
but it's given other strings by the locale settings:
  Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)

This is the documentation of the function, expecting "some valid UTF-8 text":
http://developer.gnome.org/glib/2.31/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text

So probably the fix involves validating the utf8 string, as Pidgin
does in the bugfix.

But before anything else, could you (Jiri) please check that this is
still happening?

Regards.





More information about the Aptitude-devel mailing list