kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #37910
Re: GAL canvas deadlock
Hi Seth,
I agree that it would be better to get to the bottom of this. I just wasn’t having any luck.
The context locking issue has to do with trying to go to fallback canvas while in the middle of rendering. But we do that (in both Tom’s and my case) as a result of catching an error from OpenGL.
So the locking issue isn't specific to Mac, just the error that leads to it (in my case; probably not in Tom’s case).
Cheers,
Jeff.
> On 11 Oct 2018, at 20:59, Seth Hillbrand <seth@xxxxxxxxxxxxx> wrote:
>
>
>
> Am Do., 11. Okt. 2018 um 12:20 Uhr schrieb Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>>:
> 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().
>
> Hi Jeff-
>
> I have concerns about this approach. Since it seems to work, my guess is that there is a locking time difference on the Mac that leads to this issue. I think that we need to fix the context locking mechanism as there is clearly a way to lock a context and not unlock it after.
>
> Do you see the locking issue when running a debug build or only in Release?
>
> -Seth
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
-
Re: GAL canvas deadlock
From: Jeff Young, 2018-10-11
-
Re: GAL canvas deadlock
From: Seth Hillbrand, 2018-10-11