Hierarchical bus crashes kicad and potentially breaks project when connected to a power symbol
Description
It was really hard to recreate this bug, but I think I have an exemplary project ready now. This happened to me when connecting the things together as in the setup in various ways. Its alternatively also possible to crash kicad by conecting the hierarchical pin in the top sheet to a bus. Renaming hierarchical sheets produced crashes for me too. But this seems to be the most reliable way. The entire project was created with the given Kicad version, no other version was used in this case.
Steps to reproduce
- Open attached project
- Go into hierarchical sheet "MCU_Periphery"
- Delete the net tie connected to USB.GND
- Use a wire to connect the nets instead
I get pretty reliable crashes. But it does not crash immedeatly sometimes.
KiCad Version
Application: KiCad x64 on x64
Version: 7.0.6, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
libcurl/7.88.1-DEV Schannel zlib/1.2.13
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jul 6 2023 04:56:45
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 40
Compiler: Visual C++ 1936 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by KiCad Bot