Solved

segmentation fault

Posted on 1997-04-17
5
307 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

914 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