Load this file: http://www.delorie.com/pcb/liquidtin/pb-power.pcb

The first time the board comes up, the big ground plane polygon isn't
shown.  If I zoom in, or double click where it should be, it shows up
again.  Note that zooming is only a temporary fix, and the polygon is
arbitrarily confused depending on zoom level and location.  Selecting
the poly fixes it permanently.  Same bug for lesstif and gtk.

Zooming in halfway and panning around fiddles with the confusion,
http://www.delorie.com/tmp/confused-polys.html, and eventually
segfaults:

#0  0x080a3d32 in M_POLYAREA_intersect (e=0xbff2b560, afst=0xa96ed58, 
bfst=0xa545090, 
    add=1) at polygon1.c:848
#1  0x080a5186 in poly_AndSubtract_free (ai=0xa96ed58, bi=0xa545090, 
aandb=0xbff2b6c8, 
    aminusb=0xbff2b6c4) at polygon1.c:1811
#2  0x080a0741 in r_NoHolesPolygonDicer (p=0xaad3c38, 
    emit=0x807ed10 <DrawPolygonLowLevel>) at polygon.c:1300
#3  0x080a08ec in NoHolesPolygonDicer (p=0xa069444, 
    emit=0x807ed10 <DrawPolygonLowLevel>, clip=0xbff2b9c0) at polygon.c:1358
#4  0x0807ef40 in poly_callback (b=0xa069444, cl=0xbff2b804) at draw.c:2012
#5  0x080ae704 in __r_search (node=dwarf2_read_address: Corrupted DWARF 
expression.
) at rtree.c:540
#6  0x080ae7ec in r_search (rtree=0xa0695b8, query=0x0, check_region=0, 
    found_rectangle=0x807eec0 <poly_callback>, cl=0xbff2b804) at rtree.c:626
#7  0x0807f2d9 in DrawLayerGroup (group=<value optimized out>, 
screen=0xbff2b9c0)
    at draw.c:854
#8  0x08080ad3 in hid_expose_callback (hid=0x8101620, region=0xbff2b9c0, 
item=0x0)
    at draw.c:443
#9  0x080c2836 in ghid_invalidate_all () at hid/gtk/gtkhid-main.c:521

[ gdb ] list
843         error (err_bad_parm);
844       do
845         {
846           do
847             {
848               if (a->contours->xmax >= b->contours->xmin &&
849                   a->contours->ymax >= b->contours->ymin &&
850                   a->contours->xmin <= b->contours->xmax &&
851                   a->contours->ymin <= b->contours->ymax)
852                 {

[ gdb ] p *a
$2 = {f = 0xa96ed58, b = 0xa96ed58, contours = 0xaad3c38}

[ gdb ] p *b
$3 = {f = 0xa545090, b = 0xa545090, contours = 0x0}


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to