Fast GUI operation crash PCBnew on Windows

Description

Performing certain GUI operations in fast pace in PCBnew makes KiCAD completely crash. I am not sure which operations, I have experienced in at several occasions, below is one example to reproduce on my computer.

Steps to reproduce

  1. Open the attached project.
  2. Select av vias in the PCB editor
  3. Perform Ctrl-X Ctrl-C in fast pace, e.g. within 0.5 second or so.

KiCad Version

Application: KiCad (64-bit)

Version: (6.0.8), release build

Libraries:
	wxWidgets 3.1.7
	libcurl/7.83.1-DEV Schannel zlib/1.2.12

Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Sep 29 2022 00:21:26
	wxWidgets: 3.1.7 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.0
	Curl: 7.83.1-DEV
	ngspice: 37
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

fast_gui_op_crash.zip