PCBNew : using the DRC tool with "Test footprints against schematic" leads to a segmentation fault.
I have not been able to come with steps to reproduce. Instead I stripped down the project where this crash happened to the bare minimum. I included it in this report.
The schematic is empty but the crash also happens with the original complete schematic.
If any one of the footprints on the board is deleted, the crash does not happen anymore.
With this project :
— Open it with KiCad
– Open the board file with PCBNew
– Open Design Rules Checker
— Check "Test footprints against schematic"
– Click "Run DRC"
– KiCad crash with :
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
DRC::<lambda(const MODULE*, const MODULE*)>::operator() (__closure=<optimised out>, b=0x55555a0a3f40, a=0x555562575340)
at ./kicad/pcbnew/drc.cpp:1481
Version info :
Application: Pcbnew
Version: 6.0.0-unknown-6c93ccc~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-51-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.4.0 with C++ ABI 1011
PCBNew : using the DRC tool with "Test footprints against schematic" leads to a segmentation fault.
I have not been able to come with steps to reproduce. Instead I stripped down the project where this crash happened to the bare minimum. I included it in this report.
The schematic is empty but the crash also happens with the original complete schematic.
If any one of the footprints on the board is deleted, the crash does not happen anymore.
With this project :
— Open it with KiCad
– Open the board file with PCBNew
– Open Design Rules Checker
— Check "Test footprints against schematic"
– Click "Run DRC"
– KiCad crash with :
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault. )>::operator( ) (__closure= <optimised out>, b=0x55555a0a3f40, a=0x555562575340) pcbnew/ drc.cpp: 1481
DRC::<lambda(const MODULE*, const MODULE*
at ./kicad/
Version info :
Application: Pcbnew 6c93ccc~ 86~ubuntu18. 04.1, release build compatible with 2.8) GTK+ 3.22
Version: 6.0.0-unknown-
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-51-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.4.0 with C++ ABI 1011
Build settings: WX_GRAPHICS_ CONTEXT= OFF WX_OVERLAY= ON SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ PYTHON3= ON SCRIPTING_ WXPYTHON= ON SCRIPTING_ WXPYTHON_ PHOENIX= ON SCRIPTING_ ACTION_ MENU=ON GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON