[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



On Wed, Jul 29, 2009 at 05:18:15PM -0400, Dan McMahill wrote:
> 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?

Haven't been able to look into this further yet, but with the latest git commit
(e6433aef0f18191a1ce512c5e8ccb79d7ece886f) the segfault is at least gone:

[...]
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
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
../src/pcb -x png --only-visible --format GIF --font-path ../src --outfile thermal.gif thermal.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
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
use_gc():  gdImageCreate(0, 0) returned NULL.  Aborting export.
[...]


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org


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