GerbView resizing window causes crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Ubuntu 16.04 64 bit, KiCad 4.1.0-alpha
For the last few days daily releases I have found that resizing the GerbView window with the mouse causes an immediate crash, closing GerbView
Going to fullscreen works.
No layers are loaded
Application: gerbview
Version: 4.1.0-alpha+
Libraries: wxWidgets 3.0.2
Platform: Linux 4.4.0-22-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
KiCad - Compiler: GCC 5.3.1 with C++ ABI 1009
Settings: USE_WX_
Changed in kicad: | |
importance: | High → Medium |
Changed in kicad: | |
status: | Confirmed → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I have to resize it back and forth a few times to trigger this, it's not immediate - but resizing gerbview can indeed cause a crash. Backtrace attached.
Program received signal SIGSEGV, Segmentation fault. libwx_baseu- 3.0.so. 0 libwx_baseu- 3.0.so. 0 :RecalcSizes( ) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 libwx_gtk2u_ core-3. 0.so.0 :SetDimension( wxPoint const&, wxSize const&) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 :RecalcSizes( ) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 libwx_gtk2u_ core-3. 0.so.0 :SetDimension( wxPoint const&, wxSize const&) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 :RecalcSizes( ) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 libwx_gtk2u_ core-3. 0.so.0 :Layout( ) () from /usr/lib/ libwx_gtk2u_ core-3. 0.so.0 :DoFrameLayout( ) () from /usr/lib/ libwx_gtk2u_ aui-3.0. so.0 :OnSize( wxSizeEvent& ) () from /usr/lib/ libwx_gtk2u_ aui-3.0. so.0 e::CallEventHan dler(wxEvtHandl er*, wxEventFunctor&, wxEvent&) const () from /usr/lib/ libwx_baseu- 3.0.so. 0 :ProcessEventIf MatchesId( wxEventTableEnt ryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/ libwx_baseu- 3.0.so. 0 e::HandleEvent( wxEvent& , wxEvtHandler*) () from /usr/lib/ libwx_baseu- 3.0.so. 0 :TryHereOnly( wxEvent& ) () from /usr/lib/ libwx_baseu- 3.0.so. 0 :ProcessEventLo cally(wxEvent& ) () from /usr/lib/ libwx_baseu- 3.0.so. 0 :ProcessEvent( wxEvent& ) () from /usr/lib/ libwx_baseu- 3.0.so. 0 :SafelyProcessE vent(wxEvent& ) () from /usr/lib/ libwx_baseu- 3.0.so. 0 libwx_gtk2u_ core-3. 0.so.0 libgobject- 2.0.so. 0 libgobject- 2.0.so. 0 emit_valist () from /usr/lib/ libgobject- 2.0.so. 0 libgobject- 2.0.so. 0 size_allocate () from /usr/lib/ libgtk- x11-2.0. so.0 libgtk- x11-2.0. so.0 libgobject- 2.0.so. 0 libgobject- 2.0.so. 0 emit_valist () from /usr/lib/ libgobject- 2.0.so. 0 libgobject- 2.0.so. 0 size_allocate (...
0x00007ffff6769130 in typeinfo for wxLog () from /usr/lib/
(gdb) bt
#0 0x00007ffff6769130 in typeinfo for wxLog () from /usr/lib/
#1 0x00007ffff6e1da19 in wxBoxSizer:
#2 0x00007ffff6e1b6bf in wxSizer::Layout() () from /usr/lib/
#3 0x00007ffff6e1b555 in wxSizerItem:
#4 0x00007ffff6e1da19 in wxBoxSizer:
#5 0x00007ffff6e1b6bf in wxSizer::Layout() () from /usr/lib/
#6 0x00007ffff6e1b555 in wxSizerItem:
#7 0x00007ffff6e1da19 in wxBoxSizer:
#8 0x00007ffff6e1b6bf in wxSizer::Layout() () from /usr/lib/
#9 0x00007ffff6e5d6dc in wxWindowBase:
#10 0x00007ffff79617de in wxAuiManager:
#11 0x00007ffff7963788 in wxAuiManager:
#12 0x00007ffff634a43e in wxAppConsoleBas
#13 0x00007ffff64d0a77 in wxEvtHandler:
#14 0x00007ffff64d0b6b in wxEventHashTabl
#15 0x00007ffff64d0f28 in wxEvtHandler:
#16 0x00007ffff64d0fb3 in wxEvtHandler:
#17 0x00007ffff64d1015 in wxEvtHandler:
#18 0x00007ffff64d0d77 in wxEvtHandler:
#19 0x00007ffff6c645cf in ?? () from /usr/lib/
#20 0x00007ffff2d3dfa5 in g_closure_invoke () from /usr/lib/
#21 0x00007ffff2d4ffb2 in ?? () from /usr/lib/
#22 0x00007ffff2d58c1c in g_signal_
#23 0x00007ffff2d58fff in g_signal_emit () from /usr/lib/
#24 0x00007ffff34832e5 in gtk_widget_
#25 0x00007ffff32b87db in ?? () from /usr/lib/
#26 0x00007ffff2d3deff in g_closure_invoke () from /usr/lib/
#27 0x00007ffff2d4f98b in ?? () from /usr/lib/
#28 0x00007ffff2d58c1c in g_signal_
#29 0x00007ffff2d58fff in g_signal_emit () from /usr/lib/
#30 0x00007ffff34832e5 in gtk_widget_