Segfault on unfolding bus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
Jon Evans |
Bug Description
In eeschema, create define a bus through Tools > Bus Definition.
Add a bus, named after the previously defined bus.
Hit 'D', select a wire to unfold, click and Segfault.
Please find attached a patch which seems to fix the issue (doDrawSegment is called with nullptr in argument, so I inverted the order of conditions in order to handle nullptr at the begining.
However it is not possible to unfold again unless eeschema is restarted. I haven't found why...
Best regards,
Julien FAUCHER
Application: kicad
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.18.0-18-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.0
Compiler: GCC 8.2.0 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
importance: | Undecided → Critical |
@Jeff do you have time to review this patch to SCH_DRAWING_TOOL?