Solved

segmentation fault

Posted on 1997-04-17
5
306 Views
Last Modified: 2013-12-15
I would load midnight commander...it loads then seconds after it stops goes back to the prompt and says "segmentation fault".  It actually loads the bottom tool bar but thats it......
    I tried to re-install...so I delete all mc related stuff...the mc binary in /usr/bin and the library related stuff... but it still loaded with the same problem...So I couldn't really re-install it, because I hadn't removed it all...
1.....how do I remove mc completely
2.....what is segmentation fault [my guess something to do with fragmentation]

thanks
0
Comment
Question by:martyy
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
kombat earned 60 total points
ID: 1627161
1. To remove mc, all that is needed is to remove the binary.  You can do this with    rm /usr/bin/mc
2. A segmentation fault occurs when a program attempts to perform an operation on an area of memory which it does not have sufficient rights to do.  This could include trying to write to memory which is only read only to the process, or trying to read memory the process doesn't have permissions to do anything with.
0
 

Author Comment

by:martyy
ID: 1627162
I've actually rm'd /usr/bin/mc  and the thing would still load
and give the segmentation problem, even though it wasn;t in the
/usr/bin directory....wierd eh?
0
 

Author Comment

by:martyy
ID: 1627163
I've actually tried that rm /usr/bin/mc and the thing would still
load and say segmentation fault....hmmm
0
 

Expert Comment

by:kombat
ID: 1627164
If you've removed the binary executable, it should not still load.  You probably have another copy somewhere.  Type 'which mc' to see what is being run when you type 'mc'.  Delete what it tells you, and it should be totally removed from your system.
0
 

Author Comment

by:martyy
ID: 1627165
thanks a lot....
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now