Comment 5 for bug 1518694

John Beard (john-j-beard) wrote :

Looking at the trace (export WXTRACE="PNS") from the PNS, there is a difference in what you see when "flipping" with a "free" head not on a pad, and on a pad.

The first two trace lines, are in my build only, at each end of LINE_PLACER::FlipPosture().

# Ending at pad

15:05:55: Trace: (PNS) Flipping direction: INIT_DIR north-east, DIR south-west
15:05:55: Trace: (PNS) Flipped direction: INIT_DIR east, DIR west
15:05:55: Trace: (PNS) solid, layer : 0, tl: 0
15:05:55: Trace: (PNS) solid, layer : 0
15:05:55: Trace: (PNS) NODE::delete 0x5624df24fa00
15:05:55: Trace: (PNS) INIT-DIR: east head: 1, tail: 1 segs
15:05:55: Trace: (PNS) Merge failed: not enough head segs.
15:05:55: Trace: (PNS) NODE::create 0x5624df24eb50
15:05:55: Trace: (PNS) NODE::branch 0x5624df24eb50 (parent 0x5624df0a22d0)
15:05:55: Trace: (PNS) 0 items, 0 joints, 0 overrides
15:05:55: Trace: (PNS) total segs removed: 0/1
15:05:55: Trace: (PNS) total segs removed: 0/1
15:05:55: Trace: (PNS) NODE::create 0x5624df24e2a0
15:05:55: Trace: (PNS) NODE::branch 0x5624df24e2a0 (parent 0x5624df24eb50)
15:05:55: Trace: (PNS) 0 items, 3 joints, 0 overrides
15:05:55: Trace: (PNS) NODE::delete 0x5624df24e2a0
15:05:55: Trace: (PNS) DisplayItem 0x5624dea88498

# No ending at pad

15:05:04: Trace: (PNS) Flipping direction: INIT_DIR west, DIR west
15:05:04: Trace: (PNS) Flipped direction: INIT_DIR north-west, DIR north-west
15:05:04: Trace: (PNS) NODE::delete 0x5624df09ee00
15:05:04: Trace: (PNS) INIT-DIR: north-west head: 2, tail: 0 segs
15:05:04: Trace: (PNS) Merge failed: not enough head segs.
15:05:04: Trace: (PNS) NODE::create 0x5624df09ee00
15:05:04: Trace: (PNS) NODE::branch 0x5624df09ee00 (parent 0x5624df244eb0)
15:05:04: Trace: (PNS) 0 items, 0 joints, 0 overrides
15:05:04: Trace: (PNS) NODE::create 0x5624df244cc0
15:05:04: Trace: (PNS) NODE::branch 0x5624df244cc0 (parent 0x5624df09ee00)
15:05:04: Trace: (PNS) 0 items, 0 joints, 0 overrides
15:05:04: Trace: (PNS) NODE::delete 0x5624df244cc0
15:05:04: Trace: (PNS) DisplayItem 0x5624dea88498

I assume the primary difference here is the difference between these two lines:

15:05:55: Trace: (PNS) INIT-DIR: east head: 1, tail: 1 segs
15:05:04: Trace: (PNS) INIT-DIR: north-west head: 2, tail: 0 segs