httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32186] New: - Apache-worker is crashing when sending data through PHP Script
Date Thu, 11 Nov 2004 16:31:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32186>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32186

Apache-worker is crashing when sending data through PHP Script

           Summary: Apache-worker is crashing when sending data through PHP
                    Script
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: PC
               URL: http://www.oxyl.de
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: worker
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: stolle@web.de


Try this small script:

<?php
    error_log( "Hei" );
	$fh = fopen( "c:/temp/x3.iso", "rb" );
	
	while ( !feof($fh) )
		fpassthru( $fh );
?>

The File may be of a size a 20 MB or so. I used an iso-Image of something. But 
content doesn't matter.
If the file-Transfer is interrupted by the client (IE closed f.e.) the worker 
crashes.
Ich you eleminate the "while" everything is ok.

This is only a simplified Script. Everytime when sending data throug an php 
script, the worker crashes when connection is lost.

I'm using XP SP2, i tried the 3 config lines:

EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx 

No difference. Worker crashes.
[Thu Nov 11 17:17:02 2004] [notice] Parent: child process exited with status 
4294967295 -- Restarting.
[Thu Nov 11 17:17:03 2004] [notice] Parent: Created child process 4968
[Thu Nov 11 17:17:03 2004] [notice] Disabled use of AcceptEx() WinSock2 API
[Thu Nov 11 17:17:03 2004] [notice] Child 4968: Child process is running
[Thu Nov 11 17:17:03 2004] [notice] Child 4968: Acquired the start mutex.
[Thu Nov 11 17:17:03 2004] [notice] Child 4968: Starting 250 worker threads.
[Thu Nov 11 17:17:03 2004] [notice] Child 4968: Listening on port 8001.


We can't continue developing our php-Application (Alternativ User Interface 
for Multimedia Home-Devices), Subproject: Streaming Video-Content, if we can't 
fix this bug.

Help would be great.

sorry for my english ;)
Yours
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message