Has someone gotten a crash when attempting to remove an unused net in the net inspector of the board editor by using the trashcan button in the dialog box?
If I click trashcan on net 1, 2, 4 or 5 in the screenshot below I get a popup with a question whether I really want to delete the net even if it is in use, but if I want to delete the net 3 GND it highlights net 4 and then in a second or two KiCad crashes completely, all windows including project manager.
Upon restarting KiCad it doesn’t even remember which project I worked on last, and when I open the project again in Board Editor, the last change I did before trying to remove the net, which was changing the net of the mounting hole PEGND1 on the right from GND to Earth protective (#5) is undone.
I’m not sure if this is specific to my project because there is something wrong with it, but I wouldn’t like KiCad to crash just like that anyway…
After that I opened one of my own projects and KiCad also crashes when deleting a net.
So I consider this confirmed and worthy of a bug report on Gitlab.
Also, for the next time:
Make your screen shots smaller. Never make them of maximized windows. I have a pretty big monitor with the same resolution as yours, but on a web page the browser still has to fit around it. It’s rarely useful to make screenshots wider than around 1200 pixels.
Application: KiCad x86_64 on x86_64
Version: 6.99.0-unknown-7d1f25fbf1~164~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 2.6.4
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Linux Mint 20.3, 64 bit, Little endian, wxGTK, xfce, x11
Build Info:
Date: Jan 3 2023 21:39:21
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 38
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:
KICAD_USE_EGL=ON
KICAD_SPICE=ON
If I click yes on the question in the popup for net 1,2,4 and 5, it crashes too.
On 3 it crashes immediately because that net is not in use so it doesn’t ask.
I just didn’t try the other ones before, so I didn’t notice.
It doesn’t have to be my zipped project above either, I get the same if I open a random one (ecc83 v2) of the demo projects in /usr/share/kicad/demos and try to put any random net in the garbage can.
Gitlab issue #13377. Commit 20d7ffd5 by Seth Hillbrand about 13 minutes after the issue was entered in gitlab… Should be testable in tomorrows nightly build.