LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 04-18-2003, 06:49 AM   #1
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
Talking 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.

Please advice.

Last edited by Tommi; 04-18-2003 at 08:02 AM.
 
Old 04-18-2003, 07:33 AM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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
 
Old 04-18-2003, 07:33 AM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
this will answer what segmentation faults are: http://cs-www.bu.edu/help/unix/segmentation_fault.html
 
Old 04-18-2003, 07:51 AM   #4
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
I downloaded it from www.redhat.com

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.

-Tommi
 
Old 04-18-2003, 07:53 AM   #5
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Smile

BTW...thanks for quick help!!!!



 
Old 04-18-2003, 10:24 AM   #6
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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.
 
Old 04-18-2003, 02:49 PM   #7
kaiserfro
LQ Newbie
 
Registered: Mar 2003
Posts: 10

Rep: Reputation: 0
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.

Once that was done, everything worked again.

Jeff
 
Old 04-18-2003, 03:17 PM   #8
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Wow Hard to believe they missed that before it went out the door.

Is there anything in Linux that *doesn't* depend on glibc?
 
Old 04-18-2003, 04:51 PM   #9
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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.
 
Old 04-19-2003, 12:00 PM   #10
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Well...as I said I tried both updates:

1. readymade rpm's from redhats i386 folder

2. sources which I compiled later.

Same result with both tries. Os was totally destroyed.



-Tommi

 
Old 05-01-2003, 04:43 AM   #11
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 63

Rep: Reputation: 15
Quote:
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?

Actually I just experienced the same problem with the very latest
rpm packages, so redhat hasn't fixed anything yet:
http://www.linuxquestions.org/questi...pm+upgrade+RH9
 
Old 05-06-2003, 12:34 PM   #12
gill1109
Member
 
Registered: Dec 2002
Location: cyberspace
Distribution: Redhat 9
Posts: 63

Rep: Reputation: 15
ps, and take a look at bugzilla:

https://bugzilla.redhat.com/bugzilla...g.cgi?id=88456
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does Segmentation Fault mean ? baronlynx Linux - Newbie 10 10-25-2009 04:32 PM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
Help !!! Segmentation fault mola Linux - Software 3 06-23-2005 11:13 AM
Segmentation fault tejas15_10 Programming 9 06-20-2005 09:12 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration