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

Re: gEDA-user: png hid segfaults when using --photo-mode --photo-flip-x if "solder" layer is not in "Solder side"



On Sun, Jun 12, 2011 at 10:32:10PM -0300, Adrian Pardini wrote:
> Hi all,
> 
> using pcb if I set the layer named "solder" to a group that is not in
> the "Solder side" it segfaults when exporting to png with the
> --photo-mode --photo-flip-x command line arguments. I traced it to
> using photo_copper[photo_groups[0]] in hid/png/png.c without checking
> for it being null.
> 
> Launchpad bug is 796389 , I attached a quick patch that fixes this
> behaviour but I don't know if it is the right approach to the problem.
>

I can confirm this in 20100929 (well, the gui stops working -- seems to
hang rather than segfault), but not in git HEAD. Can you check to see
if this has already been fixed in the latest source?


If you haven't before, you can get it via git:

git clone git://git.gpleda.org/pcb.git

and keep in sync by doing ``git pull'' periodically to bring
down the latest changes.
 

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



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