[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: DRC-GUI



On Thursday 02 April 2009 03:38:07 pm Peter Clifton wrote:
> Ok, if you have my repository checked out, it is the "better_drc_nogl"
> branch. (It was dead easy to make the graphic previews work in the non
> GL branch.).
>
> The GL version is now rebased on top of that, and the appropriate canges
> rolled into the rest of the GL updates, so you want the "before_pours"
> branch as usual.


Peter,

I checked out the latest from git and ran the Design Rule Checker many times.  
It keeps crashing PCB.  It did work once right after I turned off Thin Draw 
Poly but has crashed every time since.  After running it through gdb it looks 
like it is sending PolygonHoles() a null for the "range" value.

I've attached the debug.  Let me know if you want the layout.

-Mark
Program received signal SIGSEGV, Segmentation fault.
0x080a7d82 in PolygonHoles (polygon=0x86e57a0, range=0x0, callback=0x80cf630 <thindraw_hole_cb>, user_data=0x8d22df8)
    at polygon.c:1293
1293          if (pl->xmin > range->X2 || pl->xmax < range->X1 || pl->ymin > range->Y2 || pl->ymax < range->Y1)


(gdb) bt
#0  0x080a7d82 in PolygonHoles (polygon=0x86e57a0, range=0x0, callback=0x80cf630 <thindraw_hole_cb>, user_data=0x8d22df8)
    at polygon.c:1293
#1  0x080cf678 in common_thindraw_pcb_polygon (gc=0x8d22df8, poly=0x86e57a0, clip_box=0x0)
    at hid/common/draw_helpers.c:109
#2  0x080d35fa in ghid_thindraw_pcb_polygon (gc=0x8d22df8, poly=0x86e57a0, clip_box=0x0) at hid/gtk/gtkhid-main.c:986
#3  0x080834e2 in poly_callback (b=0x86e57a0, cl=0xbfde7954) at draw.c:2181
#4  0x080beced in __r_search (node=0x86e5a10, query=0x86e5a10, arg=0xbfde78ec) at rtree.c:539
#5  0x080bede3 in r_search (rtree=0x86e5a00, query=0x8c755b0, check_region=0, found_rectangle=0x8083380 <poly_callback>,
    cl=0xbfde7954) at rtree.c:632
#6  0x08083e35 in DrawLayerGroup (group=5, screen=0x0) at draw.c:970
#7  0x080860c3 in hid_expose_callback (hid=0x8122700, region=0x0, item=0x0) at draw.c:443
#8  0x080e4f0a in ghid_render_pixmap (cx=<value optimized out>, cy=<value optimized out>, zoom=111, width=90, height=90,
    depth=24) at hid/gtk/gui-render-pixmap.c:127
#9  0x080dc639 in ghid_violation_renderer_render (cell=0x847ee40, window=0x8603940, widget=0x839f670,
    background_area=0xbfde7c14, cell_area=0xbfde7c24, expose_area=0xbfde7c34, flags=0) at hid/gtk/gui-drc-window.c:768
#10 0xb7b7b290 in gtk_cell_renderer_render () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7d57c53 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0847ee40 in ?? ()
#13 0x08603940 in ?? ()
#14 0x0839f670 in ?? ()
#15 0xbfde7c14 in ?? ()
#16 0xbfde7c24 in ?? ()
#17 0xbfde7c34 in ?? ()
#18 0x00000000 in ?? ()

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user