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

Bug#286717: marked as done (glibc: locale initialisation failure if cannot mmap locale.alias)



Your message dated Sat, 15 Jan 2005 20:25:30 +0900
with message-id <81llavq6hh.wl@omega.webmasters.gr.jp>
and subject line Bug#286717: glibc: locale initialisation failure if cannot mmap locale.alias
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Dec 2004 17:46:19 +0000
>From jay@gnu.org Tue Dec 21 09:46:19 2004
Return-path: <jay@gnu.org>
Received: from tallyho.bytemark.co.uk [80.68.81.166] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cgo5T-0004bu-00; Tue, 21 Dec 2004 09:46:19 -0800
Received: from [212.13.199.77] (helo=excession.spiral-arm.org)
	by tallyho.bytemark.co.uk with esmtp (Exim 4.34)
	id 1Cgo7T-00022j-5s; Tue, 21 Dec 2004 17:48:23 +0000
Received: from orbital.spiral-arm.org (adsl-static-3-73.uklinux.net [62.245.38.73])
	by excession.spiral-arm.org (Postfix) with SMTP
	id 2D18D8174; Tue, 21 Dec 2004 17:46:17 +0000 (GMT)
Received: by orbital.spiral-arm.org (Postfix, from userid 1001)
	id E11BC1418C; Tue, 21 Dec 2004 17:46:16 +0000 (GMT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: James Youngman <jay@gnu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: glibc: locale initialisation failure if cannot mmap locale.alias
X-Mailer: reportbug 3.4
Date: Tue, 21 Dec 2004 17:46:16 +0000
Message-Id: <20041221174616.E11BC1418C@orbital.spiral-arm.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: glibc
Severity: minor
Tags: l10n


If VM is limited (e.g. with ulimit  -v 1800), the output of "sort" fails 
the "sort -c" check if $LANG is set; the upstream coreutils maintainer 
(Paul Eggert) alleges that this may be due to a glibc set-up problem or 
perhaps a bug.

Paul writes:

I suspect this is a problem with your GNU C library setup, not with
"sort" per se.  glibc attempts to mmap the locale-archive file as a 
performance speedup, and falls back on the locale.alias file if the 
locale-archive can't be mmapped (which in this case it can't, because 
you're low on memory).  Perhaps these two sources of locale information 
are inconsistent on your host.  Or possibly you have found a glibc bug. 
Most likely you can work around the bug by setting LC_ALL="C" in your 
environment

More details can be found at
http://savannah.gnu.org/bugs/?func=detailitem&item_id=11004, which is
the initial bug report against coreutils.  This includes a typescript
demonstrating the problem, and strace output of both the failing case 
and the case where there is no problem (i.e. where VM is not limited).



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-smp
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)

---------------------------------------
Received: (at 286717-done) by bugs.debian.org; 15 Jan 2005 11:25:31 +0000
>From gotom@debian.or.jp Sat Jan 15 03:25:31 2005
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cpm3e-0004O3-00; Sat, 15 Jan 2005 03:25:31 -0800
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 3430FDEB3B; Sat, 15 Jan 2005 20:25:30 +0900 (JST)
Date: Sat, 15 Jan 2005 20:25:30 +0900
Message-ID: <81llavq6hh.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Paul Eggert <eggert@CS.UCLA.EDU>, 286717-done@bugs.debian.org
Cc: GOTO Masanori <gotom@debian.or.jp>, James Youngman <jay@gnu.org>
Subject: Re: Bug#286717: glibc: locale initialisation failure if cannot mmap locale.alias
In-Reply-To: <[🔎] 871xco6o2h.fsf@penguin.cs.ucla.edu>
References: <20041221174616.E11BC1418C@orbital.spiral-arm.org>
	<[🔎] 81u0pkre6t.wl@omega.webmasters.gr.jp>
	<[🔎] 871xco6o2h.fsf@penguin.cs.ucla.edu>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 286717-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

At Fri, 14 Jan 2005 07:13:42 -0800,
Paul Eggert wrote:
> GOTO Masanori <gotom@debian.or.jp> writes:
> 
> > Thus, this is not bug of either glibc or coreutils.  Paul, how do you
> > think about this?
> 
> Your analysis sounds good to me.  Thanks.

Thanks, this report is treated as glibc default behaivor, I close it.

Regards,
-- gotom



Reply to: