Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-24-2004, 09:24 AM
|
#1
|
LQ Newbie
Registered: May 2003
Location: Netherlands
Posts: 8
Rep:
|
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
|
|
|
09-24-2004, 07:56 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
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
|
|
|
10-02-2004, 08:10 AM
|
#3
|
LQ Newbie
Registered: May 2003
Location: Netherlands
Posts: 8
Original Poster
Rep:
|
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 !!
|
|
|
08-23-2006, 07:01 AM
|
#4
|
Member
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119
Rep:
|
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?
|
|
|
08-24-2006, 10:29 AM
|
#5
|
Member
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119
Rep:
|
Anyone?
There has got to be a way to correct this without a wipe & re-install. Re-installing is for Windows.
|
|
|
08-24-2006, 01:19 PM
|
#6
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep:
|
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.
|
|
|
08-24-2006, 01:42 PM
|
#7
|
Member
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770
Rep:
|
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..
|
|
|
08-31-2006, 09:49 AM
|
#8
|
Member
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 06:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|