Segmentation fault after performing DRC check
Description
Kicad crashes with segmentation fault when performing DRC after opening and closing the 3d viewer
Steps to reproduce
- Open Demo project pic programmer
- Go to PCB
- Do a DRC ( Inspect -> DRC -> Run DRC)
- Sometimes stops at Checking pads... needs to kill and restart kicad...
- Remove dialog by pressing closed (Close)
- Open 3d viewer, Close ( View -> 3D viewer, C-w)
- Do a DRC ( Inspect -> DRC -> Run DRC)
- Remove dialog by pressing closed (Close)
- Segmentation fault (if not, repeat step 5-7 one more time)
KiCad Version
´´´ Application: KiCad PCB Editor x86_64 on x86_64
Version: 9.99.0-5306-g3352bcfba5, release build
Libraries: wxWidgets 3.2.9 FreeType 2.14.1 HarfBuzz 12.3.0 FontConfig 2.17.1 libcurl/8.18.0 OpenSSL/3.5.4 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 ngtcp2/1.16.0 nghttp3/1.12.0 librtmp/2.3 mit-krb5/1.22.1 OpenLDAP/2.6.10
Platform: Debian GNU/Linux forky/sid, 64 bit, Little endian, wxGTK, X11, , tty OpenGL: Mesa, llvmpipe (LLVM 19.1.7, 256 bits), 4.5 (Compatibility Profile) Mesa 25.2.6-1
Build Info: Date: Jan 30 2026 10:38:45 wxWidgets: 3.2.9 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.83.0 OCC: 7.9.2 Curl: 8.18.0 ngspice: 45.2 Compiler: GCC 15.2.0 with C++ ABI 1020 KICAD_IPC_API=ON KICAD_USE_PCH=OFF
Locale: Lang: en_US Enc: UTF-8 Num: 1,234.5 Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8) ´´´