[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PNG output broken in pcb from git.gpleda.org/pcb.git
Uwe Hermann wrote:
> On Wed, Jun 24, 2009 at 04:50:51AM +0000, Kai-Martin Knaak wrote:
>> On Wed, 24 Jun 2009 00:29:45 -0400, DJ Delorie wrote:
>>
>>> How big is your board?
>> 42 x 42 mm
>> pictures of the layout are in my blog: http://lilalaser.de/blog/?p=94
>>
>> I also get segfaults with this older layout:
>> http://bibo.iqo.uni-hannover.de/dokuwiki/doku.php?id=eigenbau:supply
>
> This is likely not related to any specific board. I get the same
> segfaults on Debian unstable (libgd is 2.0.36~rc1~dfsg-3), using the
> latest pcb git version. However, I already get the segfault during the
> build/installation of pcb:
>
> $ ./autogen.sh
> $ ./configure
> $ make
> [...]
> make[2]: Entering directory `/tmp/pcb/doc'
> gawk -f ./ascii2texi.awk ncol=3 fractional_size.tab > fractional_size.texi
> gawk -f ./ascii2texi.awk ncol=3 letter_size.tab > letter_size.texi
> gawk -f ./ascii2texi.awk ncol=3 metric_size.tab > metric_size.texi
> gawk -f ./ascii2texi.awk ncol=3 wire_size.tab > wire_size.texi
> ../src/pcb -x png --only-visible --format GIF --font-path ../src --outfile pad.gif pad.pcb
> Looking for default_font in ../src
> Found default_font in ../src
> ../src/pcb -x png --only-visible --format GIF --font-path ../src --outfile puller.gif puller.pcb
> Looking for default_font in ../src
> Found default_font in ../src
> gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
> make[2]: *** [puller.gif] Segmentation fault (core dumped)
> make[2]: *** Deleting file `puller.gif'
> make[2]: Leaving directory `/tmp/pcb/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/pcb'
> make: *** [all] Error 2
>
>
> HTH, Uwe.
fwiw I am not able to reproduce this on NetBSD with gd 2.0.34. Any
chance of running that in the debugger to see if a particular line in
png.c can be identified?
-Dan
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user