Segfault in edge_cost: e->mincost_target null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Trying to familiarise, I did a trivial autoroute using some fairly random rat lines between three 10 pin headers. Trying to route all resulted in it rejecting all the lines, claiming that it couldn't find the pins or they didn't overlap a pad. Trying to route selected on a rat line chained between the three connectors produced a segmentation fault in edge_cost:
Program terminated with signal 11, Segmentation fault.
#0 0x08066bb6 in edge_cost (e=0x8579098, too_big=0) at autoroute.c:1738
case NORTH:
if (e->mincost_
penalty += AutoRouteParame
break;
e-> mincost_target was null:
(xxgdb) print *e
$1 = {
rb = 0x857aa00,
cost_point = {
X = 111000,
Y = 279500
},
cost_to_point = 0,
cost = 0,
mincost_target = 0x0,
work = 0x0,
expand_dir = NORTH,
flags = {
expand_
is_via = 0,
via_
is_interior = 0,
via_search = 0
}
}
This is using the 20060202 version built from source, although I also had crashes in similar circumstances with the gEda source ISO, which uses an earlier version
Changed in geda-project: | |
importance: | Undecided → Critical |
Changed in pcb: | |
status: | New → Fix Committed |
milestone: | none → next-feature-release |
status: | Fix Committed → Fix Released |
milestone: | next-feature-release → none |
Oops. There is a typo in the version. The version is 200*8*0202.