[CentOS] Problems in x86_64 Centos 5
Ross S. W. Walker
rwalker at medallion.com
Fri Sep 7 13:37:41 UTC 2007
From: centos-bounces at centos.org
[mailto:centos-bounces at centos.org] On Behalf Of Ross S. W. Walker
>
> From: centos-bounces at centos.org
> [mailto:centos-bounces at centos.org] On Behalf Of
> Erkki.Aalto at Helsinki.FI
> >
> > We upgraded a 64 bit server from Centos 4 to 5 and encountered some
> > strange problems. Tcsh segfaulted irregurarily and emacs gave
> > irregurarily
> > strange error messages about regular expressions. Both problems
> > disappeared when a 32-bit version was installed instead of
> the 64-bit.
> > Ldconfig still occasionally segfaults.
> >
> > 64-bit servers where Centos 5 was installed from scratch have
> > no problems.
> > It is like there were some sort of remnant of the previous OS, but I
> > can't figure out where.
> >
> > Strace of a 64-bit tcsh usually ends like this:
> >
> > open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
> > fstat(3, {st_mode=S_IFREG|0644, st_size=55537056, ...}) = 0
> > mmap(NULL, 55537056, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaae0000
> > close(3) = 0
> > brk(0) = 0x15b30000
> > brk(0x15b30800) = 0x15b30000
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> >
> > and ltrace gives:
> >
> > __libc_start_main(0x405180, 1, 0x7fff89087298, 0x440b30, 0x440b20
> > <unfinished ...>
> > setlocale(5, "" <unfinished ...>
> > sbrk(0) =
> 0x141f1000
> > sbrk(2048) =
> > 0xffffffffffffffff
> > --- SIGSEGV (Segmentation fault) ---
> > +++ killed by SIGSEGV +++
> >
> > Does anyone have any ideas?
>
> Not to state the obvious, but it looks like the problem lies in the
> locale libraries.
>
> Try doing an RPM audit of /usr/share/locale and /usr/lib/locale and
> see if there is a 4.5 compiled locale lurking down there.
>
> If you set a particular locale within shell scripts, start there
> first...
Let me reply to my own post that it might be a version mismatch with
glibc-common between 4 and 5.
-Ross
______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
More information about the CentOS
mailing list