Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

segmentation fault

Posted on 1997-04-17
5
Medium Priority
?
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Accepted Solution

by:
kombat earned 120 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Suggested Courses

610 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