Solved

segmentation fault

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

724 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