Top "Segmentation-fault" questions

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

How to debug a Python segmentation fault?

How can I debug a Python segmentation fault? We are trying to run our python code on SuSE 12.3. We get …

python segmentation-fault
What is a segmentation fault on Linux?

In Linux: What is a segmentation fault? I know it crashes programs, but is that some sort of memory leak …

segmentation-fault
How do I diagnose this PHP segmentation fault?

I am running a command-line PHP job that is resulting in a Segmentation Fault. This job has worked for a …

php segmentation-fault pear mail-queue
How can I catch SIGSEGV (segmentation fault) and get a stack trace under JNI on Android?

I'm moving a project to the new Android Native Development Kit (i.e. JNI) and I'd like to catch SIGSEGV, …

android java-native-interface signals android-ndk segmentation-fault
How do you read a segfault kernel log message

This can be a very simple question, I'm am attempting to debug an application which generates the following segfault error …

c++ c unix segmentation-fault syslog
C: How to pass a double pointer to a function

I am getting an segmentation fault when I pass the double pointers to the function to initialize the memory int …

c function segmentation-fault
Meaning of Exit Code 11 in C?

What's the general meaning of an exit code 11 in C? I've looked around and can not find a definitive answer …

c segmentation-fault exit-code
strlen not checking for NULL

Why is strlen() not checking for NULL? if I do strlen(NULL), the program segmentation faults. Trying to understand the …

c segmentation-fault strlen
segmentation fault with strcpy

I am wondering why am I getting segmentation fault in the below code. int main(void) { char str[100]="My name …

c segmentation-fault strcpy
Execution of printf() and Segmentation Fault

#include<stdio.h> int main() { char *name = "Vikram"; printf("%s",name); name[1]='s'; printf("%s",name); return 0; } There …

c segmentation-fault printf