The debugger says nothing
If there's a segmentation fault, it should say something. Do you know how to use it?
I ended up fixing the problem. Something was wrong with the debugger (Damn Codeblocks) and I had to fix it. So after fixing it, I removed a few OpenGL functions to find out that only 2 OpenGL 1.x functions worked. So, I basically had to redownload gl3.h, because the old one was corrupted or something (I have no clue). Basically, it works now. Thanks for the help.