Top "Segmentation-fault" questions

Segmentation faults occur when accessing memory which does not belong to your process.

sort function C++ segmentation fault

In this code, for vector size, n >=32767, it gives segmentation fault, but upto 32766, it runs fine. What could be …

c++ sorting segmentation-fault
glGenBuffers() crashing with Segmentation fault. (C++/GLFW/GLEW)

So, in my project I am using a seperate class to create buffers called Buffer.cpp. Here is the constructor #…

opengl crash segmentation-fault glew glfw
Empty core dump file after Segmentation fault

I am running a program, and it is interrupted by Segmentation fault. The problem is that the core dump file …

linux debugging segmentation-fault coredump sungridengine
understanding stack trace of a segmentation fault

I am doing an snprintf and getting a seg fault. when I loaded the core file on gdb like this: …

c gdb segmentation-fault crash-dumps core-file
Why am I getting a segmentation fault? (Testing Shellcode)

I wrote a simple ASM file and ran it in a C file I'd written. I got a segentation fault. …

c segmentation-fault shellcode
Segmentation Fault when running PHP Cli

When I type this in shell (Linux): php index.php Sometime PHP script terminate and I get an error saying: …

linux segmentation-fault php php-5.2
Compile and run program without main() in C

I'm trying to compile and run following program without main() function in C. I have compiled my program using the …

c gcc segmentation-fault main gcc-warning
Crash or "segmentation fault" when data is copied/scanned/read to an uninitialized pointer

This question is meant to be used as reference for all frequently asked questions of the nature: Why do I …

c pointers segmentation-fault
How can I get the system time from a core dump?

I have a core dump generated after a segmentation fault. Is there a way in gdb ( or somehow else ) to …

c++ linux gdb segmentation-fault coredump
Segmentation Fault Catch

I have a python script and it will loop through bunch of maya files and do some stuff. But some …

python segmentation-fault signals multiprocessing maya