Project

General

Profile

Actions

Bug #1782

closed

non-English locales causes application crashes on x86-64

Added by ftigeot almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions #1

Updated by ftigeot over 13 years ago

On Mon, Jun 14, 2010 at 11:34:32PM +0200, Francois Tigeot wrote:

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

This issue can be closed: the problem lies purely with devel/gettext-lib

I have opened a new pkgsrc problem report:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=43879

Actions

Also available in: Atom PDF