Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is this really rather serious segmentation fault in redhat glibc update?
Yo!
What is segmentation fault?
I tried to install glibc latest update for my Linux redhat 9.0 but when I installed I noticed that it was my worst move I ever have done with any computer.
After the installation the Linux was totally destroyed. It was like somebody has dropped an E- bomb. Absolutely nothing was possible to do after that. I tried to uninstall the glibc but I allways got an answer: " segmentation fault"
After that all commands gave me same answer : " segmentation fault" " segmentation fault" " segmentation fault".
I tried to reboot computer but linux could not boot : reinstallation.
It gave me some some warnings while installing the glibc but I don't remember it.
What installation method are you using? (CD, network, FTP, etc.) Did you download it or buy it? If you bought it, have you contacted RedHat's technical support? If you downloaded it, did you verify the MD5 sum before burning to a CD?
Segmentation faults almost never occur in production code (which glibc certainly is), so my only thought is that somehow your installation medium got corrupted. glibc is an important part of many Linux programs, so corruption of it is very bad
I always check MD5 before burning or installing. MD5 errors are rare, luckily. Its a miracle that ftp is so good system as it is. But sometimes the files are corrupted. I download the files from the same country where I live and the speed is light speed, approx 500 kt/s.
I also compiled this glibc upgrade from source with command:
rpmbuild --rebuild --target=i686 glibc*
I have also tested ready made rpm's i386.rpm files and also these compiled files - they both fail similarly. Compiling went smoothly without any errors - or maybe I didn't notice any alarms...its always possible. It takes a long time.
I think this MD5 is checked twice...first by me and then by gcc.
I install like this:
rpm -Uiv glibc* but first with --test option. No dependency problems said to be by rpm. test goes smoothly, no problems found.
But when I actually install them, always the same result - OS is destroyed.
What happens if you just install the RPM without rebuilding? glibc should come by default with the RedHat installation (I would think). Maybe there is some problem with compilation that slipped by... it might be safer to use the already-compiled version.
FYI, there is a problem with one of the RPM's that RedHat released for glibc. If you happened to download that RPM, it could have hosed your PC.
First off, I believe that they fixed it. I friend of mine installed RH9 just fine, went to upgrade from the RHN up2date and it blew up. I tried it yesterday and it worked fine.
Heres the problem. The new RPM did not correctly upgrade glibc and ended up leaving the old glibc on you PC. Now every program that depends on it ends up seg faulting.
Here's the fix:
1) Reboot to a linux rescue prompt (use the CD and boot it).
2) Use RPM to uninstall the glib packages and install the new one.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
Quote:
Originally posted by wapcaplet
Is there anything in Linux that *doesn't* depend on glibc?
The kernel!
Everything in userspace does..in one way or the other. Even the java compiler and runtime use the functions complied into the standard C library.
Originally posted by kaiserfro FYI, there is a problem with one of the RPM's that RedHat released for glibc. If you happened to download that RPM, it could have hosed your PC.
Here's the fix:
1) Reboot to a linux rescue prompt (use the CD and boot it).
2) Use RPM to uninstall the glib packages and install the new one.
Once that was done, everything worked again.
Jeff
Could you explain the bit about the linux rescue?
I mean, which rpm commands exactly? One has to
tell rpm to work with the packages on the original installed
linux, not with the packages on the rescue disk, right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.