Comment 0 for bug 1755360

Revision history for this message
Dylan Mackenzie (ecstaticmorse) wrote :

Application: kicad
Version: (5.0.0-rc1), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.55.1 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.3) libssh2/1.8.0 nghttp2/1.25.0
Platform: Linux 4.15.6-300.fc27.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
    Boost: 1.64.0
    Curl: 7.55.1
    Compiler: GCC 7.3.1 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

When attempting to enable graphics acceleration mode while on Wayland, PcbNew segfaults with the attached coredump.

The segfault is triggered when `XQueryExtension` invokes the `LockDisplay` macro, which attempts to dereference `Display->lock_fns`.

A similar issue was reported at https://bugzilla.gnome.org/show_bug.cgi?id=761120

Obviously, Wayland support would be ideal, but in the meantime it might be a good idea to disable accelerated graphics mode when not running on X.