Skip to content

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

  1. Open .kicad_pcb file
  2. "Tools->Footprint Editor"
  3. In Footprint Editor, "File->New Footprint"
  4. Specify footprint name and type, select "OK".
  5. In PCB Editor, select a single small graphic line.
  6. "Edit->Copy"
  7. In Footprint Editor, "Edit->Paste"
  8. The single graphic line usually pastes successfully.
  9. In PCB Editor, select multiple objects.
  10. "Edit->Copy"
  11. In Footprint Editor, "Edit->Paste"
  12. Mouse cursor changes to "move" symbol, then Footprint Editor and PCB Editor hang and crash/close several seconds later.
  13. 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:

EDGE15a.kicad_pcb

Edited by Matthew Bossard