[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#221696: locales: Some programs don't work with et_EE locale



clone 221696 -1
reassign -1 menu
retitle -1 SEGV when parsing invalid config file
reassign 221696 libc6
thanks

On Wed, Nov 19, 2003 at 07:02:12PM +0200, Jaan Pullerits wrote:
> Package: locales
> Version: 2.3.2.ds1-10
> Severity: normal
> 
> The problem is that some programs like for example menu fail to execute when the 
> locale is set to et_EE. 
> 
> Menu generates following output:
> --- CUT HERE ---
> In file "/etc/menu-methods/wmaker", at (or in the definition that ends at) line 10:
> userprefix="GNUstep/Library/WindowMaker/"
> ^
> Unknown Error
> install-menu: /etc/menu-methods/wmaker: Aborting
> update-menus[1265]: Script /etc/menu-methods/wmaker returned error status 1.
> --- CUT HERE ---
> 
> If I set the LC_ALL=C the program runs with no problems. (For fun I
> tried installing different locale lt_LT, this generated no errors
> either.)
> 
> There is other programs that have similar problems, one of them is
> ecasound (and ladspa). When setting locale to C they work again.

If I replace in /etc/menu-methods/translate_menus the b in the
subtranslate word by a space, a segmentation fault occurs under C
locale.  There are 2 bugs here:
  1. Under et_EE locale, the 'subtranslate' word is not recognized,
     this is certainly a bug in glibc regexes
  2. update-menus segfaults when parsing an invalid config file.

As a workaround you can set LC_COLLATE=C until 1 is fixed.

Denis



Reply to: