SIGSEGV crash when closing schematic editor: CONNECTION_SUBGRAPH
Description
I did a bunch of schematic editing and then saved my schematic. KiCad crashed with SIGSEGV (fortunately after the save completed).
Steps to reproduce
Just happened once.
KiCad Version
Application: KiCad arm64 on arm64
Version: 8.0.0-126-g3d67ab72c6, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.58.0
Platform: macOS Sonoma Version 14.3.1 (Build 23D60), 64 bit, Little endian, wxMac
Build Info:
Date: Mar 2 2024 04:38:08
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.7.2
Curl: 7.87.0
ngspice: 42
Compiler: Clang 14.0.3 with C++ ABI 1002
Build settings:
Highlights of the crash:
1 _eeschema.kiface 0x13cadcf8c CONNECTION_SUBGRAPH::~CONNECTION_SUBGRAPH() + 160
2 _eeschema.kiface 0x13cac9938 CONNECTION_GRAPH::Reset() + 72
3 _eeschema.kiface 0x13cc62770 SCHEMATIC::Reset() + 124
4 _eeschema.kiface 0x13cbbca08 SCH_EDIT_FRAME::doCloseWindow() + 1868
Crash file: crash.txt