This is mesa bug https://bugs.freedesktop.org/show_bug.cgi?id=16866. If you build the GLX plugin (set K3D_BUILD_GLX_MODULE to ON in CMake) you should get a warning that your Mesa version is too old. I recommend upgrading to 7.6 or later, although this particular bug has been fixed starting with 7.5.1.
I should probably move the mesa version check to the opengl module, since it only uses pure OpenGL functions.