Bug 75179
| Summary: | rpm -U to glibc-2.3-1 fails | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Alexandre Oliva <aoliva> |
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | fweimer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-10-05 06:41:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexandre Oliva
2002-10-05 05:44:15 UTC
Further investigation has revealed that it is build-locale-archive that crashes
with a segmentation fault:
Starting program: /usr/sbin/build-locale-archive
warning: shared library handler failed to enable breakpoint
Program received signal SIGSEGV, Segmentation fault.
0x0804bbd0 in ?? ()
(gdb) where
#0 0x0804bbd0 in ?? ()
#1 0x0804bb22 in ?? ()
#2 0x0804c6bc in ?? ()
#3 0x0804b4a3 in ?? ()
#4 0x0804961e in ?? ()
#5 0x08049e3f in ?? ()
#6 0x0804a70e in ?? ()
#7 0x0804864f in ?? ()
#8 0x0804c81c in ?? ()
strace says:
[...]
open("/usr/lib/locale/locale-archive.GstyG6", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
write(3, "\t\1\2\336\0\0\0\0008\0\0\0\0\0\0\0\213\3\0\0\274*\0\0"..., 56) = 56
ftruncate64(0x3, 0x235fc) = 0
mmap2(NULL, 144892, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x4012b000
fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_CUR, start=0, len=144892},
0xbffeb020) = 0
--- SIGSEGV (Segmentation fault) ---
Curiously, it crashes after a complete /usr/lib/locale/locale-archive file was
created, and for some reason it then proceeds to create yet another locale-archive.
Another interesting data point: if I rm -rf /usr/lib/locale/*_* before the update from 2.2.93-5, the problem does not occur, build-locale-archive runs just fine. Perhaps there's some junk that is installed by glibc-2.2.93-5 and is used by build-locale-archive before it is removed by the upgrade? Should be fixed in rawhide glibc. |