Hardcrash when inserting a copied trace in footprinteditor
Description
When copying a group consisting of filled polygons and traces from a PCB document and then paste it into footprint editor, kicad completely crashes and closes immediately without saving or dialog.
Steps to reproduce
- Starting with empty pcb_doc
- drawing a filled zone on f.cu
- drawing a trace which is in contact with the zone on f.cu (contacting might not be important)
- group those two together
- copying the group
- paste it to a footprint in footprint editor
- crash
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 11 2023 03:41:46
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON