Opening "Edit Symbol Fields" dialog crashes kicad

Bug #1795088 reported by Brendan Haines on 2018-09-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Undecided
jean-pierre charras

Bug Description

Kicad crashes when the "Edit Symbol Fields" button is clicked in Eeschema

[44165.178164] kicad[32221]: segfault at 0 ip 00007f9cbd2661e1 sp 00007ffe6e52c4e8 error 4 in libwx_baseu-3.0.so.0.4.0[7f9cbd13d000+277000]

Application: kicad
Version: 6.0.0-rc1-unknown-3927dc5~66~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-34-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.3.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=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Nick Østergaard (nickoe) wrote :

What PPA is this from?

I can reproduce

Application: kicad
Version: (6.0.0-rc1-dev-637-g704615721), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 GnuTLS/3.5.19 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.18.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Download full text (8.2 KiB)

Also happening here. Commit 3f6819e5920bfb23ac7ec49ac473a2780232f3c1, self built on linux mint.
I'm getting some asserts when I open the dialog box

connor@Zoidberg:~/kicad/build$ gdb kicad
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kicad...done.
(gdb) run
Starting program: /usr/local/bin/kicad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
02:51:37: Debug: Checking template path '/usr/local/share/kicad/template' exists
02:51:37: Debug: Checking template path '/home/connor/kicad/template' exists
[New Thread 0x7fffe5732700 (LWP 24236)]
[New Thread 0x7fffe4f31700 (LWP 24237)]
[New Thread 0x7fffdffff700 (LWP 24238)]
02:51:37 AM: Debug: FileWatcherReset: add '/home/connor/Dropbox/Electronics/MATEmdp/Power_Stage/Prelim_Schema_For_review'

02:51:37 AM: Debug: FileWatcherReset: watched paths:
02:51:37 AM: Debug: /home/connor/Dropbox/Electronics/MATEmdp/Power_Stage/

02:51:37 AM: Debug: /home/connor/Dropbox/Electronics/MATEmdp/Power_Stage/Prelim_Schema_For_review/

LoadAllLibraries: lib_names:
 Power_Stage-cache

(kicad:24216): Gtk-CRITICAL **: 02:51:49.247: IA__gtk_tree_view_column_set_fixed_width: assertion 'fixed_width > 0' failed

(kicad:24216): Gtk-CRITICAL **: 02:51:49.247: IA__gtk_tree_view_column_set_fixed_width: assertion 'fixed_width > 0' failed

(kicad:24216): Gtk-CRITICAL **: 02:51:49.247: IA__gtk_tree_view_column_set_fixed_width: assertion 'fixed_width > 0' failed

Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007ffff66bb1e1 in wxString::compare(wxString const&) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
(gdb) backtrace
#0 0x00007ffff66bb1e1 in wxString::compare(wxString const&) const () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#1 0x00007fffdeef575d in wxString::Cmp(wxString const&) const (this=0x5555578b8660, s=...) at /usr/include/wx-3.0/wx/string.h:2111
#2 0x00007fffdeefdeeb in operator<(wxString const&, wxString const&) (s1=..., s2=...) at /usr/include/wx-3.0/wx/string.h:3994
#3 0x00007fffdef05b43 in std::less<wxString>::operator()(wxString const&, wxString const&) const (this=0x5555578eba28, __x=..., __y=...) at /usr/include/c++/7/bits/stl_function.h:386
#4 0x00007fffdef0a658 in std::_Rb_tree<wxString, std::pair<wxString const, wxString>, std::_Select1st<std::pair<wxString const, wxString> >, std::less<wxString>, std::allocator<std::pair<wxString const, wxString> > >::_M_lower_bound(std::_Rb_tree_node<s...

Read more...

Changed in kicad:
milestone: none → 5.1.0
status: New → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers