Deleting pad in footprint editor causes segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Jeff Young |
Bug Description
Select (a single or multiple) pad and press delete key in footprint editor. Kicad immediately crashes.
This is a footprint that I created and was able to edit previously without issues.
I am able to delete graphic lines, but not pads.
---
After having this issue and restarting kicad a few more time, I can sometimes delete individual pads, and can occasionally delete multiple pads together.
I've also tried this with other footprints in other libraries and see the same intermittent problem.
---
dmesg:
[ 1336.343358] kicad[3455]: segfault at 55ff3aee22e0 ip 00007f821d2fac90 sp 000055b03b0efcc0 error 6 in libc-2.
Application: kicad
Version: 6.0.0-rc1-
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.0g 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-34-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.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
status: | New → Confirmed |
assignee: | nobody → Jeff Young (jeyjey) |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
It's a little bit random as it's an accessing- freed-memory bug.
5.0 has the same logic, and so should be vulnerable even if it doesn't usually happen.