LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-20-2005, 11:54 AM   #1
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Rep: Reputation: 15
Segmentation fault, WHY??


After rebooting my computer I now get this all the time.

root@silverserver:/# ls
Segmentation fault
root@silverserver:/# ls -l
Segmentation fault
root@silverserver:/# ls -a
Segmentation fault
root@silverserver:/# dir
Segmentation fault
root@silverserver:/#

I can allso se that when I boot linux up there are some errors with mysql and some more program and they all has Segmentation fault in the error line. Plz help me.
 
Old 07-20-2005, 12:04 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,341

Rep: Reputation: 73
You're out of luck

Try to boot from a slackware CD (1 or 2)
mount your system partition in /mnt/hd
chroot /mnt/hd
rm /lib/libc.so.6
ln -s /lib/libc-2.3.4.so /lib/libc.so.6

remove the CD and reboot
 
Old 07-20-2005, 12:10 PM   #3
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
Humf, then I have to download the cd beacuse I don't have them

Do you know why?
 
Old 07-20-2005, 12:12 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,341

Rep: Reputation: 73
Maybe you can do it without boot from CD (as you are here)

Do the ln and rm commands work ?

As for why, I had exactly the same problem after a bad glibc upgrade
 
Old 07-20-2005, 12:13 PM   #5
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
yes, it looks like that!!


edit....
Now I have destroyed it totaly Now I can't start it at al. How should I do to fix it from my slackware cd (downloading it at the moment). I think I have to install the glibc files again to.

hmm.

chroot /mnt/hd and i get Segmentation fault. What to do??

Last edited by eXor; 07-20-2005 at 12:49 PM.
 
Old 07-20-2005, 12:56 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
You might want to run a 'memtest86' on your memory. Other than that, you don't HAVE to chroot to execute those commands.
 
Old 07-20-2005, 01:06 PM   #7
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
Now I think I have succeced to fix so that I can go in to the orginal kernel.

Hmm, maybe glibc-2.3.5-i486-2 is rotten!!! I will try to go back to 2.3.4 beacuse there are several other programs that has crash and all has somthing to do with glibc.

Now I'm back with only having the glibc problem not Segment problem so thx for helping me with that.
 
Old 07-20-2005, 01:30 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
maybe this can help you...

http://www.linuxquestions.org/questi...80#post1707580

egag
 
Old 07-20-2005, 01:55 PM   #9
eXor
Member
 
Registered: Mar 2002
Location: Sweden
Distribution: Slackware 10.1
Posts: 103

Original Poster
Rep: Reputation: 15
I have succeded to install glibc-2.3.5 again and my system is runnig but with all the errors I had at the beging.

Maybe glibc-2.3.5 is bad.

Get's error like this one
*** glibc detected *** double free or corruption (!prev): 0x082c1ed0 ***
[Wed Jul 20 20:54:30 2005] [notice] child pid 17587 exit signal Abort (6)


-----extra-----
I followed your guide and remove all with 2.3.5 and installed 2.3.4 and now everything seems to work.
Wonder wy 2.3.5 was so bad

-----sadly-----

I still get this error on my apache server

[Wed Jul 20 21:27:27 2005] [notice] child pid 1434 exit signal Abort (6)
*** glibc detected *** double free or corruption (!prev): 0x082c0fc0 ***
[Wed Jul 20 21:31:12 2005] [notice] child pid 1589 exit signal Abort (6)
[Wed Jul 20 21:31:50 2005] [notice] child pid 1432 exit signal Segmentation fault (11)
*** glibc detected *** double free or corruption (!prev): 0x082c1120 ***
[Wed Jul 20 21:32:05 2005] [notice] child pid 1591 exit signal Abort (6)

Last edited by eXor; 07-20-2005 at 02:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
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/Novell 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


All times are GMT -5. The time now is 02:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration