ID: 27856 Updated by: [EMAIL PROTECTED] Reported By: miracle at pisem dot net -Status: Open +Status: Bogus Bug Type: GD related Operating System: Linux (Slackware) PHP Version: 4.3.5 New Comment:
Use our bundled library, or make sure your GD library is linked to the same libpng as PHP is. Not a bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2004-04-03 21:44:03] miracle at pisem dot net Description: ------------ upgrade from php4.3.4 to php4.3.5 upgrade Zlib to 1.2.1 upgrade GD library from 2.0.15 to 2.0.22 no error when make and make install php ./configure' '--with-apxs=/mnt/webroot/bin/apxs' '--with-gnu-ld' '--with-pear' '--enable-sysvshm' '--enable-sysvsem' '--enable-sockets' '--enable-shmop' '--with-gd=/usr/local' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-mysql=/usr/local' '--with-zlib' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--with-iconv' '--with-mhash' '--with-mcrypt' '--with-mssql' '--with-ming' '--enable-memory-limit' '--enable-xslt' '--with-xslt-sablot' '--with-expat' '--enable-pcntl' Linux Slackware 8.1 (kernel 2.4.24) Apache version 1.3.29 GD Version instaled 2.0.22 Zlib version 1.2.1 Reproduce code: --------------- php code <? $bgname = $_SERVER['DOCUMENT_ROOT']."/pict/bg_count_".$color.".jpg"; $png = imagecreatefromjpng ($bgname); imagepng($png); ?> Expected result: ---------------- #tail error_log [Sun Apr 4 00:00:48 2004] [notice] child pid 30726 exit signal Segmentation fault (11) [Sun Apr 4 00:01:09 2004] [notice] child pid 30727 exit signal Segmentation fault (11) [Sun Apr 4 00:02:16 2004] [notice] child pid 30728 exit signal Segmentation fault (11) [Sun Apr 4 00:03:26 2004] [notice] child pid 30731 exit signal Segmentation fault (11) [Sun Apr 4 00:03:39 2004] [notice] child pid 30732 exit signal Segmentation fault (11) [Sun Apr 4 03:05:45 2004] [notice] child pid 12382 exit signal Illegal instruction (4) [Sun Apr 4 03:06:26 2004] [notice] child pid 12395 exit signal Illegal instruction (4) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27856&edit=1
