Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#552528: Caused by character set mismatch

 
   Soft32 Home -> Linux -> Bugs RC RSS
Next:  Bug#555010: dvgrab: Dvgrab is uncompatible with n..  
Author Message
Matt Kraai

External


Since: Nov 22, 2006
Posts: 120



(Msg. 1) Posted: Sat Nov 07, 2009 5:20 pm
Post subject: Bug#552528: Caused by character set mismatch
Archived from groups: linux>debian>bugs>rc (more info?)

Hi,

On my system, alacarte has a segmentation fault if I reconfigure the
locales package to generate the it_IT@euro locale and set LANG to
"it_IT@euro".

While it's parsing the UI definition, it translates "Restore the
default menu layout" to "Ripristina la struttura predefinita del
men�", which uses the ISO/IEC 8859-15 character set. It subsequently
calls g_markup_escape_text on this string, which expects it to use
UTF-8. This causes it to miss the end of the string and, eventually,
to try to access an inaccessible page, causing the segmentation fault.

I don't know where or how this should be fixed.

--
Matt http://ftbfs.org/kraai



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Matt Kraai

External


Since: Nov 22, 2006
Posts: 120



(Msg. 2) Posted: Mon Nov 09, 2009 11:20 pm
Post subject: Bug#552528: Caused by character set mismatch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Nov 09, 2009 at 11:55:57PM +0100, Josselin Mouette wrote:
> Le samedi 07 novembre 2009 à 13:32 -0800, Matt Kraai a écrit :
> > On my system, alacarte has a segmentation fault if I reconfigure the
> > locales package to generate the it_IT@euro locale and set LANG to
> > "it_IT@euro".
> >
> > While it's parsing the UI definition, it translates "Restore the
> > default menu layout" to "Ripristina la struttura predefinita del
> > men�", which uses the ISO/IEC 8859-15 character set. It subsequently
> > calls g_markup_escape_text on this string, which expects it to use
> > UTF-8. This causes it to miss the end of the string and, eventually,
> > to try to access an inaccessible page, causing the segmentation fault.
> >
> > I don't know where or how this should be fixed.
>
> There is probably a missing bind_textdomain_codeset call, or whatever
> the equivalent is in Python.

Python's gettext module provides a bind_textdomain_codeset call, but
adding

gettext.bind_textdomain_codeset(config.GETTEXT_PACKAGE,'UTF-8')

and prefixing GETTEXT_PACKAGE on the previous two lines with "config."
doesn't eliminate the segmentation fault.

> Anyway, we don’t support non-UTF8 locales anymore, so that’s not a very
> important bug.

Would it be OK to downgrade its severity? If so, to what?

--
Matt http://ftbfs.org/kraai



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#435572: octave2.1-forge: the package cannot be install.. - Package: octave2.1-forge Severity: serious Justification: Policy 3.5 Hi, the package depends on libgsl0 which is no....

Bug#424445: Proposed patch for #424445 (turkey FTBFS) - I have used a slightly modified version of your patch in Ubuntu, and now thanks to you we also are able to compile for....

Bug#311188: (no subject) - I send some little pings to some of the bugs who can be easily fixed. For the syslogd stuff I would wait if joey..

Bug#435586: centerim-utf8: undeclared overlap with centerim - Package: centerim-utf8 Version: 4.22.1-1 Severity: serious Package does not install: Unpacking centerim-utf8 (from..

Bug#435600: apt-rpm_0.5.15lorg3.2-2(ia64/unstable): FTBFS:.. - Package: apt-rpm Version: 0.5.15lorg3.2-2 Severity: serious There was an error while trying to autobuild your package:...

about wide character and multiple byte character - Hello everyone, In my mind, wide character means in the encoding scheme, each character is encoded with the same..
       Soft32 Home -> Linux -> Bugs RC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]