zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Segmentation fault example

March 6, 2012 by Igor Drobot Leave a Comment


A tiny Segmentation fault study example (Page Fault).

This tiny code will produce a SIGSEGV (Segmentation fault) after compiling and executing

Create file example.c and fill it with this code: [Read more…]

Filed Under: Linux, Programming Tagged With: C, compiling, GCC, Segmentation fault, strace

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok