Bus/hierarchy bug, netlist broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
High
|
Jon Evans |
Bug Description
Hi, all.
I'm using nightlies and facing a weird bug with buses. I was wondering whether it can be related to recent bus upgrades.
I've got a bus:
ROW0, ROW1, ROW2, ROW3, ROW4, ROW5, ROW6, ROW7, which on the PCB layout becomes
ROW0, ROW0, ROW0, ROW0, ROW0, ROW0, ROW0, ROW7 ???
It seems to be semi-random and I've seen other combinations too.
I've managed to reduce the SCH to a minimal example (attached). Further changes to this seem to fix it somehow, so I couldn't reduce it anymore.
Note that one of the symbols is not on the official library so I've included a local library.
I've tried replacing that symbol for a standard header, but that seems to fix the problem, although I can't see anything wrong with the symbol itself.
I asked on the development mailing list and jp charras confirmed it:
> I confirm there is a serious issue shown by this sample: the netlist is broken.
> Moreover, when I try to add a bus name ("ROW[0..7]") to the bus, Eeschema crashes.
> Looks like the bug has something to do with hierarchical labels.
> I do not see issues with the schematic.
I agree it is a serious one too given it breaks the netlist. I've got a SCH which I can't layout because of this. It's not an important project and that is why I'm using nightlies, but now I can't open the layout on 5.x stable because the format changed :)
Many thanks!
Application: KiCad
Version: 6.0.0-unknown-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-157-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Jon Evans (craftyjon) |
importance: | Undecided → High |
tags: | added: eeschema |
Changed in kicad: | |
status: | New → Confirmed |
summary: |
- Weird bus/hierarchy bug + Bus/hierarchy bug, netlist broken |
Changed in kicad: | |
milestone: | none → 6.0.0-rc1 |
Fixed in revision ab766e6c1cba700 a8a6a506a9e0978 369351957a /git.launchpad. net/kicad/ patch/? id=ab766e6c1cba 700a8a6a506a9e0 978369351957a
https:/