Tools->Library Browser segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Wayne Stambaugh |
Bug Description
Built myself a new KiCad after not having updated in a couple of months.
Created a new project, opened up eeschema. Selecting Tools->Library Browser gives me the following popup:
kicad Error
sym-lib-table files contain no library with nickname ''
[OK]
Clicking on OK (which is the only option) closes kicad with a segfault.
Application: kicad
Version: (2017-11-18 revision ff5ee05de)-master, release build
Libraries:
wxWidgets 3.0.3
libcurl/7.56.1 OpenSSL/1.0.2m zlib/1.2.8 libidn2/2.0.2 libpsl/0.19.1 (+libidn2/2.0.2) libssh2/1.8.0 nghttp2/1.27.0 librtmp/2.3
Platform: Linux 4.13.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.62.0
Curl: 7.56.1
Compiler: GCC 7.2.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=OFF
Changed in kicad: | |
importance: | Undecided → Critical |
Changed in kicad: | |
status: | New → Triaged |
assignee: | nobody → Wayne Stambaugh (stambaughw) |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
This only happens when the symbol library table is empty. It appears that you have been using nightly builds or building kicad from the development branch. You need to copy the default symbol library table file from the kicad library source repo. Or you could just delete the sym-lib-table file from your user configuration folder and eeschema will copy the default file from the library template file assuming you have a recent version of the kicad library repo installed on your system. Non the less, kicad should not crash when the symbol library viewer is launched with and empty symbol library table file.