Just updated my system and now KiCAD coredumps whenever I try to open Schematic or PCB Editor. The other editors seem to work fine.
Output from console
Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow (used -909067 kB) while calling a Python object
Python runtime state: initialized
Current thread 0x00007f360bc57240 [kicad] (most recent call first):
Aborted (core dumped) kicad
Version info:
Application: KiCad x86_64 on x86_64
Version: 9.0.5-1.fc43, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.13.3
HarfBuzz 11.5.0
FontConfig 2.17.0
libcurl/8.15.0 OpenSSL/3.5.4 zlib/1.3.1.zlib-ng brotli/1.1.0 libidn2/2.3.8 libpsl/0.21.5 libssh/0.11.3/openssl/zlib nghttp2/1.66.0 OpenLDAP/2.6.10
Platform: Fedora Linux 43 (KDE Plasma Desktop Edition), 64 bit, Little endian, wxGTK, X11, KDE, wayland
Build Info:
Date: Oct 1 2025 00:00:00
wxWidgets: 3.2.8 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.9.1
Curl: 8.15.0
ngspice: 45.2
Compiler: GCC 15.2.1 with C++ ABI 1020
KICAD_IPC_API=ON
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
gkeeth
November 3, 2025, 6:28pm
2
This is an issue in Python 3.14 that breaks KiCad and some other applications. See Python 3.14 stack overflow detection is incompatible with C++ Boost make_fcontext() coroutines · Issue #139653 · python/cpython · GitHub for where the Python folks are discussing what to do about it.
2 Likes
The only options right now are to stay on Fedora 42 or use a flatpak containing an older python.
I am having the same issue. Has anyone tried a workaround. Maybe manually compiling an older version of python and messing with paths? If not I might try when I get some time.
Yeah, I can also confirm this with
marcel@fedora:~$ rpm -qa | grep kicad
kicad-9.0.5-1.fc43.x86_64
kicad-packages3d-9.0.5-1.fc43.noarch
kicad-doc-9.0.5-1.fc43.noarch
marcel@fedora:~$ kicad
Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow (used -2065711 kB) while calling a Python object
Python runtime state: initialized
Current thread 0x00007fbfc7b5a240 [kicad] (most recent call first):
<no Python frame>
Aborted (core dumped) kicad
BenPack
November 10, 2025, 6:10pm
6
On a new PC with Ryzen 7 CPU and Radon RX9060XT and fresh Fedora 43 standard installation with Gnome similar happens to me.
The same packages as Marcel_Hecko wrote.
Starting Schematic Editor :
bp@Fedora:~$ kicad
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on ‘_pixman_log_error’ to debug
Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow (used 1924924 kB) while calling a Python object
Python runtime state: initialized
Current thread 0x00007f5be7f71240 [kicad] (most recent call first):
Abgebrochen (Speicherabzug geschrieben) kicad
Starting PCB Editor:
bp@Fedora:~$ kicad
Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow (used 1944290 kB) while calling a Python object
Python runtime state: initialized
Current thread 0x00007f27a9fa2240 [kicad] (most recent call first):
Abgebrochen (Speicherabzug geschrieben) kicad
Footprint Editor crashes too, but not the Symbol Editor which can be used.