PHP 4.0 Bug #6416 Updated: when run through CGI and Apache 1.2.4, any script will segfault/dump the core
| From: | sniper@php.net | Date: | Mon, 27 Nov 2000 10:27:37 +0000 |
| Subject: | PHP 4.0 Bug #6416 Updated: when run through CGI and Apache 1.2.4, any script will segfault/dump the core | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39209@lists.php.net to get a copy of this message | ||
ID: 6416
Updated by: sniper
Reported By: cristesc@igr.fr
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:
Is this still happening when using PHP4.0.3pl1 ?
Or latest snapshot from http://snaps.php.net?
If the apache really is 1.2.4 it might be good thing
to get that updated too..
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-08-29 11:45:06] cristesc@igr.fr
any script will do, including <?php echo 'Hello World' ?>. Everything runs ok from
the command line (no varibles provided). However, some (but not all) of the variables passed from
the CGI will cause it to bomb. From what we've toyed with, DOCUMENT_ROOT for example is ok, but
when HTTP_something is provided, you get a guaranteed crash.
./configure --prefix=/export/home1/www/php4 --with-mysql=/export/home1/www/mysql --enable-track-vars
--with-config-file-path=/export/home1/www/php4 --with-gd=/export/home1/www/gd
tested both with and w/o --enable-force-cgi-redirect
php.ini dubbed irrelevant
I don't have su rights on this remote machine and am not aware of its specificities. All I know
is that it's a Pentium class processor running Solaris 2.5.1 and an old Apache (if I remember
well is 1.2.4 or maybe 1.2.9) that I have no choice but get along with. A friend of mine
"truss"-ed execution of both a successful execution (when for example DOCUMENT_ROOT is the
only variable provided at launch) and a crash and noticed that at some point before even starting to
interpret the script (that's why any script will crash just the same), after opening some files
and doing some mmaps, it gets a SIG from the OS and dies in response dumping the core.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6416