Pcbnew crashes on startup with assertion failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After updating to KiCad 5.0.1, Pcbnew crashes on startup with an assertion failed error:
ASSERT INFO:
../src/
BACKTRACE:
[1] wxClassInfo:
[2] dlopen
[3] _PyImport_
[4] _PyImport_
[5] PyImport_
[6] PyObject_Call
[7] PyEval_
[8] PyEval_EvalFrameEx
[9] PyEval_EvalCodeEx
[10] PyEval_EvalCode
[11] PyImport_
[12] PyImport_
[13] PyObject_Call
[14] PyEval_
[15] PyEval_EvalFrameEx
[16] PyEval_EvalCodeEx
[17] PyEval_EvalCode
[18] PyImport_
[19] PyImport_
[20] PyObject_Call
[21] PyObject_
[22] PyImport_Import
[23] PyImport_
[24] PyCObject_Import
[25] wxEvtHandler:
[26] wxEventHashTabl
[27] wxEvtHandler:
[28] wxEvtHandler:
[29] wxEvtHandler:
[30] wxWindowBase:
[31] wxWindowBase:
[32] wxEvtHandler:
[33] g_closure_invoke
[34] g_signal_
[35] g_signal_emit
[36] g_closure_invoke
[37] g_signal_
[38] g_signal_emit
[39] g_closure_invoke
[40] g_signal_
[41] g_signal_emit
[42] gtk_propagate_event
[43] gtk_main_do_event
[44] g_main_
[45] g_main_loop_run
[46] gtk_main
[47] wxGUIEventLoop:
[48] wxEventLoopBase
[49] wxAppConsoleBas
[50] wxEntry(int&, wchar_t**)
[51] __libc_start_main
[52] _start
Application: kicad
Version: 5.0.1+dfsg1-
Libraries:
wxWidgets 3.0.4
libcurl/7.52.1 OpenSSL/1.0.2l zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-7-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.62.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.52.1
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
I'm running Debian Stretch, installed KiCad via stretch-backports.
This is a bug with the Debain packaging. It is a direct result of building wxwidgets against gtk2 and wxpython against gtk3. This issues has been know for quite a while so I'm surprised they are still having issues. Unfortunately, the solution requires disable wxPython support.