pcbnew segfaults on footprint search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Critical
|
Bug Description
when searching for a footprint in pcbnew's "add footprint", it segfaults
i encountered this issue on NixOS on kicad 5.1.4, i've since built kicad from git revision 3be1862
triggering the crash via valgrind is somewhat tricky, most of the time the search lists results but the footprint preview says "footprint not found" in which case this it does not segfault.
i've succeeded at this several times and i am under the impression the address accessed is not always 0x0
here are a few more segfaults caught via just gdb
https:/
included as comments are the gdb bt full and valgrind output for pcbnew from 3be1862 with the most recent footprints etc for that commit
the .pcbnew-wrapped and all the /nix/store/[hash] stuff is due to this running on NixOS
i'm fairly sure this issue isn't due to NixOS, due to an anecdotal report on the freenode #kicad IRC channel of someone experiencing this issue on debian10 when using xfwm (i'm using i3wm)
further information is available here, https:/
most relevant to my build setup may be this, https:/
Application: KiCad
Version: 5.99.0-2019-11-20, debug build
Libraries:
wxWidgets 3.1.2
libcurl/7.66.0 OpenSSL/1.1.1d zlib/1.2.11 libssh2/1.9.0 nghttp2/1.39.2
Platform: Linux 4.19.80 x86_64, 64 bit, Little endian, wxGTK
Build Info:
Build date: Jan 1 1970 00:00:01
wxWidgets: 3.1.2 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
KICAD_
KICAD_
tags: | added: footprint pcbnew segfault |
description: | updated |
description: | updated |
description: | updated |
Changed in kicad: | |
milestone: | none → 5.1.6 |
importance: | Undecided → Critical |
Please add your full version information from Help->About KiCad->Copy Version Information.
Also add all data relevant to the bug report as attachments or text in this report. Please do not link to external sites.