Hi Anthony,
I also have problem running GD::Graph under ActivePerl 623 running under
both window 2000 and NT4,
Strangely it seems working if I run under perl debug mode.
With older perl everything just worked.
My guess is the problem comes from versions of Perl than from NT
PC Wang
-----Original Message-----
From: Anthony Dyson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 3:14 AM
To: [EMAIL PROTECTED]
Subject: Activeperl: trouble with GD and TTF support
We are experiencing a strange problem with GD, since updating our
machines to Windows 2000 and the newest available perl build and
module versions.
We have a script which produces a few hundred graph images using
GD::Graph, and a few hundred related images using GD directly. Under
our old ActivePerl 522 installation, this ran problem free. (Sorry, I
can't tell you what version of GD we were using. It would have been
the current PPD distribution for ActivePerl 522.)
What we are seeing now, is that after X graphs are produced, the
script dies. The problem seems to be related to truetype font support
in GD. If I use TTF fonts for everything, the script dies after
producing only about 20 images. If I use the built-in GD fonts for
axis labels and so on, and only use TTF for a single text annotation,
I get about 75% through the batch before it falls over. From the
experiments I've tried, there seems to be a certain fixed number of
times I can make use of TTF functions.
Strangely, the error the script dies with is not always directly TTF
related. Sometimes it occurs directly when I make a StringTTF call
("problem loading glyph" or some such thing). Other times it will fail
to open a scratch file. Things seem to be pointing towards a memory or
resource leak.
Has anybody else experienced similar difficulties? I am sorry I can't
be more specific, or provide a way to consistently reproduce the
problem. I'm working on that. (For me it is very consistent, but my
script requires access to my database.)
Our current system details:
Windows 2000 Advanced Server SP1, 384Mb RAM
ActivePerl build 623
GD 1.27.2
GDGraph 1.32
Thanks in advance,
Tony Dyson
--
=================================================================
Anthony Dyson
TMR AG
Zeughausplatz 11
CH-4410 Liestal
Switzerland
=================================================================
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl