PHP 4.0 Bug #9227 Updated: php module crashes without content-type header.
| From: | sniper@php.net | Date: | Fri, 02 Mar 2001 03:23:03 +0000 |
| Subject: | PHP 4.0 Bug #9227 Updated: php module crashes without content-type header. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47756@lists.php.net to get a copy of this message | ||
ID: 9227
Updated by: sniper
Reported By: wmartino@webmachines.com
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:
Check this url for information how to generate a GDB backtrace:
http://bugs.php.net/bugs-generating-backtrace.php
(It has info what to do when you don't get any core dumps)
Also, remember that you have to configure PHP with --enable-debug
to get useful backtraces.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-12 10:49:37] wmartino@webmachines.com
I am running php 4.04pl1 compiled as an apache 1.3 module with support for curl, pgsql, and zlib.
It seems that the module crashes, causing httpd processes to seg fault when a POST request is made
without a content-type header. It seems that the crash only occurs after a normal POST with a
content-type header is followed by one without. To reproduce the crash, I simply make a POST
request to a php script that does pretty much nothing( usually just printing a statement indicating
that it ran ) with a browser(Netscape 4.6.2 or lynx-2.82.) and then run a program that I wrote that
sends a POST request w/o the Content-Type header. Sometimes this step must be done several times
until the same apache child process that I hit with the browser receives the bad request.
Eventually, after running this program for a while one apache child process dies for each hit I made
from the browser. This only occurs with php scripts and apache does not give me a core dump that i
can analyze to give you more info.
---------------------------------------------------------------------------
[2001-02-12 10:36:53] wmartino@webmachines.com
I am running php 4.04pl1 compiled as an apache 1.3 module with support for curl, pgsql, and zlib.
It seems that the module crashes, causing httpd processes to seg fault when a POST request is made
without a content-type header. To reproduce the crash, I simply make a POST request to a php script
that does pretty much nothing( usually just printing
a statement indicating that it ran ) with a browser(Netscape 4.6.2) and then run a program that I
wrote that sends a POST request w/o the Content-Type header. Sometimes this step must be done
several times until the same apache child process that you hit with the browser receives your
request. Eventually, after running this program for a while one apache child process dies for each
hit from the browser. This only occurse with php scripts and apache does not give me a core dump
that i can analyze to give you more info.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9227&edit=2