I am using Arch Linux. I installed X-Server, with all of its dependencies. I wrote a windows.c program using c and xlib API. I linked files, and compiled successfully. However, when I attempted to run the program, I receive a Segmentation Fault. I've been at it four hours trying to figure this out. I've gone to so many forum, to no available. Can anyone out there assist me.

