Skip to content

crash with custom font

Description

The steps below produce a 100% reliable crash.

Steps to reproduce

  1. open attached project, open schematic, open board: fill_around_text_crash.zip
  2. select "~{ggggg} - text (with overbar)
  3. "E" for text properties dialog --> change Font to Arial (shuld be installed on every windows-machine)
  4. "OK" to close text-dialog, text-display has changed (arial as font is applied - ok), text still selected
  5. recalculate zones with hotkey ("CTRL+B" on my system), text still selected
  6. CTRL+C to copy
  7. CTRL+V to paste --> crash

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 7.0.4-20-g7cc55d2d3a, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1

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

	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.81.0
	OCC: 7.6.3
	Curl: 7.88.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:
	KICAD_SPICE=ON