#42573 [Opn->Bgs]: make test Hangs on GD with System gd Library
| From: | pajoye@php.net | Date: | Thu, 06 Sep 2007 08:36:32 +0000 |
| Subject: | #42573 [Opn->Bgs]: make test Hangs on GD with System gd Library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117206@lists.php.net to get a copy of this message | ||
ID: 42573
Updated by: pajoye@php.net
Reported By: imacat at mail dot imacat dot idv dot tw
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Debian GNU/Linux 4.0r0
PHP Version: 5.2.4
-Assigned To:
+Assigned To: pajoye
New Comment:
Debian Etch GD packages is the worst and unsecure package you can use.
Use the bundled version (strongly recommended), use the gd sources
release (2.0.35) or upgrade to the latest package version (unstable).
But it is nothing that we can fix > not a bug > bogus.
Previous Comments:
------------------------------------------------------------------------
[2007-09-06 08:25:41] imacat at mail dot imacat dot idv dot tw
Description:
------------
Hi. This is imacat from Taiwan. I have searched the bug database
and found no report on this issue yet. Please tell me if it is reported
before.
In the newly-released PHP 5.2.4, I cannot build the GD extension
with the system-provided GD library instead of the bundled GD library.
When testing Bug #19366 running "make test", it consumed up all my
memory and more, resulting the whole server hangs. This had never
happen before previous to 5.2.3. However, I need to use the system gd
library in order to prevent conflicting with my mod_perl (and maybe
future mod_python).
I saw that there are some fix in the bundling GD library. Maybe
this is the cause.
Is there any solution to this issue? Thank you very much in
advance.
My system is Debian GNU/Linux 4.0r0, Linux kernel 2.6.20.12, gcc
4.1.2, glibc 2.3.6, GD 2.0.33. Both my i686 and x86_64 hang. My system
GD library comes from the Debian package:
imacat@atlas ~ % dpkg -l | grep GD
ii libgd2-noxpm 2.0.33-5.2 GD
Graphics Library version 2 (without XPM s
ii libgd2-noxpm-dev 2.0.33-5.2 GD
Graphics Library version 2 (development v
imacat@atlas ~ %
Reproduce code:
---------------
% ./configure --with-gd=/usr
% make
% make test
Expected result:
----------------
imacat@atlas src/php-5.2.4 % make test
....
Do you want to send this report now? [Yns]: n
imacat@atlas src/php-5.2.4 %
Actual result:
--------------
imacat@atlas src/php-5.2.4 % make test
....
PASS imagecreatefrompng() and empty/missing file
[ext/gd/tests/001.phpt]
FAIL Bug #19366 (gdimagefill() function crashes (fixed in bundled
libgd)) [ext/gd/tests/bug19366.phpt]
imacat@atlas src/php-5.2.4 % uptime
15:41:47 up 50 days, 4:15, 4 users, load average: 4.28, 1.47, 0.55
imacat@atlas src/php-5.2.4 %
You can see that the server load is terrible before I hit control-C.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42573&edit=1