PCBnew: Incorrect Unrouted Net count

Bug #1787236 reported by Victor W
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Tomasz Wlostowski

Bug Description

After pouring grounds, the unrouted net count at the bottom of the screen is incorrect.

The attached image illustrates this; there is a floating island that is associated with the ground net, but isn't actually connected. Additionally, there is no rat line to indicate this, and there is Unrouted count at the bottom of the screen is zero, when it should be 1.

Expected:

1) A rat line connecting the two nets.
2) The Unrouted net count to be 1.

We are using the latest kicad from master.

===

Application: pcbnew
Version: (6.0.0-rc1-dev-313-g8db361882), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.60.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.0
Platform: Linux 4.17.4-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: GCC 8.1.1 with C++ ABI 1012

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Victor W (vicw) wrote :
Revision history for this message
Victor W (vicw) wrote :

Note: the rest of the trace that is marked floating simply connects to another GND pad.

Revision history for this message
Seth Hillbrand (sethh) wrote :

Please attach an example project

Revision history for this message
Victor W (vicw) wrote :
Revision history for this message
Victor W (vicw) wrote :

Thanks to Seth for helping make an example design.

Revision history for this message
Seth Hillbrand (sethh) wrote :

This issue allows for an incorrect board to be generated. Floating copper is not flagged by DRC.

Changed in kicad:
importance: Undecided → Critical
milestone: none → 5.0.1
status: New → Triaged
Revision history for this message
Seth Hillbrand (sethh) wrote :

git bisect says the issue was somewhere in the new connectivity work (compile errors prevent specific commit)

Revision history for this message
Seth Hillbrand (sethh) wrote :

@devs- I'm not having much luck here. I wonder if a second set of eyes could help?

It looks like the ratsnest is choosing a removed copper island for the MST. Then the island is removed, eliminating the unconnected net.

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Hi Seth, I'll have a look.

Tom

Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 6765ab6975f131cda092bc129e1e606be1fb09f5
https://git.launchpad.net/kicad/patch/?id=6765ab6975f131cda092bc129e1e606be1fb09f5

Changed in kicad:
status: Triaged → Fix Committed
Revision history for this message
Seth Hillbrand (sethh) wrote :

Nice, I was way off in my suspicions. Thanks for tracking that down.

Can we cherry pick this back to 5.0.1?

Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :

@Tom-

I cherry-picked this back to 5.0.1 as the bug affected the 5.0 release as well. Let me know if you see any issue with this.

-S

Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.