KiCad crashes on quit on macOS with projects managed in Git
Description
When quitting KiCad 9.0.6 (and previous versions, if I remember correctly), it consistently crashes and triggers a macOS crash dump (attached). Inspecting the crash dump shows the crash is in a Git-related function, and when testing with a project not managed via Git, the crash is not replicable.
Steps to reproduce
- Launch KiCAD.
- Open a project managed via Git.
- Press Command-Q to quit.
KiCad Version
Application: KiCad arm64 on arm64
Version: 9.0.6, 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.67.1
Platform: macOS Version 26.2 (Build 25C56), 64 bit, Little endian, wxMac
Build Info:
Date: Oct 30 2025 15:39:55
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.87.0
OCC: 7.8.1
Curl: 8.7.1
ngspice: 44.2
Compiler: Clang 16.0.0 with C++ ABI 1002
KICAD_IPC_API=ON