glfwInit crashes in XkbGetKeyboard

sheeri185adidam wrote on Friday, June 26, 2015:

Hi,

I built and installed glfw 3.1.1 with my custom toolchain. And when I try to run any of the tests, the program crashes in glfwInit(). Upon debugging, I saw that the return value of the function call XkbGetKeyboard() is NULL in function createKeyTables();

XkbGetKeyboard(_glfw.x11.display,XkbAllComponentsMask,XkbUseCoreKbd);

Can anyone know what could be the problem ?

Thanks

sheeri185adidam wrote on Saturday, June 27, 2015:

I was trying to run ‘defaults’ test program

sheeri185adidam wrote on Saturday, June 27, 2015:

the xorg server that I am using is 1.6.1

sheeri185adidam wrote on Monday, June 29, 2015:

can anyone help ?

sheeri185adidam wrote on Monday, June 29, 2015:

I saw this : https://github.com/glfw/glfw/issues/389
this post has been mentioned there but strangely no replies here.

elmindreda wrote on Monday, June 29, 2015:

You may attempt to use the fix proposed in that issue, or wait until a fix is made.