CADSTAR PCB import crash - multi-layer figures
Description
Crash occurs when importing a design with "Figure"s defined on multiple layers such as "(All Documentation Layers)"
Steps to reproduce
- Convert cadstar example "Demo\Watch\WATCH.PCB" to *.cpa and import to kicad (can't be added to this issue due to potential copyright issue)
- crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.99.0-4162-gd93194274f-dirty, debug build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.86.0-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jan 3 2024 20:14:34
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.86.0-DEV
ngspice: 37
Compiler: Visual C++ 1933 without C++ ABI
Build settings:
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF