#35633 [Bgs]: gzdeflate function causes Apache Segmentation fault
ID: 35633
User updated by: krang at krang dot org dot uk
Reported By: krang at krang dot org dot uk
Status: Bogus
Bug Type: Zlib Related
Operating System: Red Hat 9
PHP Version: 4.4.1
New Comment:
Installed php4-STABLE-200512111736 (4.4.2RC2-dev), and I have upgraded
zlib to v1.2.3, but still doing a "Segmentation fault".
Previous Comments:
------------------------------------------------------------------------
[2005-12-11 20:05:25] iliaa@php.net
Cannot replicate in latest cvs.
------------------------------------------------------------------------
[2005-12-11 20:02:26] judas dot iscariote at gmail dot com
use:
http://snaps.php.net/php4-STABLE-latest.tar.bz2
------------------------------------------------------------------------
[2005-12-11 19:47:23] krang at krang dot org dot uk
I'm really sorry, I cant upgrade PHP that simply... The problem is
occurring on a production server with software which is not quite ready
for PHP 5.
------------------------------------------------------------------------
[2005-12-11 18:44:15] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-12-11 17:36:37] krang at krang dot org dot uk
Description:
------------
Sorry, I don't know much about the gzdeflate() function, but it appears
in one of the libraries I use (pclzip.lib.php) to create zip files.
When it gets executed, it always causes a "Segmentation fault" on
Apache 1.3.34 (not sure about other versions)
I have re-compiled PHP 4.4.1, and done "make test" with no problems.
This is my configure line:
./configure
--prefix=/opt/php
--with-apxs=/opt/apache/bin/apxs
--with-config-file-path=/etc/
--with-jpeg-dir=/usr/local/
--with-zlib
--with-gd
--with-mysql=/opt/mysql/
--with-openssl
--with-kerberos
Reproduce code:
---------------
<?php
gzdeflate('smeg');
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35633&edit=1
Thread (7 messages)