This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Error in loadlocale.c ?


I have encountered a very wierd problem on 2.2.3pre3 (haven't testes it
on pre1 or pre2). Actualy, this is not really pre3, but CVS from 2 days after
pre3 was released.

pre@morcego [/home/pre/rpm/SPECS] > rpm -qa
rpm: loadlocale.c:221: _nl_load_locale: Assertion `idx % __alignof__ (u_int32_t) == 0' failed.
Abort (core dumped) 

This problem only happens when I use LC_ALL=en_US.
For LC_ALL=en , LC_ALL=pt_BR  and LC_ALL=C (the other two I tested), 
this problem does not occur.

I have no clue about what it might be.

Tested on the machine specified bellow, with glibc optimized for i386,
i586, i686 and athlon (-march). Same problem with all builds.

This problem does not occur with 2.2.2.

My machine:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 1
model name      : AMD-K7(tm) Processor
stepping        : 2
cpu MHz         : 654.589
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat mmxext mmx 3dnowext 3dnow
bogomips        : 1304.16

The rpm version that showed this problem is rpm 4.0.2. Haven't yet reproduced
it with any other application, so maybe this is something related with rpm
itself (which does not seem probable, once the assert that is failing is
inside glibc itself, but who knows).

[]s

-- 
 Rodrigo Barbosa (morcego)         - rodrigob at conectiva.com.br
 Conectiva R&D Team                - http://distro.conectiva.com.br
 "Quis custodiet ipsos custodiet?" - http://www.conectiva.com

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]