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

Re: gEDA-user: PCB: sudden segfault problems



Op maandag 04-02-2008 om 13:03 uur [tijdzone -0500], schreef DJ Delorie:
> The way to tell what's happening is to run pcb under gdb:
> 
> $ gdb pcb
> ...
> (gdb) run myboard.pcb
> ...
> segfault
> (gdb) where
> ... lots of stack dump stuff ...

Ah, I think I see what I did wrong:

Program received signal SIGSEGV, Segmentation fault.
0x080a22b2 in M_POLYAREA_intersect (e=0xbf8f4ec0, afst=0x8576d58,
    bfst=0x85efa60, add=1) at polygon1.c:848
848               if (a->contours->xmax >= b->contours->xmin &&
(gdb)


Indeed, I found a polygon with two edges touching (although not
overlapping) itself. After fixing this, the problem appears to be
solved.

Thanks for the tip with regard to gdb :-)

Best regards,

Richard Rasker



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