kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #37905
Re: GAL canvas deadlock
I pushed a change that keeps the error from happening for me. It now makes sure it updates the GAL settings in the active window first and then any others.
@Seth, if you want to look into it on your Mac, the change is in KIWAY::CommonSettingsChanged().
Cheers,
Jeff.
> On 11 Oct 2018, at 14:31, Jeff Young <jeff@xxxxxxxxx> wrote:
>
> Yeah, that’s the same end result as I’m getting. The pending error in my case is "Error: switching framebuffer: invalid framebuffer operation”. Does that suggest anything to you that I might look for?
>
>> On 11 Oct 2018, at 14:22, Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx> wrote:
>>
>> On 11/10/18 14:55, Seth Hillbrand wrote:
>>> Sorry, Jeff but my Mac is currently burning a hole in the desk trying to
>>> get the 5.0.1 build out. I can look this weekend probably
>>
>> Hi Jeff,
>>
>> I don't know if this is very relevant for your case, but I noticed a
>> deadlock in:
>>
>> #2 0x00007fffe3b2a53c in GL_CONTEXT_MANAGER::LockCtx(wxGLContext*,
>> wxGLCanvas*) () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>> #3 0x00007fffe3b12ea4 in KIGFX::OPENGL_GAL::~OPENGL_GAL() () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>> #4 0x00007fffe3b131f9 in KIGFX::OPENGL_GAL::~OPENGL_GAL() () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>> #5 0x00007fffe3b07415 in
>> EDA_DRAW_PANEL_GAL::SwitchBackend(EDA_DRAW_PANEL_GAL::GAL_TYPE) () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>> #6 0x00007fffe38e7f69 in
>> SCH_DRAW_PANEL::SwitchBackend(EDA_DRAW_PANEL_GAL::GAL_TYPE) () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>> #7 0x00007fffe3b37ba5 in
>> EDA_DRAW_FRAME::SwitchCanvas(EDA_DRAW_PANEL_GAL::GAL_TYPE) () at
>> /home/twl/Kicad-dev/kicad-build/release-master/eeschema/_eeschema.kiface
>>
>>
>> It happens when there's a pending OpenGL error (not reported anywhere),
>> in my case it was a wrong shader parameter name.
>>
>> Cheers,
>> Tom
>
>
> _______________________________________________
> 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
-
GAL canvas deadlock
From: Jeff Young, 2018-10-10
-
Re: GAL canvas deadlock
From: Seth Hillbrand, 2018-10-10
-
Re: GAL canvas deadlock
From: Andrew Lutsenko, 2018-10-10
-
Re: GAL canvas deadlock
From: Seth Hillbrand, 2018-10-10
-
Re: GAL canvas deadlock
From: Andrew Lutsenko, 2018-10-11
-
Re: GAL canvas deadlock
From: Andrew Lutsenko, 2018-10-11
-
Re: GAL canvas deadlock
From: Jeff Young, 2018-10-11
-
Re: GAL canvas deadlock
From: Seth Hillbrand, 2018-10-11
-
Re: GAL canvas deadlock
From: Tomasz Wlostowski, 2018-10-11
-
Re: GAL canvas deadlock
From: Jeff Young, 2018-10-11