php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16313 Error in CGI Application
Submitted: 2002-03-27 13:31 UTC Modified: 2002-06-28 03:00 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: preston dot bannister at cox dot net Assigned:
Status: Closed Package: IIS related
PHP Version: 4.1.2 OS: Windows 2000 Professional
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: preston dot bannister at cox dot net
New email:
PHP Version: OS:

 

 [2002-03-27 13:31 UTC] preston dot bannister at cox dot net
This may be related to #9852 though I can reproduce this problem with a very simple PHP page.

Left the BOUNCE page (attach to bug #9852) running in two browser windows making requests against a local server.  The first browser stopped with a CGI error at 37970 requests.  The second browser stopped at 59780 requests. 
The option "Show friendly error messages" was on in IE at the time.  The error text returned: 

-----------------------------------------------------------
<head><title>Error in CGI Application</title></head> 
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers.  The headers it did return are:<p><p><pre></pre> 
-----------------------------------------------------------

The error seems to re-occur every 10-40 thousand requests.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 13:32 UTC] preston dot bannister at cox dot net
If someone knows a good way to gather more information, let me know.
 [2002-06-02 16:13 UTC] k.schroeder@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in PHP.

Same problem as #9852.

Regards, Kai
 [2002-06-18 19:35 UTC] sniper@php.net
See #9852 for more information. And add your comments there..

 [2002-06-19 02:09 UTC] preston dot bannister at cox dot net
No, this is not "bogus".  Both bugs share (to some extent) the same symptom.  This does not mean they share the same cause.  

In #9852 the suspect cause is the use of a database connection.  In this case the (much less frequent?) problem does *not* involve a database connection. 

The literal error means that PHP (somehow) did not return the expected minimal information to the web server.  There could be a very large number of causes that could yield the reported symptom.

(Including some simple programming errors - as we have found :).

I did originally point out that they different reports *may* be related - as they *might* indeed be - but there is also a very good chance that we are seeing unrelated problems.
 [2002-06-28 03:00 UTC] derick@php.net
Closing in favor of the other bug (#9852). Add your new comments there.
 [2002-06-28 03:00 UTC] derick@php.net
Closing in favor of the other bug (#9852). Add your new comments there.
 [2003-03-17 07:56 UTC] lewid at nc dot rr dot com
This is NOT the same bug report as #9852, which clearly states the issue is "Header redirect and db connection cause "CGI misbehaved".

The apparent cause of this CGI error is that IIS cannot handle multiple calls to php.exe. 

This problem happens with pages that don't have any header redirects or db connection as well as those that do.

The bug report #9852 may contain the same problem reports but the bug title is too narrow in scope.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 08:01:29 2024 UTC