Crash on opening eeschema with no default libraries (namely power) installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Wayne Stambaugh |
Bug Description
Application: kicad
Version: (2017-10-29 revision b545049dc)-master, release build
Libraries:
wxWidgets 3.1.1
libcurl/
Platform: Windows 10 (build 17025), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.1.1 (wchar_t,wx containers)
Boost: 1.65.1
Curl: 7.55.1-DEV
Compiler: Visual C++ 1911 without C++ ABI
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=OFF
I don't install the default libraries and what happens is if KiCad can't find my libraries, it will crash, because it forces a load of the "power" library that doesn't exist.
Seen here beginning at class_library.cpp Line 553 for context:
void PART_LIBS:
{
wxString filename;
wxString libs_not_found;
SEARCH_STACK* lib_search = aProject-
#if defined(DEBUG) && 0
lib_
#endif
wxArrayString lib_names;
LibNamesAnd
// If the list is empty, force loading the standard power symbol library.
if( !lib_names.
wxASSERT( !size() ); // expect to load into "this" empty container.
wxProgressD
Changed in kicad: | |
importance: | Undecided → High |
status: | Incomplete → Confirmed |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
Changed in kicad: | |
status: | Confirmed → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I'm not getting a crash when no libraries are defined and power library is missing. Just a dialog warning that the power.lib cannot be found. Is is possible that something else is causing the crash?