PCBNEW: Fill all zones crashes after using "remove unused pads" on vias
Description
When building zone fills on 20+ layer boards, the task runs for up to 45 minutes when uninterrupted then crashes. If I interrupt the task, KiCad crashes entirely. However, I am able to refill on smaller layer count boards.
Steps to reproduce
KiCad Version
Version: (6.99.0-1215-gd39127cac7), release build
Libraries:
wxWidgets 3.1.5
FreeType 2.10.4
HarfBuzz 2.8.1
FontConfig 2.13.93
libcurl/7.77.0 OpenSSL/1.1.1k zlib/1.2.11 zstd/1.5.0 libidn2/2.3.1 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0
Platform: Linux 5.12.8-arch1-1 x86_64, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Mar 7 2022 21:46:22
wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.77.0
ngspice: 34
Compiler: GCC 11.1.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON
Edited by Jon Evans