>>>>> "Kai-Martin" == Kai-Martin Knaak <kmk@xxxxxxxxxxxxxxx> writes:
> On Sun, 31 Dec 2006 00:37:33 +0100, David Kuehling wrote:
>> I even experienced some segfaults when I tried to move elements.
>>
>> Now after fixing the footprint everything seems to work quite right.
> Still, pcb should not segfault even if part of the footprint is off
> screen. It should issue a warning if coordinates are too large. Can
> you give a list of footprints that produce this bug?
This is a self-made BGA32 footprint. M4-processed footprint (snipset
from board.pcb) attached. Here is a GDB backtrace and some more
run-time info:
(gdb) bt
#0 CheckPinForRubberbandConnection (Pin=0x84a500c) at rubberband.c:348
#1 0x080a8048 in LookupRubberbandLines (Type=139087884, Ptr1=0xbf904258,
Ptr2=0xd505, Ptr3=0xffffffff) at rubberband.c:476
#2 0x08093ae8 in AttachForCopy (PlaceX=139087884, PlaceY=139087884)
at misc.c:1639
#3 0x08058284 in click_cb (hv={lval = 135095728, ptr = 0x80d65b0})
at action.c:603
#4 0x080b65f1 in ghid_timer (timer=0x84a500c) at hid/gtk/gtkhid-main.c:854
#5 0xb7a85c9c in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#6 0xb7a83582 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#7 0xb7a845f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#8 0xb7a84930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9 0xb7a84ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0xb7d38bb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x080c6369 in ghid_do_export (options=0x0) at hid/gtk/gui-top-window.c:3841
#12 0x08090553 in main (argc=2, argv=0xbf904ac4) at main.c:763
(gdb) print *Pin
Cannot access memory at address 0x84a500c
(gdb) frame 1
(gdb) print *(ElementTypePtr)Ptr1
$6 = {BoundingBox = {X1 = -1081064824, Y1 = -1211425303, X2 = 135682072,
Y2 = 135682072}, ID = 808, Flags = {f = 34785, t = "<garbage>", p = "*"}, Name = {
{BoundingBox = {X1 = -1213098232, Y1 = -1081064792, X2 = -1209065932,
Y2 = 135635792}, ID = -1211426112, Flags = {f = 17064, t = "<garbage>",
p = "<garbage>"}, Scale = 135635792, X = 137771832, Y = -1081063472,
Direction = 52 '4', TextString = 0x815ffc8 "X<garbage>",
Element = 0xbf9047d0}, {BoundingBox = {X1 = -1081064760,
Y1 = -1211693956, X2 = 137771832, Y2 = -1081064688}, ID = 135595712,
Flags = {f = 7732, t = "<garbage>", p = "P<garbage>"}, Scale = -1209065932,
X = -1081064712, Y = -1211433027, Direction = 80 'P',
TextString = 0x1 <Address 0x1 out of bounds>, Element = 0xb7cb1ac0}, {
BoundingBox = {X1 = -1081064688, Y1 = 1611673607, X2 = 1,
Y2 = 135595712}, ID = -1209065932, Flags = {f = 41808, t = "\025\b",
p = "<garbage>"}, Scale = -1081064664, X = -1211425932, Y = 135635792,
Direction = 192 'garbage,
TextString = 0xbf904310 "P<garbage filtered to make email client happy>"
MarkX = 135635792, MarkY = -1081063472, PinN = 4294967295,
PinMax = 3085901364, PadN = 135635792, PadMax = 3213903824,
LineN = 3213902664, LineMax = 3081201096, ArcN = 136452088,
ArcMax = 135384092, Pin = 0x811bab8, Pad = 0xb7b19708, Line = 0x1,
Arc = 0x82217f8, VBox = {X1 = -1081064056, Y1 = -1213206512, X2 = 135391744,
Y2 = 136452088}}
(gdb) frame 2
(gdb) print Crosshair
$7 = {GC = 0x816a228, AttachGC = 0x0, X = 1000, Y = 1000, MinX = 1081264333,
MinY = 1211706092, MaxX = -136972323, MaxY = -135169936, On = 0 '\0',
AttachedLine = {Point1 = {X = 0, Y = 0, X2 = 0, Y2 = 0, ID = 0}, Point2 = {
X = 0, Y = 0, X2 = 0, Y2 = 0, ID = 0}, State = 0, draw = 0 '\0'},
AttachedBox = {Point1 = {X = 370000, Y = 185000, X2 = 0, Y2 = 0, ID = 0},
Point2 = {X = 365000, Y = 180000, X2 = 0, Y2 = 0, ID = 0}, State = 0,
otherway = 0 '\0'}, AttachedPolygon = {BoundingBox = {X1 = 0, Y1 = 0,
X2 = 0, Y2 = 0}, ID = 0, Flags = {f = 0, t = "\000", p = "\000"},
PointN = 0, PointMax = 0, Points = 0x0}, AttachedObject = {X = 199509,
Y = 12136, BoundingBox = {X1 = 0, Y1 = 0, X2 = 0, Y2 = 0}, Type = 2,
State = 1, Ptr1 = 0xbf904258, Ptr2 = 0xbf9042c4, Ptr3 = 0xbf90432c,
RubberbandN = 0, RubberbandMax = 0, Rubberband = 0x0}}
regards,
David
--
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
Attachment:
bug_bga32.element
Description: Binary data
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user