eeschema 5.1.9 segfault in "Choose symbol" dialog
Hi,
Description
Very reliably, I can get the Choose Symbol dialog in eeschema to segfault.
Steps to reproduce
- open a new schematic
- press A to add a component
- type '5532', click on one of the selections (such as NE5532 -> Unit A)
- (quickly) double-click the text '5532' and replace by typing '33078'
- segfault
KiCad Version
Application: KiCad
Version: 5.1.9, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.75.0 OpenSSL/1.1.1j zlib/1.2.11 zstd/1.4.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0
Platform: Linux 5.10.25-1-lts x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.75.0
OpenCASCADE Technology: 7.5.0
Curl: 7.75.0
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
gdb backtrace
Attached segf_gdb.log , because > 500kB. Entries # 63 and following are inside kicad code .