Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th March 2005, 09:51 PM
Kommissar Offline
Registered User
 
Join Date: Mar 2005
Posts: 31
ls -l Segmentation fault

Everytime i do "ls -l" in terminal the only output i get is "Segmentation fault" What the heck does that mean and how do i fix it?

Thanks!
Reply With Quote
  #2  
Old 15th March 2005, 09:59 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
You have an unusual problem. Every command runs as a little program and when a program produces a run time error, it is usually reported as a Segmentation fault. (Whether this terminology has a useful meaning, I don't know). On a normally configured machine, your command should not produce such an error. On FC3, "ls" is usually aliased to a longer command which gives a colorful display. Try:
unalias ls
ls -l
and see if that "segfaults" too.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 16th March 2005, 04:30 AM
Kommissar Offline
Registered User
 
Join Date: Mar 2005
Posts: 31
Yes, unfortunately this command seg faults. I think it may have something to do with the latest Fedora Bash. Is there an older RPM i can download, or maybe i should just pull it off the cd. Do you know what it is called?
Reply With Quote
  #4  
Old 16th March 2005, 06:25 AM
Kommissar Offline
Registered User
 
Join Date: Mar 2005
Posts: 31
I found out that ls is actually part of the coreutils rpm and just extracted an old version of ls from the FC3 cd and replaced the new buggy version with the older but functional one.
Reply With Quote
  #5  
Old 17th March 2005, 03:30 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
It's not necessarily the version of ls that was at fault - I had this problem occur with several core applications (like grep). What I discovered is that I had interrupted the prelink process and it had aborted on re-writing the applications. In other words, the actual executable file was kinda "trashed" part way through.
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #6  
Old 17th March 2005, 05:12 AM
Kommissar Offline
Registered User
 
Join Date: Mar 2005
Posts: 31
Quote:
Originally Posted by crackers
It's not necessarily the version of ls that was at fault - I had this problem occur with several core applications (like grep). What I discovered is that I had interrupted the prelink process and it had aborted on re-writing the applications. In other words, the actual executable file was kinda "trashed" part way through.
I think that you are right. I vaguely remember stopping up2date so I think that some of my coreutils (ie, that file) got trashed unfortunately. Go me.
Reply With Quote
  #7  
Old 18th March 2005, 04:19 AM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
Welcome to the club...
__________________
Linux User #28251 (April '93)
Professional Java Geek :cool:
Reply With Quote
  #8  
Old 18th March 2005, 05:16 AM
Kommissar Offline
Registered User
 
Join Date: Mar 2005
Posts: 31
Quote:
Originally Posted by crackers
Welcome to the club...
Yeah, now I'm quick with the "NO" when GPG signature fails. It's a reflex really.
Reply With Quote
Reply

Tags
fault, segmentation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
segmentation fault RoastP3nguin Programming & Packaging 3 17th June 2008 04:11 AM
Segmentation fault. GodL1ke Using Fedora 7 23rd October 2007 05:04 AM
Segmentation fault! mediator Programming & Packaging 6 29th July 2007 12:55 PM
ls Segmentation fault hksky Using Fedora 1 28th July 2005 03:09 PM
apt segmentation fault arathalion Using Fedora 1 21st November 2004 12:34 AM


Current GMT-time: 21:12 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat