crash: KiCad nightly opening an older nightly schematic file

Description

KiCad Nightly seems to be choking on a slightly older version of the schematic file generated by nightly.

Steps to reproduce

  1. Download the following cem-dev-harness-v0.1a.zip
  2. Open in KiCad Nightly
  3. Launch the schematic editor.
  4. Close the schematic editor after the schematic is loaded.
  5. Observer crash with stack trace below.

KiCad Version

Application: KiCad arm64 on arm64

Version: 9.99.0-4890-gde912bdc9a, release build

Libraries:
	wxWidgets 3.2.8
	FreeType 2.13.3
	HarfBuzz 10.1.0
	FontConfig 2.15.0
	libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.64.0

Platform: macOS Sequoia Version 15.7.3 (Build 24G419), 64 bit, Little endian, wxMac

Build Info:
	Date: Jan 12 2026 08:57:02
	wxWidgets: 3.2.8 (wchar_t,wx containers)
	Boost: 1.87.0
	OCC: 7.8.1
	Curl: 8.7.1
	ngspice: 45.2
	Compiler: Clang 16.0.0 with C++ ABI 1002
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF
Edited by Wayne Stambaugh