Crash on opening board setup dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Seth Hillbrand |
Bug Description
Application: kicad
Version: (5.1.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.2.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
wxWidgets: 3.0.4 (UTF-8,STL containers,
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.54.0
Compiler: Clang 9.0.0 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Changed in kicad: | |
status: | Fix Released → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
@Seth, in 76600e343616ba0 16eefef5ab859bd 7301effdf1 you changed the calculation of the m_originalColWidths and added a call to set the width. The SetColSize() call ends up sending a size event to the window, which then calls SETUP_NETCLASSE S::OnSizeNetcla ssGrid( wxSizeEvent& ) before we've initialized the rest of m_originalColWi dths.
Is the SetColSize() call needed? We could put a re-entrancy check in, but the size event at the end of the constructor /should/ result in an OnSizeNetclassG rid() call to set all the column sizes.