DragonFly BSD
DragonFly bugs List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

non-English locales causes application crashes on x86-64


From: Francois Tigeot <ftigeot@xxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 23:34:32 +0200

On DragonFly 2.6/x86-64, internationalized programs crash when the LANG
environment variable is set to a non-English value.

The following examples use psql from databases/postgresql84 but any other
program using translated text strings I have tested crashes in the same way:

[DragonFly/i386 and /x86-64, English locale]
$ LANG="" psql template1
psql (8.4.4)
Type "help" for help.
. ..

$ LANG="en_US.UTF-8" psql template1
psql (8.4.4)
. ..

[DragonFly/i386, non English locale]
$ LANG="fr_FR.UTF-8" psql template1
psql (8.4.4)
Saisissez « help » pour l'aide.
. ..

[DragonFly/x86-64, non English locale]
$ LANG="fr_FR.UTF-8" psql template1
[1]    40373 segmentation fault (core dumped)  LANG="fr_FR.UTF-8" psql template1


According to gdb, the crashes occur in libintl_dcigettext(), at dcigettext.c:669.
This file is a part of pkgsrc devel/gettext-lib

-- 
Francois Tigeot



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