I don’t know how to open the KiCad 7.0 Command Prompt in ARM MacOS. On Windows there’s a shortcut to it in the Start Menu where the shortcuts to KiCad, PCB Editor, Schematic Editor and such are. I’m guessing there should be a similar collection of shortcuts somewhere on your system?
I have no idea unfortunately. What Linux distribution are you running? Is there a place somewhere where the installer placed shortcuts to KiCad, PCB Editor, Schematic Editor etc.? I was hoping that there would also be a shortcut to KiCad 7.0 Command Prompt in the same place.
On windows the KiCad 7.0 Command Prompt shortcut goes to “C:\Program Files\KiCad\7.0\bin\kicad-cmd.bat”. Maybe there’s a kicad-cmd.sh in your installation folder?
On linux there is no need for kicad command prompt because it uses system utils (unless you use flatpak install in which case it’s complicated). So just run the pip install command from your system terminal. Add --user to the end of it to avoid installing in system dirs and needing root.
On mac I think situation is the same, KiCad switched to using system python. Hopefully mac users can confirm.
Hi @albin, this is probably a KDE related problem (I use KUBUNTU 20.04). Actually pcbnew generates a “segmentation fault” when pugin Board2Pdf v1.1 is installed. While in XFCE (Linux Mint Xfce) this problem does not exist and the plugin works correctly.
In my opinion the problem is not related to the presence or absence of PyMuPDF.
I am using KiCad v7:
@albin unfortunately, I was unable to trace the cause of the malfunction. I can only say that I have 2 PCs with Kubuntu and on both of them the problem exists, while in the third PC with Mint Xfce the problem does not exist. That is why I think the problem arises from KDE (Plasma), but I could very well be wrong.
The effect is that launching PCBNEW with the Board2Pdf v1.1 plugin installed KiCad suddenly closes due to a segmentation fault. I will do some more testing but I don’t think I can solve it.
All other installed plugins do not generate this problem (I have several installed). I also tried to install Board2Pdf v1.1 manually without making use of PCM but the situation is the same, a “segmentation fault” is generated.
I think @tTom when he says “If i install Board2Pdf vis PCM an start KiCad PCB KiCad dissapears…” he has exactly the same problem I am experiencing. @tTom are you using KDE plasma?
Launch kicad from terminal and see if any errors are printed when kicad crashes.
You can also run it under debugger by launching it from terminal with gdb kicad and then type in run. When it crashes it will print some useful stuff.
Now you’ve got the same error as reported earlier today.
I don’t know why you’re getting “RuntimeError: invalid key in dict”. It works fine for me, but apparently something has changed in v7.0.1 which results in some people getting this error. In the issue linked above, René gets this error on Version: 7.0.1, release build on Windows 10. He also uses the latest version of Board2Pdf and the latest version of PyMuPDF (1.21.1).
I don’t understand why it works for me, but not for you…
I’ll test on some other machines as well to see if I manage to get this error.
Platform: Linux Mint 21.1, 64 bit, Little endian, wxGTK, cinnamon, x11
Build Info:
Date: Mar 11 2023 17:01:09
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.87.0
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON
I tried several ways to install pdfCropMargins. On the system terminal it seems to work, it was not installed as python system but on the KiCad user path were all other Plugins are. Also on the User-Python path. Once this seems to be successful with:
pip install PyMuPDF
then Kicad completely disappeared after starting PCBNEW.
So i think it is a problem with Cinnamon, as ciondo61 wrote.
KiCad 6 i tested for the first time and used Board2Pdf manually installed, really awsome tool for documentation. Many thanks dear albin. It took time to switch from windows to linux, and there is still a lot to learn for me. This year i started using Kicad and made several little boards.
Hope there is a way to get your wonderful plugin to work.
If i start KiCad at the terminal with installed Board2Pdf and starting PCBNEW:
stefano@stefanoDesktopLinux:~/.local/share/kicad/7.0/scripting/plugins$ gdb pcbnew
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 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 pcbnew...
(No debugging symbols found in pcbnew)
(gdb) run
Starting program: /usr/bin/pcbnew
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeb259700 (LWP 9209)]
[New Thread 0x7fffeaa58700 (LWP 9210)]
[New Thread 0x7fffea257700 (LWP 9211)]
[New Thread 0x7fffe9a56700 (LWP 9212)]
[Detaching after vfork from child process 9213]
[Detaching after vfork from child process 9215]
[Detaching after vfork from child process 9217]
[Detaching after vfork from child process 9219]
[Detaching after vfork from child process 9221]
[Detaching after vfork from child process 9223]
[Detaching after vfork from child process 9225]
[Detaching after vfork from child process 9227]
[Detaching after vfork from child process 9229]
[New Thread 0x7fffe9215700 (LWP 9231)]
[New Thread 0x7fffe8a14700 (LWP 9232)]
[New Thread 0x7fffe3fff700 (LWP 9233)]
[New Thread 0x7fffe128e700 (LWP 9234)]
Thread 1 "pcbnew" received signal SIGSEGV, Segmentation fault.
0x0000555557f9dff0 in ?? ()
(gdb) bt
#0 0x0000555557f9dff0 in ()
#1 0x00007fffeb4ebed3 in cmsSignalError () at /lib/x86_64-linux-gnu/liblcms2.so.2
#2 0x00007fffeb4f34da in cmsOpenIOhandlerFromMem () at /lib/x86_64-linux-gnu/liblcms2.so.2
#3 0x00007fffeb4f4d1a in cmsOpenProfileFromMemTHR () at /lib/x86_64-linux-gnu/liblcms2.so.2
#4 0x00007fffcec26e94 in fz_new_icc_profile () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#5 0x00007fffceb23eb3 in fz_new_icc_colorspace () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#6 0x00007fffceb24373 in fz_new_colorspace_context () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#7 0x00007fffceb26db2 in fz_new_context_imp () at /home/stefano/.local/lib/python3.8/site-packages/fitz/_fitz.cpython-38-x86_64-linux-gnu.so
#8 0x00007fffceb1c61e in PyInit__fitz () at fitz/fitz_wrap.c:34456
#9 0x00007ffff5c5f016 in _PyImport_LoadDynamicModuleWithSpec () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#10 0x00007ffff5c61085 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#11 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#12 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#13 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#14 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#15 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#16 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#17 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#18 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#19 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#20 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#21 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#22 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#23 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#24 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#25 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#26 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#27 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#28 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#29 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#30 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#31 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#32 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#33 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#34 0x00007ffff5c85fce in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#35 0x00007ffff5d60748 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#36 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#37 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#38 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#39 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#40 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#41 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--c
#42 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#43 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#44 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#45 0x00007ffff5b40e6a in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#46 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#47 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#48 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#49 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#50 0x00007ffff5c87c01 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#51 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#52 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#53 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#54 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#55 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#56 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#57 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#58 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#59 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#60 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#61 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#62 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#63 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#64 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#65 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#66 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#67 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#68 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#69 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#70 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#71 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#72 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#73 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#74 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#75 0x00007ffff5c87c01 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#76 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#77 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#78 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#79 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#80 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#81 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#82 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#83 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#84 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#85 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#86 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#87 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#88 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#89 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#90 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#91 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#92 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#93 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#94 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#95 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#96 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#97 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#98 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#99 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#100 0x00007ffff5c87c01 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#101 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#102 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#103 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#104 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#105 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#106 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#107 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#108 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#109 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#110 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#111 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#112 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#113 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#114 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#115 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#116 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#117 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#118 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#119 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#120 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#121 0x00007ffff5c85fce in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#122 0x00007ffff5d60748 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#123 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#124 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#125 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#126 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#127 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#128 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#129 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#130 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#131 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#132 0x00007ffff5b40e6a in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#133 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#134 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#135 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#136 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#137 0x00007ffff5c87c01 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#138 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#139 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#140 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#141 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#142 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#143 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#144 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#145 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#146 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#147 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#148 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#149 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#150 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#151 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#152 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#153 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#154 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#155 0x00007ffff5d610f8 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#156 0x00007ffff5d61350 in _PyObject_CallMethodIdObjArgs () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#157 0x00007ffff5b40c1e in PyImport_ImportModuleLevelObject () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#158 0x00007ffff5b34941 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#159 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#160 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#161 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#162 0x00007ffff5c87c01 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#163 0x00007ffff5d17547 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#164 0x00007ffff5d60840 in PyVectorcall_Call () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#165 0x00007ffff5b35f48 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#166 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#167 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#168 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#169 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#170 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#171 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#172 0x00007ffff5b2e018 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#173 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#174 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#175 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#176 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#177 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#178 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#179 0x00007ffff5b3806b in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#180 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#181 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#182 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#183 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#184 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#185 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#186 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#187 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#188 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#189 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#190 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#191 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#192 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#193 0x00007ffff5b2e46d in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#194 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#195 0x00007ffff5d60124 in _PyFunction_Vectorcall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#196 0x00007ffff5b2cd6d in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#197 0x00007ffff5b34ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#198 0x00007ffff5c82e4b in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#199 0x00007ffff5c831d2 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#200 0x00007ffff5c835bf in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#201 0x00007ffff5c4405c in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#202 0x00007ffff5c443a9 in PyRun_StringFlags () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#203 0x00007ffff0914e71 in () at /usr/bin/_pcbnew.kiface
#204 0x00007ffff091f4b8 in () at /usr/bin/_pcbnew.kiface
#205 0x00007ffff0910236 in () at /usr/bin/_pcbnew.kiface
#206 0x00007ffff09108f0 in () at /usr/bin/_pcbnew.kiface
#207 0x00007ffff0f8f8b0 in () at /usr/bin/_pcbnew.kiface
#208 0x00007ffff105d3a1 in make_fcontext () at /usr/bin/_pcbnew.kiface
#209 0x0000000000000000 in ()
(gdb) Quit
Undefined command: "Quit". Try "help".
(gdb) q
A debugging session is active.
Inferior 1 [process 9205] will be killed.
Quit anyway? (y or n) y
stefano@stefanoDesktopLinux:~/.local/share/kicad/7.0/scripting/plugins$