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. |
||
---|---|---|
.. | ||
dialogs | ||
sg | ||
3d_cache.cpp | ||
3d_cache.h | ||
3d_cache_wrapper.cpp | ||
3d_cache_wrapper.h | ||
3d_filename_resolver.cpp | ||
3d_filename_resolver.h | ||
3d_info.h | ||
3d_plugin_manager.cpp | ||
3d_plugin_manager.h | ||
CMakeLists.txt | ||
str_rsort.h |