pcb

toporouter broken

Bug #846789 reported by KaiMartin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pcb
Confirmed
Undecided
Unassigned

Bug Description

In current git-head the toporouter struggles indefinitely even for very simple boards.
To reproduce:

1) prepare a simple schematic: Two connected resistors are enough

2) save as foo.sch

3) pcb foo.pcb

4) import schematic --> The resistors appear in the middle of the canvas

5) execute the command "toporouter()"
pcb claims a whole core indefinitely with no results whatsoever.

---<)kaimartin(>---

Tags: toporouter
Changed in pcb:
status: New → Confirmed
Revision history for this message
Andrew Poelstra (asp11) wrote :

Hitting Ctrl+C in gdb after the lockup, and doing a backtrace, gives nested calls to swap_if_in_circle() roughly 10 000 deep. The offending line is gts/cdt.c:506.

Revision history for this message
Andrew Poelstra (asp11) wrote :

git bisect says I did it. Offending commit:

commit 97b3260ecf977dcaa959e51fbd39c6b0d7b414b7
Author: Andrew Poelstra <email address hidden>
Date: Fri Aug 5 23:39:37 2011 -0700

    *** CONVERT PCB'S BASE UNITS TO NANOMETERS ***

    Convert base units to nm, change Coord from int to long,
    change LARGE_VALUE from a magic number to (LONG_MAX / 2 - 1).

    Fixes-bug: lp-772027

tags: added: toporouter
Revision history for this message
DJ Delorie (djdelorie) wrote :

could someone attach a known-to-hang .pcb for this? And instructions about which layers need to be visible during toporouting?

Revision history for this message
Traumflug (mah-jump-ing) wrote :

Marking "Low", because the Toporouter is generally considered to be redundant (and abandoned).

Changed in geda-project:
importance: Undecided → Low
Revision history for this message
Bert Timmerman (bert-timmerman) wrote :

Hi,

I tries to reproduce this and it seems that a LMB-click on the drawingarea is required for pcb to regain focus and to get out of stasis.

Kind regards,

Bert Timmerman.

Revision history for this message
Bert Timmerman (bert-timmerman) wrote :

s/tries/tried/

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.