From:             imacat at mail dot imacat dot idv dot tw
Operating system: Debian GNU/Linux 4.0r0
PHP version:      5.2.4
PHP Bug Type:     GD related
Bug description:  make test Hangs on GD with System gd Library

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:

[EMAIL PROTECTED] ~ % 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
[EMAIL PROTECTED] ~ %

Reproduce code:
---------------
% ./configure --with-gd=/usr
% make
% make test

Expected result:
----------------
[EMAIL PROTECTED] src/php-5.2.4 % make test
....
Do you want to send this report now? [Yns]: n
[EMAIL PROTECTED] src/php-5.2.4 %


Actual result:
--------------
[EMAIL PROTECTED] 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]

[EMAIL PROTECTED] src/php-5.2.4 % uptime
 15:41:47 up 50 days,  4:15,  4 users,  load average: 4.28, 1.47, 0.55
[EMAIL PROTECTED] src/php-5.2.4 %

You can see that the server load is terrible before I hit control-C.

-- 
Edit bug report at http://bugs.php.net/?id=42573&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42573&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42573&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42573&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42573&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42573&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42573&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42573&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42573&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42573&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42573&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42573&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42573&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42573&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42573&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42573&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42573&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42573&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42573&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42573&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42573&r=mysqlcfg

Reply via email to