raise()
can be used to raise a segfault:
raise(SIGSEGV);
More Related Contents:
- C/SDL – Segmentation fault when program run multiple times in succession [closed]
- Why is this segfaulting? Can someone explain the valgrind error?
- Seg fault on code that should work according to the professor [duplicate]
- Making an array using pointers in c
- my code does not work and I don’t know why ;-;
- Last word is Failing …?
- Why do I get a segmentation fault with strcmp [closed]
- Why do I get a segmentation fault when writing to a “char *s” initialized with a string literal, but not “char s[]”?
- Crash or “segmentation fault” when data is copied/scanned/read to an uninitialized pointer
- Why is this string reversal C code causing a segmentation fault? [duplicate]
- Are there any non-twos-complement implementations of C?
- String literals: pointer vs. char array
- Segmentation Fault, large arrays
- Why does this code segfault on 64-bit architecture but work fine on 32-bit?
- What is the difference between a segmentation fault and a stack overflow?
- Getting Segmentation Fault
- Returning pointer from a function
- casting char[][] to char** causes segfault?
- Segmentation Fault before main
- Segmentation Fault in strcpy()
- Segmentation Fault While Creating Large Arrays in C
- Returning this pointer from a function
- SegFault after scanf?
- segfault only when NOT using debugger
- Why is strtok causing a segmentation fault?
- Pointer initialisation gives segmentation fault
- Segmentation fault in btree implementation
- strlen not checking for NULL
- Why doesn’t my program seg fault when I dereference a NULL pointer inside of malloc?
- strncpy leading to segmentation fault