php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42573 make test Hangs on GD with System gd Library
Submitted: 2007-09-06 08:25 UTC Modified: 2007-09-06 08:36 UTC
From: imacat at mail dot imacat dot idv dot tw Assigned: pajoye (profile)
Status: Not a bug Package: GD related
PHP Version: 5.2.4 OS: Debian GNU/Linux 4.0r0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: imacat at mail dot imacat dot idv dot tw
New email:
PHP Version: OS:

 

 [2007-09-06 08:25 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-06 08:36 UTC] pajoye@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 22:01:31 2024 UTC