Top "Segmentation-fault" questions

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

Capture "Segmentation fault" message for a crashed subprocess: no out and err after a call to communicate()

I have problems using the subprocess module to obtain the output of crashed programs. I'm using python2.7 and subprocess to …

python segmentation-fault subprocess communicate fuzzing
Node.js source code build giving segmentation fault on ARM

tl;dr: I tried to install node.js on my ARMv7-based Cubox running Ubuntu 12.10 (quantal). When compiling node.js …

node.js segmentation-fault arm v8 ubuntu-12.10
What is the difference between a segmentation fault and a stack overflow?

For example when we call say, a recursive function, the successive calls are stored in the stack. However, due to …

c memory stack segmentation-fault stack-overflow
Definitive List of Common Reasons for Segmentation Faults

NOTE: We have a lot of segfault questions, with largely the same answers, so I'm trying to collapse them into …

c++ c segmentation-fault
Why does this code to modify a string not work?

With c-style strings, how do you assign a char to a memory address that a character pointer points to? For …

c pointers char segmentation-fault access-violation
caught segfault - 'memory not mapped' error in R

I have a problem running some R scripts on our cluster. The problems appeared suddenly (all the scripts were working …

r segmentation-fault
Linux: handling a segmentation fault and getting a core dump

When my application crashes with a segmentation fault I'd like to get a core dump from the system. I do …

linux segmentation-fault signals coredump
Why won't my code segfault on Windows 7?

This is an unusual question to ask but here goes: In my code, I accidentally dereference NULL somewhere. But instead …

c++ windows-7 odbc segmentation-fault
C - Unexpected Segmentation Fault on strtok(...)

I am using strtok(...) of the library and it appears to be working fine until the end condition, where it …

c string segmentation-fault token strtok
what is root cause of 'child pid 10708 exit signal Segmentation fault (11)' error?

I am getting more and more child pid 10708 exit signal Segmentation fault (11) errors. what is the root cause of it …

php apache segmentation-fault server-error php-ini