pcbnew crash (segfault) on find/search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
Seth Hillbrand |
Bug Description
search (ctrl-f) crashes pcbnew.
To reproduce the bug:
- open pcbnew (with or without opening a board)
- search something (ctrl-f or edit->find)
- confirm clicking find item or find marker or using enter (no matter if the string to search is empty or not)
- Segmentation fault.
Tested on revision 4d8be7b2bb5bddc
-------
Application: Pcbnew
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
Changed in kicad: | |
importance: | Undecided → Critical |
milestone: | none → 6.0.0-rc1 |
executing in gdb it reports:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault. :RunAction (this=0x0, aAction=..., SANDBOXKICAD5/ src/kicad/ common/ tool/tool_ manager. cpp:303
0x00007fffda2a37e9 in TOOL_MANAGER:
aNow=true, aParam=0x0)
at /home/dinoghi/
303 TOOL_STATE* current = m_activeState;
------- ------- ------- - ------- ------- - :RunAction (this=0x0, aAction=..., aNow=true, aParam=0x0) SANDBOXKICAD5/ src/kicad/ common/ tool/tool_ manager. cpp:303 :RunAction (this=0x0, aAction=..., aNow=true) SANDBOXKICAD5/ src/kicad/ include/ tool/tool_ manager. h:157 FIND::onButtonF indItemClick (this=0x5555584 0c290, aEvent=...) SANDBOXKICAD5/ src/kicad/ pcbnew/ dialogs/ dialog_ find.cpp: 88 e::CallEventHan dler(wxEvtHandl er*, wxEventFunctor&, wxEvent&) const () from /usr/lib/ x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :ProcessEventIf MatchesId( wxEventTableEnt ryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/ x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :SearchDynamicE ventTable( wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :TryHereOnly( wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :ProcessEventLo cally(wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :ProcessEvent( wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :SafelyProcessE vent(wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 x86_64- linux-gnu/ libwx_gtk2u_ core-3. 0.so.0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 emit_valist () from /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 emit_valist () from /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgobject- 2.0.so. 0 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 x86_64- linux-gnu/ libgtk- x11-2.0. so.0 x86_64- linux-gnu. ..
backtrace:
-------
#0 0x00007fffda2a37e9 in TOOL_MANAGER:
at /home/dinoghi/
#1 0x00007fffd9882466 in TOOL_MANAGER:
at /home/dinoghi/
#2 0x00007fffd98ebfa2 in DIALOG_
at /home/dinoghi/
#3 0x00007ffff634440e in wxAppConsoleBas
#4 0x00007ffff64c9ea5 in wxEvtHandler:
#5 0x00007ffff64ca29d in wxEvtHandler:
from /usr/lib/
#6 0x00007ffff64ca31f in wxEvtHandler:
from /usr/lib/
#7 0x00007ffff64ca3d3 in wxEvtHandler:
from /usr/lib/
#8 0x00007ffff64ca435 in wxEvtHandler:
from /usr/lib/
#9 0x00007ffff64ca1a7 in wxEvtHandler:
from /usr/lib/
#10 0x00007ffff6cb77d7 in ?? () from /usr/lib/
#11 0x00007ffff2954f75 in g_closure_invoke () from /usr/lib/
#12 0x00007ffff2967053 in ?? () from /usr/lib/
#13 0x00007ffff296fbdc in g_signal_
#14 0x00007ffff296ffbf in g_signal_emit () from /usr/lib/
#15 0x00007ffff2eda01e in ?? () from /usr/lib/
#16 0x00007ffff2f7e7bc in ?? () from /usr/lib/
#17 0x00007ffff2954f75 in g_closure_invoke () from /usr/lib/
#18 0x00007ffff296737d in ?? () from /usr/lib/
#19 0x00007ffff296f67f in g_signal_
#20 0x00007ffff296ffbf in g_signal_emit () from /usr/lib/
#21 0x00007ffff30968ac in ?? () from /usr/lib/
#22 0x00007ffff2f7d03f in gtk_propagate_event () from /usr/lib/
#23 0x00007ffff2f7d33b in gtk_main_do_event () from /usr/lib/
#24 0x00007ffff2bf2cbc in ?? () from /usr/lib/