kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24077
Re: PATCH: fix race condition related to 3D cache and resolver
Patch committed in rev 6685. Thank you.
On Sun, Apr 10, 2016 at 10:39:26AM +1000, Cirilo Bernardo wrote:
> The attached patch fixes a segfault due to a race condition.
> If a user starts eeschema with an empty sheet and clicks
> the 'cvpcb' button, memory is corrupted and the program
> segfaults. The issue appears to arise from multiple threads
> accessing the 3D cache and resolver. This patch makes
> relevant code thread-safe by using a wxCriticalSection.
>
> - Cirilo
References