This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Fwd: Bug#41144: incomplete or broken locale defns cause general chaos
- To: libc-alpha@sourceware.cygnus.com
- Subject: Re: Fwd: Bug#41144: incomplete or broken locale defns cause general chaos
- From: Daniel Jacobowitz <drow@false.org>
- Date: Sun, 22 Aug 1999 17:52:11 -0400
- References: <v0420550ab3e61aa45178@[206.163.71.146]>
Well, there's definitely a nasty little bug here. Try this:
$ LANG=IT_it strace date +%p
<snip>
mremap(0x30057000, 0x1d13000, 0x1d13000, 0x1) = 805662720
mremap(0x30057000, 0x1d13000, 0x1d14000, 0x1) = 805662720
mremap(0x30057000, 0x1d14000, 0x1d14000, 0x1) = 805662720
mremap(0x30057000, 0x1d14000, 0x1d14000, 0x1) = 805662720
mremap(0x30057000, 0x1d14000, 0x1d14000, 0x1) = 805662720
<continue like this>
The program maps a steadily growing memory region, growing at >20MB a
minute.
On Sun, Aug 22, 1999 at 02:28:34PM -0700, Joel Klecker wrote:
> [ Forwarded from the Debian Bug-tracking system, please keep
> 41144-forwarded@bugs.debian.org cc'ed so replies are recorded. ]
>
> Is this a bug? Is it feasible to fix?
>
> The data files are created using the install-locales makefile target.
>
> >Subject: Bug#41144: incomplete or broken locale defns cause general chaos
> >Reply-To: Chris Waters <xtifr@dsp.net>, 41144@bugs.debian.org
> >Resent-From: Chris Waters <xtifr@dsp.net>
> >Resent-To: debian-bugs-dist@lists.debian.org
> >Resent-CC: Joel Klecker <debian-glibc@lists.debian.org>
> >Resent-Date: Mon, 12 Jul 1999 11:18:03 GMT
> >X-Debian-PR-Message: report 41144
> >X-Debian-PR-Package: locales
> >X-Debian-PR-Keywords:
> >X-Loop: owner@bugs.debian.org
> >To: submit@bugs.debian.org
> >X-Face:
> >0$dU..KL82%;siAe6m&>;ePVrC9X}RDHVuP\2dc.KDc'fFM.|d6*OCGAC9Ms#0yMFc0@uJ
> >2
> > r_*p_[]7x'-|>I`5C^.|U)bFidwQ=d>'qkt4m"084D3gPH6v$rKWX^o/.Y{x9Fe2e4P*dm
> >From: Chris Waters <xtifr@dsp.net>
> >Date: 12 Jul 1999 04:15:38 -0700
> >Lines: 28
> >X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/40738
> >X-Loop: debian-bugs-dist@lists.debian.org
> >Resent-Sender: debian-bugs-dist-request@lists.debian.org
> >Status:
> >
> >Package: locales
> >Version: 2.1.1-13
> >Severity: critical
> >
> >Many of the locale definitions seem to have missing, undefined
> >fields. This wreaks havoc on a number of programs, causing them to
> >hang or crash or otherwise fail. A simple example:
> >
> >LANG=it_IT date +%p
> >
> >This will hang with most of the provided locales, not just it_IT.
> >Only the japanese, turkish, chinese, icelandic and most of the english
> >and spanish locales pass this simple test. Any which fail this test
> >can also cause emacs (as a random example) to hang.
> >
> >I've checked with a few other people, and this seems to be pretty
> >consistent. I think we need to have *some* value defined for
> >everything that's supposed to be in a locale for all locales. Better
> >to have incorrect data (e.g. from C or POSIX locales) than no data,
> >IMO, since incorrect data won't cause things to hang....
> --
> Joel Klecker (aka Espy) Debian GNU/Linux Developer
> <URL:mailto:jk@espy.org> <URL:mailto:espy@debian.org>
> <URL:http://web.espy.org/> <URL:http://www.debian.org/>
>
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan@debian.org | | dmj+@andrew.cmu.edu |
\--------------------------------/ \--------------------------------/