PCBnew: Adding dielectric layer causes pcbnew to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Critical
|
jean-pierre charras |
Bug Description
We're using the latest git version of kicad (complete version information follows).
When attempting to add a dielectric layer into the physical stack up, pcbnew crashes. This is a pity because our design requires two dielectric pre-preg layers to be beside each other.
This can be reproduced on a brand new design;
File -> Board Set Up -> Physical Stack Up
Then click on "Add Dielectric Layer". And then pcbnew segfaults.
===
Here's the backtrace:
Thread 1 "pcbnew" received signal SIGSEGV, Segmentation fault.
0x000055555cb6a7f0 in ?? ()
(gdb) bt
#0 0x000055555cb6a7f0 in ()
#1 0x00007ffff7d0b08d in wxWindowBase:
#2 0x00007ffff2686aa6 in PANEL_SETUP_
#3 0x00007ffff2682b0e in PANEL_SETUP_
at /usr/src/
#4 0x00007ffff77b689e in wxEvtHandler:
#5 0x00007ffff77b6c1b in wxEvtHandler:
#6 0x00007ffff77b6cb1 in wxEvtHandler:
#7 0x00007ffff77b6d64 in wxEvtHandler:
#8 0x00007ffff77b6e02 in wxEvtHandler:
#9 0x00007ffff77b6ba7 in wxEvtHandler:
#10 0x00007ffff7b95a19 in () at /usr/lib/
#11 0x00007ffff6626e75 in g_closure_invoke () at /usr/lib/
#12 0x00007ffff6613ab8 in () at /usr/lib/
#13 0x00007ffff66181ae in g_signal_
#14 0x00007ffff6619080 in g_signal_emit () at /usr/lib/
#15 0x00007ffff6b37895 in () at /usr/lib/
#16 0x00007ffff6626e75 in g_closure_invoke () at /usr/lib/
#17 0x00007ffff6614188 in () at /usr/lib/
#18 0x00007ffff66181ae in g_signal_
#19 0x00007ffff6619080 in g_signal_emit () at /usr/lib/
#20 0x00007ffff6b367ba in () at /usr/lib/
#21 0x00007ffff6bdf7cc in () at /usr/lib/
#22 0x00007ffff6626d72 in g_closure_invoke () at /usr/lib/
#23 0x00007ffff66137df in () at /usr/lib/
#24 0x00007ffff661776d in g_signal_
#25 0x00007ffff6619080 in g_signal_emit () at /usr/lib/
#26 0x00007ffff6cfa235 in () at /usr/lib/
#27 0x00007ffff6bdda0e in gtk_propagate_event () at /usr/lib/
#28 0x00007ffff6bdde43 in gtk_main_do_event () at /usr/lib/
#29 0x00007ffff6856d5e in () at /usr/lib/
#30 0x00007ffff65397bf in g_main_
#31 0x00007ffff653b739 in () at /usr/lib/
#32 0x00007ffff653c6d2 in g_main_loop_run () at /usr/lib/
#33 0x00007ffff6bdcdf3 in gtk_main () at /usr/lib/
#34 0x00007ffff7b371b6 in wxGUIEventLoop:
#35 0x00007ffff7683bae in wxEventLoopBase
#36 0x00007ffff7ba08f1 in wxDialog:
#37 0x00007ffff2733b44 in PCB_EDIT_
at /usr/src/
#38 0x00007ffff27fb5ea in PCB_EDITOR_
#39 0x00007ffff2805347 in std::__
@0x55555aa6
#40 0x00007ffff2805002 in std::__invoke<int (PCB_EDITOR_
@0x55555aa6
__args#1=...) at /usr/include/
#41 0x00007ffff28049f6 in std::_Bind<int (PCB_EDITOR_
#42 0x00007ffff28044b6 in std::_Bind<int (PCB_EDITOR_
#43 0x00007ffff280414c in std::_Function_
#44 0x00007ffff2f78a09 in std::function<int (TOOL_EVENT const&)
===
And here's the kicad version info:
Application: Pcbnew
Version: (5.99.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.1 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.1.1 libpsl/0.20.2 (+libidn2/2.1.1) libssh2/1.8.1 nghttp2/1.36.0
Platform: Linux 5.0.9-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
Build date: Nov 24 2019 17:59:07
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.1
Compiler: GCC 8.3.0 with C++ ABI 1013
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
KICAD_
KICAD_
KICAD_
Application: Pcbnew 416-gf7ded3040) , debug build compatible with 2.8)
Version: (5.99.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.39.2
Platform: Mac OS X (Darwin 19.0.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
Build date: Nov 24 2019 17:43:28
wxWidgets: 3.0.4 (wchar_t,STL containers,
Boost: 1.70.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.54.0
Compiler: Clang 11.0.0 with C++ ABI 1002
Build settings: SCRIPTING= OFF SCRIPTING_ MODULES= OFF SCRIPTING_ PYTHON3= OFF SCRIPTING_ WXPYTHON= OFF SCRIPTING_ WXPYTHON_ PHOENIX= OFF SCRIPTING_ ACTION_ MENU=OFF GITHUB_ PLUGIN= ON USE_OCE= ON USE_OCC= OFF STDLIB_ DEBUG=OFF STDLIB_ LIGHT_DEBUG= OFF SANITIZE= OFF
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
KICAD_
KICAD_
KICAD_