Crash when moving parts of schematic

Description

The schematic editor crashes if the steps below are performed on the example project.

Data collection ID: 6421987e-f52c-4ca7-abd1-90f53b34ff18

Crash does not happen with v9.99

Steps to reproduce

  1. open attached project, open schematic: crash_schematic_01.zip
  2. change to sheet 2 (power supply - Spannungsversorgung)
  3. set a good zoom level to see the remaining circuit
  4. set drawing restriction mode to 90° (left toolbar)
  5. "W" to activate wire drawing mode
  6. draw a straight horizontal wire from stub from IC202 pin3 to the left (maybe 0,5" length), end the wire with doubleclick
  7. note the cursor remains in "wire drawing" mode (also "Wire"-icon on right toolbar still activated)
  8. with this cursor-mode still active:
  9. do a right-->left box selection, coordinates (x;y) for selection box: starting by 3.0;5.0 --> 1.0;2.0
  10. big part to the left of IC201/IC202 is selected, cursor still in wire-drawing mode
  11. place cursor at position 2.0;3.4 (there is a wire junction),
  12. LMB-click drag to move the selection to the left
  13. drag the selection 0,2" to the left (not up, not down, straight to the left), release LMB-mouse button to end the moving action
  14. --> windows shows a small spinning ball, then crash, kicad shuts down, Kicad main project manager automatically restarts

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 9.0.3-418-g997cee8120, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.2.0
	FontConfig 2.15.0

Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 30.0.100.9837

	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.88.0
	OCC: 7.9.1
	Curl: 8.13.0-DEV
	ngspice: 44
	Compiler: Visual C++ 1942 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by dsa-t