Copy/Paste from PCB to Footprint Editor crashes both
Description
Current: Cut/copy from PCB Editor and paste in Footprint Editor hangs/crashes both PCB Editor and Footprint Editor. Expected: Same operation in 7.0.2 works just fine.
Copying one or a few objects sometimes works, but any more consistently crashes. Attached is a simple .kicad_pcb file to reproduce the issue.
Steps to reproduce
- Open .kicad_pcb file
- "Tools->Footprint Editor"
- In Footprint Editor, "File->New Footprint"
- Specify footprint name and type, select "OK".
- In PCB Editor, select a single small graphic line.
- "Edit->Copy"
- In Footprint Editor, "Edit->Paste"
- The single graphic line usually pastes successfully.
- In PCB Editor, select multiple objects.
- "Edit->Copy"
- In Footprint Editor, "Edit->Paste"
- Mouse cursor changes to "move" symbol, then Footprint Editor and PCB Editor hang and crash/close several seconds later.
- PCB Editor will re-open and display "PCB is already open..." (pcb file was not closed gracefully)
KiCad Version
Application: KiCad x64 on x64
Version: 8.0.0-rc2, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
Edited by Matthew Bossard