bug-gnu-utils
[Top][All Lists]
Advanced

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

Bug#112227: uuencode segfaults if LANG is set to ru_RU.KOI8-R (fwd)


From: Santiago Vila
Subject: Bug#112227: uuencode segfaults if LANG is set to ru_RU.KOI8-R (fwd)
Date: Fri, 14 Sep 2001 14:43:52 +0200 (CEST)

Hello.

I received this report from the Debian Bug System.

A gdb backtrace shows the following:

Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x4008a988 in free () from /lib/libc.so.6
(gdb) bt
#0  0x4008a988 in free () from /lib/libc.so.6
#1  0x4008a66a in malloc () from /lib/libc.so.6
#2  0x40089e44 in malloc () from /lib/libc.so.6
#3  0x804a77e in make_entry_rec (dirname=0x804b385 "/usr/share/locale",
    mask=8, language=0xbffff9bc "ru", territory=0xbffff9bf "RU",
    codeset=0xbffff9c2 "KOI8-R", modifier=0x0, special=0x0, sponsor=0x0,
    revision=0x0, domain=0xbffff9cc "LC_MESSAGES/sharutils.mo", do_allocate=1)
    at finddomain.c:454
#4  0x804a810 in make_entry_rec (dirname=0x804b385 "/usr/share/locale",
    mask=24, language=0xbffff9bc "ru", territory=0xbffff9bf "RU",
    codeset=0xbffff9c2 "KOI8-R", modifier=0x0, special=0x0, sponsor=0x0,
    revision=0x0, domain=0xbffff9cc "LC_MESSAGES/sharutils.mo", do_allocate=1)
    at finddomain.c:476
#5  0x804a464 in _nl_find_domain (dirname=0x804b385 "/usr/share/locale",
    locale=0xbffff9bc "ru", domainname=0xbffff9cc "LC_MESSAGES/sharutils.mo")
    at finddomain.c:299
#6  0x8049b44 in dcgettext__ (domainname=0x8062240 "sharutils",
    msgid=0x804b200 "Try `%s --help' for more information.\n", category=5)
    at dcgettext.c:310
#7  0x8049192 in usage (status=1) at uuencode.c:211
#8  0x804940b in main (argc=1, argv=0xbffffb44) at uuencode.c:285

The Debian version of gettext is built using ./configure --with-gnu-gettext,
so I think this is a bug in the gettext library at "intl", which is
version 0.10.

If I remove --with-gnu-gettext from the configure command line, I get
this error:

make[2]: Entering directory `/tmp/sharutils-4.2.1/po'
/usr/bin/msgfmt -o nl.mo nl.po
nl.po:450: `msgid' and `msgstr' entries do not both end with '\n'
found 1 fatal errors

IMHO, the sharutils package needs an official update (intl and translations).

Thanks.

---------- Forwarded message ----------
Date: Fri, 14 Sep 2001 14:17:52 +0400
From: Nikita V. Youshchenko <address@hidden>
To: address@hidden
Subject: Bug#112227: uuencode segfaults if LANG is set to ru_RU.KOI8-R

Package: sharutils
Version: 1:4.2.1-7
Architecture: i386

Just noticed.
On my system (Debian Linux on x86, updated to current unstable) 'uuencode'
always segfaults.
The output of 'strace -o /tmp/strace uuencode' and
'ltrace -o /tmp/ltrace uuencode' is attached.

The problem exists only if LANG is set to ru_RU.KOI8-R (de-facto standard
russian locale). If LANG is unset, uuencode works.

Libc version is 2.2.4-1.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]