On 03/10/16 01:01, mfuhrman@xxxxxxxxxxxx wrote: > I have compiled this program under many different versions of Fedora using > NetBeans 8.0.2 and 8.1, and have come to the conclusion that the segment > faults > are being created not by the OS, but by the compiler. Provided here are my > findings thus far. I hope that someone can shed light on why this error is > occurring, and provide a resolution. Build with -fsanitize=undefined. Fix any bugs you find, and try again. Andrew.