PCBNew — DRC crash : segfault when checking footprints against schematic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
Seth Hillbrand |
Bug Description
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 crash also happens with others projects.
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*
at ./kicad/
Version info :
Application: Pcbnew
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:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
description: | updated |
tags: | added: drc pcbnew |
Changed in kicad: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Seth Hillbrand (sethh) |
Changed in kicad: | |
milestone: | none → 6.0.0-rc1 |
It's weird. I'm not able the reproduce the crash anymore on the sample project I joined here, some of my other projects are working again, but my current one and some other still crash PCBNew.
I joined to this message a complete project.