toporouter broken
Bug #846789 reported by
KaiMartin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA project |
New
|
Low
|
Unassigned | ||
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(>---
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.