[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: [pcb] global puller
On Sat, Nov 24, 2007 at 09:52:26PM -0500, DJ Delorie wrote:
>
> Ok, I added the global puller to pcb cvs. It works "mostly"
I was wondering what it was even supposed to do, so I tried it on
a fairly complex board...
> Sometimes it goes nuts
Oh hell yes!
> and you have to Ctrl-C pcb,
It managed to just crash PCB:
#0 maybe_pull_1 (line=0xf120c538) at puller.c:2478
2478 new_lextra->start.pin = start_extra->start.pin;
(gdb) bt
#0 maybe_pull_1 (line=0xf120c538) at puller.c:2478
#1 0x080a007b in GlobalPuller (argc=879736, argv=0x270d, x=897816, y=355756)
at puller.c:2663
#2 0x080be933 in lesstif_call_action (aname=0x9638a30 "GlobalPuller", argc=0,
argv=0x0) at hid/lesstif/menu.c:847
#3 0x080b3c57 in hid_parse_actions (rstr=0x9638820 "GlobalPuller()",
function=0x80be884 <lesstif_call_action>) at hid/common/actions.c:264
#4 0x080b6bb2 in command_callback (w=0x961b400, uptr=0x0, cbs=0xf120c538)
at hid/lesstif/main.c:663
#5 0x28338db9 in XtCallCallbackList () from /usr/X11R6/lib//libXt.so.6
#6 0x282000fc in Activate () from /usr/X11R6/lib//libXm.so.3
#7 0x28365ad2 in HandleActions () from /usr/X11R6/lib//libXt.so.6
#8 0x28365f53 in HandleSimpleState () from /usr/X11R6/lib//libXt.so.6
#9 0x28366491 in _XtTranslateEvent () from /usr/X11R6/lib//libXt.so.6
#10 0x28343dad in XtDispatchEventToWidget () from /usr/X11R6/lib//libXt.so.6
#11 0x28344741 in _XtDefaultDispatcher () from /usr/X11R6/lib//libXt.so.6
#12 0x2834498e in XtDispatchEvent () from /usr/X11R6/lib//libXt.so.6
#13 0x28344dc7 in XtAppMainLoop () from /usr/X11R6/lib//libXt.so.6
#14 0x080b9704 in lesstif_do_export (options=0x0) at hid/lesstif/main.c:1907
#15 0x080874f7 in main (argc=2, argv=0xbfbff524) at main.c:1006
(gdb) p start_extra
$1 = (Extra *) 0xf120c6a4
(gdb) p *$
Cannot access memory at address 0xf120c6a4
(gdb)
(gdb) p PCB->Data->Layer[3]
$2 = {Name = 0x8318c40 "component", LineN = 10001, TextN = 2, PolygonN = 2,
ArcN = 8216, LineMax = 20000, TextMax = 50, PolygonMax = 10, ArcMax = 9000,
Line = 0xa53e000, Text = 0x8595000, Polygon = 0x8596000, Arc = 0x97c4000,
line_tree = 0x8318c60, text_tree = 0x8584af0, polygon_tree = 0x8584b10,
arc_tree = 0x9638ab0, On = 1 '\001', Color = 0x80d5819 "#cd3700",
SelectedColor = 0x80d5598 "#00ffff"}
Hm, is it perhaps due to something that happened around LineN=10000?
So it was probably out of control anyway.
--
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user