Request the OpenGL 3.2 core profile
A quick Google search told me that #119 is likely caused by not requesting the core profile when creating an OpenGL context. So I changed that and additionally set the forward-compatible flag after removing the uses of deprecated (and thus unavailable in the forward-compatible context) functionality.
It works for me (Nvidia GPU), but I'd like to make sure it also works with graphics cards by other vendors.