I know this is an old question but I had this problem with apt-get. If the segmentation fault only occurs when running apt-get this might help: sudo rm -rf /var/cache/apt/*.bin After running this command I was able to install packages again.
penetration test - Proxychains + nmap = segmentation fault If I try the sV (service detection) flag in nmap run via proxychains (socks5 server) it appears to give me a segmentation fault message:- root@kali:~# proxychains nmap -n -sT -Pn X.X.X.X -p 22,80, Why can't you catch a segmentation fault in an exception You can, actually… signal(2) can be set up to catch SIGSEGV signals, which are the signals generated by a segfault. You can set up signal handlers for the other types of runtime exception errors as well, such as SIGBUS (bus error), SIGILL (illegal what is segmentation fault , and how to slove it Reboot is a valid approach after (corrected) hardware issues, but a segmentation fault is 99.9% sure to be a software coding problem which will NOT be solved by a reboot, but just hidden for a while longer. A more reasonable reaction might be to document the time, and take a quick system snapshot of sorts with 'vmstat', sar or similar, to get Segmentation faults can also occur independently of page faults: illegal access to a valid page is a segmentation fault, but not an invalid page fault, and segmentation faults can occur in the middle of a page (hence no page fault), for example in a buffer overflow that stays within a page but illegally overwrites memory.
Reboot is a valid approach after (corrected) hardware issues, but a segmentation fault is 99.9% sure to be a software coding problem which will NOT be solved by a reboot, but just hidden for a while longer. A more reasonable reaction might be to document the time, and take a quick system snapshot of sorts with 'vmstat', sar or similar, to get
Segmentation fault : cs50 - reddit I also get "Segmentation fault (core dumped)" when a key is not entered in the command line argument. (caesar.c) level 2. alum 1 point · 6 years ago. Are you checking the value of argc before trying to use argv[1]? Since argv is an array of character strings, checking for an argument that doesn't exist would be reading beyond the bounds of an Segmentation fault with Windows 10 Pro 19.03 · Issue #185 Jul 05, 2019
0014961: perf probe / perf record cause segmentation fault
Centos 5.3 tar and rpm give segmentation fault always - can you tell why from the strace? 1. Apache segmentation fault. 2. Apache Segmentation Fault. 1. child pid … exit signal Segmentation fault (11) 2. Apache2 configtest segmentation fault. 0. apache http 2.2.29: Segmentation fault. Generally such Segmentation Fault (core dumped) errors are caused by addressing non-existent/allocated memory. Here's a few links: link1 link2 Cheers, Keith