Top "Segmentation-fault" questions

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

Java VM: reproducible SIGSEGV on both 1.6.0_17 and 1.6.0_18, how to report?

EDIT: This reproducible SIGSEGV happens on a Linux machine with more than one proc and more than 2GB of mem, …

java jvm crash crash-reports segmentation-fault
Trying to use execvp() in C with user input in unix

I'm trying to make a program that will prompt the user for a command, then use exec to execute that …

c unix segmentation-fault execvp
Segmentation fault in malloc_consolidate (malloc.c) that valgrind doesn't detect

My program goes in segmentation faults, and I cannot find the cause. The worst part is, the function in question …

c++ string segmentation-fault valgrind libstdc++
How to understand and solve crash report: SIGSEGV, SEGV_ACCERR

I am getting sometimes this crash report: Name: SIGSEGV Reason: SEGV_ACCERR Stack Trace: 0 MyApp 0x00070456 0x1000 + 455766 1 MyApp 0x0007a34…

ios crash-reports segmentation-fault
Segmentation Fault before main

so I've been running into a problem where somehow my code is causing segmentation faults before any of my main …

c graph segmentation-fault
Executing machine code in memory

I'm trying to figure out how to execute machine code stored in memory. I have the following code: #include <…

c segmentation-fault function-pointers casting
Segmentation fault at glGenVertexArrays( 1, &vao );

My gdb backtrace gives: (gdb) backtrace #0 0x00000000 in ?? () #1 0x0804a211 in init () at example1.cpp:147 #2 0x0804a6bc in main (…

c++ debugging opengl segmentation-fault
How to solve Android Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid xxxxx (Thread-X)?

I'm using Opencv sdk for Android to develop a real time processing and matching. The main Opencv traitment logic is …

android android-ndk java-native-interface segmentation-fault opencv4android
What is the simplest standard conform way to produce a Segfault in C?

I think the question says it all. An example covering most standards from C89 to C11 would be helpful. I …

c segmentation-fault iso
PHPUnit Segmentation fault

When a PHPUnit test fails normally on my dev box (Linux Mint), it causes a "Segmentation Fault" on my Continous …

php segmentation-fault phpunit