Footprint assignment tool crashing on OpenBSD/FreeBSD
Description
When trying to open the footprint assignment tool on a project that has already run the tool and closed kicad, we crash.
OpenBSD backtrace: http://ix.io/4h8q FreeBSD backtrace: http://ix.io/4h8u
I'm not a FreeBSD user and it doesn't look like they build with debugging symbols, so not a very good backtrace there. I've no idea if this is crashing in the same way on other OSs.
Steps to reproduce
Start a project. Create a schematic. Run the footprint assignment tool and save. At this point, the tool can be run without issue. Close kicad. Open the project schematic. Run the footprint assignment tool. Here, we crash.
KiCad Version
Application: KiCad Schematic Editor
Version: 6.0.9, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.86.0 LibreSSL/3.7.0 zlib/1.2.13 nghttp2/1.51.0 ngtcp2/0.11.0 nghttp3/0.7.1
Platform: OpenBSD 7.2 amd64, 64 bit, Little endian, wxGTK, ,
Build Info:
Date: Nov 24 2022 22:21:06
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.80.0
OCC: 7.6.0
Curl: 7.86.0
ngspice: 31
Compiler: Clang 13.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON