Gdc crashes on Linux

When I try to run gdc on Linux (Ubuntu 18.04.2 LTS), I get a segmentation fault:

FATAL:HID: could not set glfw char callback.
FATAL:HID: could not set glfw marked text callback.
FATAL:HID: could not set glfw gamepad callback.
Segmentation fault (core dumped)
(gdb) bt
#0  0x0000000000000002 in ?? ()
#1  0x0000000000429fae in processSingleEvent () at ../lib/x11/x11_window.c:1349
#2  0x000000000042a225 in _glfwPlatformPollEvents ()
    at ../lib/x11/x11_window.c:1841
#3  0x0000000000427bb5 in glfwPollEvents () at ../lib/window.c:1058
#4  0x000000000040725c in dmHID::Update (context=0x6548e0)
    at ../src/hid_glfw.cpp:108
#5  0x0000000000405821 in main (argc=<optimized out>, argv=<optimized out>)
    at ../src/gdc/main.cpp:110
2 Likes

Those errors usually mean that the GLFW Window couldn’t be opened for ”reasons”, I can take a look at it tomorrow.