Solved

segmentation fault

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
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.

856 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