#35221 [Opn->Fbk]: Warning: imagepstext(): libt1 returned error 11 & 14
| From: | sniper@php.net | Date: | Thu, 17 Nov 2005 16:59:05 +0000 |
| Subject: | #35221 [Opn->Fbk]: Warning: imagepstext(): libt1 returned error 11 & 14 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88425@lists.php.net to get a copy of this message | ||
ID: 35221
Updated by: sniper@php.net
Reported By: lcalvert at mn dot rr dot com
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: FreeBSD 4.5
PHP Version: 5CVS, 4CVS (2005-11-17) (snap)
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
(the pastebin url does not show any code)
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 17:04:07] lcalvert at mn dot rr dot com
Not using apache2
------------------------------------------------------------------------
[2005-11-17 09:23:20] sniper@php.net
One more thing: Are you using Apache2? And if so, which MPM?
------------------------------------------------------------------------
[2005-11-17 04:12:13] lcalvert at mn dot rr dot com
Upgraded to PHP Version 5.1.0RC5-dev
Warning: imagepstext() [function.imagepstext]: T1Lib Error: Font ID
Invalid in this Context in /usr/home/GuestBook/randomImage.php on line
35
Line 35
imagepstext($im, $rand, $font, 32, $text_color, $black, 12, 28);
Same problem after refreshing the script for about 20mins the above
error message would come up quite frequently.
------------------------------------------------------------------------
[2005-11-15 06:33:52] lcalvert at mn dot rr dot com
Memory usage on system after restarting apache goes down to 50% usage
after refreshing 100 times memory usage goes to 83% and errors start
happening.
------------------------------------------------------------------------
[2005-11-15 06:23:09] lcalvert at mn dot rr dot com
Description:
------------
After a day or so (100plus refreshes) of running this code the
following two errors come up quite often
Warning: imagepstext(): libt1 returned error 11
Warning: imagepstext(): libt1 returned error 14
Reproduce code:
---------------
http://pastebin.com/429956
Actual result:
--------------
After a day or so (100plus refreshes) of running this code the
following two errors come up quite often
Warning: imagepstext(): libt1 returned error 11
Warning: imagepstext(): libt1 returned error 14
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35221&edit=1