Tools->Library Browser segfault

Bug #1733111 reported by pipe
6
This bug affects 1 person
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,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.56.1
    Compiler: GCC 7.2.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=OFF
    KICAD_SPICE=OFF

Tags: eeschema
Changed in kicad:
importance: Undecided → Critical
Changed in kicad:
status: New → Triaged
assignee: nobody → Wayne Stambaugh (stambaughw)
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

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.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 8de70f3dd02e9d48c88efeac9c5b33696a5b8121
https://git.launchpad.net/kicad/patch/?id=8de70f3dd02e9d48c88efeac9c5b33696a5b8121

Changed in kicad:
status: Triaged → Fix Committed
Jeff Young (jeyjey)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.