ID: 24301
Updated by: sniper@php.net
Reported By: hessu at hes dot iki dot fi
-Status: Open
+Status: Closed
Bug Type: Apache2 related
Operating System: linux 2.4.20
PHP Version: 4CVS-2003-06-23 (stable)
New Comment:
Fixed -> closed.
Previous Comments:
------------------------------------------------------------------------
[2004-03-09 08:01:49] hessu at hes dot iki dot fi
Thank you, php4-STABLE-200403091230 appears to fix this problem for me.
I re-tested by doing 'make install' with php-4.3.4, restarting apache,
verifying the crash, installing
php4-STABLE-200403091230, restarting, and verifying it does not crash.
I'm using the prefork MPM, apache 2.0.48, php configured with:
GCC=gcc CFLAGS="-O3 -march=pentium2" ./configure
--enable-memory-limit=yes --enable-debug=no --with-gd --with-zlib
--enable-sockets --with-openssl=/opt/openssl-0.9.7c
--with-apxs2=/opt/apache-2.0.48/bin/apxs --with-jpeg-dir=/usr
--with-png-dir=/usr --with-mcrypt --prefix=/opt/apache-2.0.48/php-4.3.4
--with-config-file-path=/opt/apache-2.0.48/php-4.3.4
--with-mysql=/opt/mysql-4.1.1 --with-curl
------------------------------------------------------------------------
[2004-03-09 07:25:20] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Also tell us what MPM you're using with Apache2.
------------------------------------------------------------------------
[2004-03-09 02:00:30] hessu at hes dot iki dot fi
The bug is still present in php 4.3.4 with apache 2.0.48, Linux 2.6.3.
The bug does not appear with apache 1.3.
------------------------------------------------------------------------
[2004-03-08 17:01:06] joseph at serengeti dot com
FreeBSD 4.9 Release
mod_php4-4.3.4_6
apache 2.0.48
fpassthrough and readfile both cause a segv intermittently with the
following file, there may be others this is the only one I tested with.
-rw-rw-rw- 1 builder wheel 1802240 Mar 1 16:13
BRTL_STE_4-5-0-7.exe
as you can see this is not 2^x file size but my symptoms are identical
and were fixed the same way
(by changing to fopen,fread,print)
I fixed readfile by changing
#define HAVE_MMAP to #undef HAVE_MMAP
in main/php_config.h
and rebuilding. That may or may not be usefull to you.
------------------------------------------------------------------------
[2003-06-30 05:51:54] sniper@php.net
Please give the requested feedback or let this report rot..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24301
--
Edit this bug report at http://bugs.php.net/?id=24301&edit=1