On 9/8/25 11:59 AM, Scott Talbert wrote:
On Mon, 8 Sep 2025, Steven A. Falco wrote:

I maintain the KiCad packages.  We have a new bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=2393850

Here is the gist of it:

Fatal Python error: _Py_CheckRecursiveCall: Unrecoverable stack overflow (used 
-406047 kB) while calling a Python object

I contacted the upstream KiCad devs and got a reply that the following code 
appears to be the cause:

import traceback
import sys

sys_version = sys.version
wx_version = ""
exception_output = ""

try:
   from wx import version
   wx_version = version()

   # Import wx modules that re-initialize wx globals, because they break 
wxPropertyGrid
   # (and probably some other stuff) if we let this happen after we already 
have started
   # mutating those globals.
   import wx.adv, wx.html, wx.richtext

except Exception as e:
   exception_output = "".join(traceback.format_exc())

I attached a backtrace for reference.  I'm not sure what to do with this.  I 
don't know if it is a python issue or a wxpython issue or something else 
entirely.

Please let me know if the error suggests anything.

Are you able to reproduce the issue outside of kicad using that snippet above?  
I cannot.

My hunch is that this might be a pybind11 issue.  It looks like kicad is 
bundling an older copy that may not support Python 3.14.

See: https://pybind11.readthedocs.io/en/stable/changelog.html

Scott

Thanks, Scott.  I couldn't reproduce it outside of KiCad either.  I've 
forwarded your notes to the upstream devs.

        Steve

--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to