You're either calling a deprecated function in a core profile OpenGL context, or a function from an OpenGL version or extension that is not supported by your driver. I doubt it's glShaderSource (glCreateProgram & glCreateShader would fail as well). Open the hs_err_pid5032.log file and see if you can find that last native method called.
It's also possible that you're calling OpenGL functions in a thread with no OpenGL context current.