← Back to team overview

kicad-developers team mailing list archive

Re: GAL canvas deadlock

 

Hi Jeff-

Can't reproduce here.  Running both eeschema and pcbnew.  Changed pcbnew
grid settings from the pcbnew window.

Application: kicad
Version: (6.0.0-rc1-dev-858-g0090bea24), debug build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2l zlib/1.2.8 libidn2/0.16 libpsl/0.17.0
(+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

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


Am Mi., 10. Okt. 2018 um 13:13 Uhr schrieb Jeff Young <jeff@xxxxxxxxx>:

> I’m getting a GAL canvas deadlock when I have both PCBNew and Eeschema
> running.
>
> To reproduce, open both a schematic and a board, go to Preferences and
> change one of the GAL grid settings.  (I was changing PCBNew’s minimum grid
> spacing, but I imagine it reproduces with the others as well.)
>
> On the CommonSettingsChanged() notification we end up rebuilding PCBNew's
> horizontal toolbar.  This results in a paint event on PCBNew's canvas.
>
> In BeginDrawing() —> SetBuffer() —> bindFb() —> glBindFramebufferEXT() we
> get a "Error: switching framebuffer: invalid framebuffer operation”.
>
> We then try to fallback to Cairo and deadlock.
>
> Ring any bells for anyone?
>
> Cheers,
> Jeff.
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References