LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-24-2004, 09:24 AM   #1
lennard
LQ Newbie
 
Registered: May 2003
Location: Netherlands
Posts: 8

Rep: Reputation: 0
Unhappy Segmentation fault / Slack 10


Hey all,

I have this slight problem. While I was updating my GLIBC-libraries to the -current libraries, everything went wrong. I couldn't do anything anymore (lots of long errors).

I used my 2nd Slack CD, manually mounted my HD and reïnstalled the original GLIBC-packages.

Now all works fine (exept for my Apache2, but that's related to this problem I think, and not my primary concern). When I give my box an 'ldconfig' or when I install / upgrade a slackware package (using installpkg or upgradepkg) my bash gives me a 'Segmentation error' on every command I give in.

The only way I can resolve this is if I reïnstall my original glibc-solibs-package.


Anyone have an idea, other than reïnstalling my box ??



Thanks !!

Lennard
 
Old 09-24-2004, 07:56 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Youch.
This looks sticky.

Depending on how much customization you've done already, I'd try doing an
upgradpkg --reinstall *.tgz from the /slackware/l/ directory to reinstall all of your important libraries.

You might have to do that from a chrooted position, so you're not actually running commands dependant on your currently installed libraries. A live CD, second partition, or slackware rescue disc would work quite well for this.

That's the first thing I would try...

Also, run fsck.<filesystem name> on the partition and see if it can find any corruption.
The next thing to look for would be buggy kernel drivers. Are you running anything out of the ordinary? A wireless card via ndiswrapper perhaps?

--Shade
--Shade
 
Old 10-02-2004, 08:10 AM   #3
lennard
LQ Newbie
 
Registered: May 2003
Location: Netherlands
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks but no sigar for me :(

Hey Shade,

Thanks for the great advice!! It however didn't work out for me
I think I'll just make another clean installation (yet again :-S) and make a ghost image of it when it is to my likings


Thanks again !!
Cheers !!
 
Old 08-23-2006, 07:01 AM   #4
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
To drag this one back up from yesteryear...

Same scenario as lennard mentions above; tried Shade's suggestions to no avail.

The only thing I have to add, is that re-installing either glibc-solibs-2.3.2 or glibc-2.3.2 will kill the Segmentation Fault. Back-leveling pkgtools as far back as 9.x doesn't solve it either, so it would appear that this isn't something loopy with the 10.0 pkgtools themselves.

What puzzles me, is why would re-installing the 2.3.2 glibc libraries solve the problem when the last-installed package which presumably triggered the error, doesn't over-write or alter any of the libraries?

Something's screwey here, but I can't put my finger on it. Any ideas?
 
Old 08-24-2006, 10:29 AM   #5
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
Unhappy

Anyone?

There has got to be a way to correct this without a wipe & re-install. Re-installing is for Windows.
 
Old 08-24-2006, 01:19 PM   #6
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
When upgrading glibc you have to follow similar procedure as when upgrading to a new release - see UPGRADE.TXT for more. Almost every executable depends on glibc so after a change you have to upgrade all remaining packages provided by the same release too.

I'd suggest to reinstall/upgrade to current glibc-solibs, pkgtools, sed, libtermcap and bash first, check if content of /etc/ld.so.conf is not somehow messed up and then try to rerun ldconfig. Ldconfig is staticaly linked so it don't depend on libc.so.
Use of rescue/boot CD is a good idea.
 
Old 08-24-2006, 01:42 PM   #7
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
I get the "segmentation error" sometimes when I try to use gtkpod. Sometimes it works fine and sometimes it crashes and I see the "segmentation error" in the console. I'm running Slackware 10.2 with 2.6.13. I did upgrade the kernel a while back and while I didn't use gtkpod before the upgrade so I can't say if the upgraded kernel is the problem. Not trying to hijack the thread just thought I'd share my segmentation error problem.

It has something to do with whether the ipod is mounted before gtkpod reads it or who has ownership. If i mount the ipod as root and run gtkpod as user then I get the error. At least that's what I'm thinking..
 
Old 08-31-2006, 09:49 AM   #8
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
Thumbs up

Quote:
Originally Posted by dunric
I'd suggest to reinstall/upgrade to current glibc-solibs, pkgtools, sed, libtermcap and bash first, check if content of /etc/ld.so.conf is not somehow messed up and then try to rerun ldconfig.
The above seems to have sorted it out. Much appreciated!
 
  


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
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 10:34 AM
segmentation fault lmvent Programming 1 10-29-2005 07:34 PM
Segmentation Fault during slack install? BajaNick Slackware 0 01-08-2005 01:47 AM
Segmentation Fault after glib install slack 9.1 coffeedemon Slackware 3 11-17-2004 09:50 AM
Segmentation fault.. please help me! rpmadness Linux - Software 4 11-25-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:52 AM.

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