About 83 results
Open links in new tab
  1. c++ - What is a segmentation fault? - Stack Overflow

    Feb 27, 2010 · What is a segmentation fault? Is it different in C and C++? How are segmentation faults and dangling pointers related?

  2. What is "Segmentation fault (core dumped)?" - Stack Overflow

    Oct 28, 2013 · 196 "Segmentation fault" means that you tried to access memory that you do not have access to. The first problem is with your arguments of main. The main function should be int main(int …

  3. Segmentation fault (core dumped) - to where? what is it? and why?

    When a segmentation fault occurs in Linux, the error message Segmentation fault (core dumped) will be printed to the terminal (if any), and the program will be terminated.

  4. debugging - Fixing Segmentation faults in C++ - Stack Overflow

    Sep 15, 2010 · Segmentation faults can be caused by buffer overruns that write garbage over perfectly good pointers. Doing those things will considerably reduce the likelihood of segmentation faults and …

  5. c++ - Segmentation Faultとはなんですか? - スタック・オーバーフロー

    Mar 27, 2016 · Segmentation Faultとはなんですか? 使用しているシステム (主にCPUと言うか、そのCPUの採用するメモリ管理機構)により細部には違いがありますが、メモリの特定の領域に対する …

  6. Definitive List of Common Reasons for Segmentation Faults

    Oct 10, 2015 · 93 WARNING! The following are potential reasons for a segmentation fault. It is virtually impossible to list all reasons. The purpose of this list is to help diagnose an existing segfault. The …

  7. What is a segmentation fault on Linux? - Stack Overflow

    Jun 1, 2016 · A segmentation fault is when your program attempts to access memory it has either not been assigned by the operating system, or is otherwise not allowed to access. "segmentation" is the …

  8. Determine the line of code that causes a segmentation fault?

    Jan 26, 2020 · How does one determine where the mistake is in the code that causes a segmentation fault? Can my compiler (gcc) show the location of the fault in the program?

  9. Why is a segmentation fault not recoverable? - Stack Overflow

    Dec 7, 2021 · The problem is that in most cases a segmentation fault occurs because your program has overwritten memory it should not have, putting your program in some unknown state. E.g: you …

  10. Easiest way to locate a Segmentation Fault - Stack Overflow

    Jul 11, 2012 · I encountered my first Segmentation Fault today (newbie programmer). After reading up on what a segmentation fault is (Thanks for all of the helpful info on this site, as well as Wikipedia's …