eeschema crash on exiting "symbol library browser" using ESC key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
Jeff Young |
Bug Description
To reproduce the behaviour:
-Open eeschema
-Select View->symbol library browser
-press 'ESC' to cancel
then we have a segmentation fault.
Exiting the the symbol library browser closing the window does not have the issue.
-------
running in gdb the faults is:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fffda451fed in std::operator-
__x=<error reading variable: Cannot access memory at address 0x108>,
__y=<error reading variable: Cannot access memory at address 0xe8>)
at /usr/include/
354 * (__x._M_node - __y._M_node - 1) + (__x._M_cur - __x._M_first)
backtrace gives:
#0 0x00007fffda451fed in std::operator-
__x=<error reading variable: Cannot access memory at address 0x108>,
__y=<error reading variable: Cannot access memory at address 0xe8>)
at /usr/include/
#1 0x00007fffda451bc1 in std::deque<
at /usr/include/
#2 0x00007fffda45191c in SELECTION::Front (this=0x98)
at /home/dinoghi/
#3 0x00007fffda45d7be in EE_CONDITIONS:
at /home/dinoghi/
#4 0x00007fffda463a64 in std::_Function_
__args#0=...) at /usr/include/
#5 0x00007fffda262367 in std::function<bool (SELECTION const&)
at /usr/include/
#6 0x00007fffda34c918 in SCH_DRAW_
at /home/dinoghi/
#7 0x00007ffff634440e in wxAppConsoleBas
#8 0x00007ffff64c9ea5 in wxEvtHandler:
#9 0x00007ffff64ca29d in wxEvtHandler:
from /usr/lib/
#10 0x00007ffff64ca31f in wxEvtHandler:
from /usr/lib/
#11 0x00007ffff64ca3d3 in wxEvtHandler:
from /usr/lib/
#12 0x00007ffff64ca435 in wxEvtHandler:
from /usr/lib/
#13 0x00007ffff6ec405b in wxScrollHelperE
from /usr/lib/
#14 0x00007ffff64ca1a7 in wxEvtHandler:
from /usr/lib/
#15 0x00007ffff6c7544d in ?? () from /usr/lib/
-------
Version info:
Application: Eeschema
Version: (5.1.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.52.1 OpenSSL/1.0.2r zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
-------
Tested on commit 06b22594ca7fb46
cheers,
Dino.
Changed in kicad: | |
assignee: | nobody → Jeff Young (jeyjey) |
status: | Triaged → In Progress |
Fixed in revision 1f2bdf895e50d5a 03d0681903e373c b157a0093c /git.launchpad. net/kicad/ patch/? id=1f2bdf895e50 d5a03d0681903e3 73cb157a0093c
https:/